![]() |
SuperTinyKernel™ RTOS 1.06.0
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 Ticks | GetTimeUs () |
| Get elapsed time in microseconds. | |
High-resolution clock for high-precision measurements.
Definition at line 437 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 455 of file stk_arch.h.
References GetCycles(), GetFrequency(), and STK_ASSERT.
Referenced by stk_hires_time_us().