Changeset 101 for trunk/kernel/kern/core.h
- Timestamp:
- Jun 29, 2017, 4:44:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/core.h
r68 r101 100 100 101 101 /*************************************************************************************** 102 * This function returns the current date (cycles) from both 103 * the hardware 32 bits cycles counter and the core descriptor cycles counter, 104 * taking into account the 32 bits hardware register overflow. 105 * The core descriptor time is updated. 106 *************************************************************************************** 107 * @ core : pointer on core descriptor. 108 * @ returns the number of cycles. 109 **************************************************************************************/ 110 inline uint64_t core_get_cycles( core_t * core ); 111 112 /*************************************************************************************** 113 * This function returns the current date (seconds & micro-seconds) from both 114 * the hardware 32 bits cycles counter and the core descriptor cycles counter, 115 * taking into account the 32 bits hardware register overflow. 116 * The core descriptor time is updated. 102 * This function returns the current date (seconds & micro-seconds) from 103 * the 64 bits calling core cycles counter. 117 104 *************************************************************************************** 118 105 * @ core : pointer on core descriptor.
Note: See TracChangeset
for help on using the changeset viewer.