Description
Gets current 64-bit CPU timestamp.
Files
cpu_core.h/cpu_core.c
Prototype
Arguments
None.
Returned Value
None.
Required Configuration
Available only if CPU_CFG_TS_64_EN
is DEF_ENABLED
in cpu_cfg.h
. See Timestamps Configuration.
Notes / Warnings
- The amount of time measured by CPU timestamps is calculated by either of the following equations:
Time measured = Number timer counts * Timer period
| Number of timer counts measured |
| Timer’s period in some units of (fractional) seconds |
| Amount of time measured, in same units of (fractional) seconds as the Timer period |
Time measured = Number timer counts / Timer frequency
| Number of timer counts measured |
| Timer’s frequency in some units of counts per second |
| Amount of time measured, in seconds |