Changeset c93e805 in mainline for generic/include/cpu.h


Ignore:
Timestamp:
2006-05-28T11:29:23Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
74fbedb
Parents:
6212095
Message:

Add missed_clock_ticks to CPU structure so that clock() can detect missed timer interrupts.
Architectures are required to support this in order to make time keeping accurate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/cpu.h

    r6212095 rc93e805  
    6262        link_t timeout_active_head;
    6363
     64        count_t missed_clock_ticks;     /**< When system clock loses a tick, it is recorded here
     65                                             so that clock() can react. This variable is
     66                                             CPU-local and can be only accessed when interrupts
     67                                             are disabled. */
     68
    6469        /**
    6570         * Processor ID assigned by kernel.
Note: See TracChangeset for help on using the changeset viewer.