|
RTEMS CPU Kit with SuperCore
4.11.3
|
Timecounter API. More...


Go to the source code of this file.
Macros | |
| #define | _Timecounter_Acquire(lock_context) _ISR_lock_ISR_disable_and_acquire( &_Timecounter_Lock, lock_context ) |
| Lock to protect the timecounter mechanic. More... | |
Functions | |
| void | _Timecounter_Bintime (struct bintime *bt) |
| Returns the wall clock time in the bintime format. More... | |
| void | _Timecounter_Nanotime (struct timespec *ts) |
| Returns the wall clock time in the timespec format. More... | |
| void | _Timecounter_Microtime (struct timeval *tv) |
| Returns the wall clock time in the timeval format. More... | |
| void | _Timecounter_Binuptime (struct bintime *bt) |
| Returns the uptime in the bintime format. More... | |
| void | _Timecounter_Nanouptime (struct timespec *ts) |
| Returns the uptime in the timespec format. More... | |
| void | _Timecounter_Microuptime (struct timeval *tv) |
| Returns the uptime in the timeval format. More... | |
| void | _Timecounter_Getbintime (struct bintime *bt) |
| Returns the wall clock time in the bintime format. More... | |
| void | _Timecounter_Getnanotime (struct timespec *ts) |
| Returns the wall clock time in the timespec format. More... | |
| void | _Timecounter_Getmicrotime (struct timeval *tv) |
| Returns the wall clock time in the timeval format. More... | |
| void | _Timecounter_Getbinuptime (struct bintime *bt) |
| Returns the uptime in the bintime format. More... | |
| void | _Timecounter_Getnanouptime (struct timespec *ts) |
| Returns the uptime in the timespec format. More... | |
| void | _Timecounter_Getmicrouptime (struct timeval *tv) |
| Returns the uptime in the timeval format. More... | |
| void | _Timecounter_Install (struct timecounter *tc) |
| Installs the timecounter. More... | |
| void | _Timecounter_Tick (void) |
| Performs a timecounter tick. | |
| void | _Timecounter_Tick_simple (uint32_t delta, uint32_t offset, ISR_lock_Context *lock_context) |
| Performs a simple timecounter tick. More... | |
Variables | |
| volatile time_t | _Timecounter_Time_second |
| The wall clock time in seconds. | |
| volatile time_t | _Timecounter_Time_uptime |
| The uptime in seconds. More... | |
| struct timecounter * | _Timecounter |
| The current timecounter. | |
Timecounter API.
1.8.13