Skip to main content

Module time

Module time 

Source
Expand description

Safe wrappers for PSP high-resolution time functions.

This provides access to a raw, monotonic hardware clock, which is useful for performance measurements. This time is distinct from the mission time provided by CFE_TIME.

Structs§

Timebase
A 64-bit timestamp from a high-resolution, monotonic hardware clock.

Functions§

get_time
Reads the monotonic platform clock and normalizes it to an OsTime value.
get_timebase
Reads the raw, monotonic platform clock without normalization.
get_timer_low32_rollover
Returns the value at which the lower 32 bits of the timebase clock roll over.
get_timer_ticks_per_second
Returns the resolution of the timebase clock in ticks per second.