High-resolution, low-cost timing routines. More...
Go to the source code of this file.
Macros | |
#define | ARCH_CLK_TCK 100 |
Macro that defines the clocks per second. More... | |
Functions | |
uint64_t | ArchGetTickTime () |
Return the current time in system-dependent units. More... | |
ARCH_API int64_t | ArchTicksToNanoseconds (uint64_t nTicks) |
Convert a duration measured in "ticks", as returned by ArchGetTickTime() , to nanoseconds. More... | |
ARCH_API double | ArchTicksToSeconds (uint64_t nTicks) |
Convert a duration measured in "ticks", as returned by ArchGetTickTime() , to seconds. More... | |
ARCH_API uint64_t | ArchSecondsToTicks (double seconds) |
Convert a duration in seconds to "ticks", as returned by ArchGetTickTime() . More... | |
ARCH_API double | ArchGetNanosecondsPerTick () |
Get nanoseconds per tick. More... | |
High-resolution, low-cost timing routines.
Definition in file timing.h.