Turi Create
4.0
|
#include <core/system/platform/timer/timer.hpp>
Public Member Functions | |
rdtsc_time () | |
double | ms () const |
Very rudimentary timer class which allows tracking of fine grained time with extremely low overhead using the RDTSC instruction. Basic usage:
Also see rdtsc and estimate_ticks_per_second
|
inline |
Constructs an rdtsc_time object and begin tracking the time.
|
inline |
Returns the number of milliseconds passed since the rdtsc_time object was constructed.