![]() |
SuperTinyKernel™ RTOS 1.06.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
High-resolution clock for high-precision measurements. More...
#include <stk_arch.h>
Static Public Member Functions | |
| static Cycles | GetCycles () |
| Get number of clock cycles elapsed. | |
| static uint32_t | GetFrequency () |
| Get clock frequency. | |
| static __stk_forceinline Ticks | GetTimeUs () |
| Get elapsed time in microseconds. | |
High-resolution clock for high-precision measurements.
Definition at line 479 of file stk_arch.h.
|
static |
Get number of clock cycles elapsed.
Referenced by GetTimeUs(), and stk_hires_cycles().
|
static |
Get clock frequency.
Referenced by GetTimeUs(), and stk_hires_frequency().
|
inlinestatic |
Get elapsed time in microseconds.
Definition at line 497 of file stk_arch.h.
References __stk_forceinline, GetCycles(), and GetFrequency().
Referenced by stk_hires_time_us().