![]() |
ROOT-Sim core
3.0.0-rc.2
A General-Purpose Multi-threaded Parallel/Distributed Simulation Library
|
Timers. More...


Go to the source code of this file.
Typedefs | |
| typedef uint_fast64_t | timer_uint |
Functions | |
| static timer_uint | timer_new (void) |
| Get a new starting point for an time interval measure. More... | |
| static timer_uint | timer_value (timer_uint start) |
| Compute a time interval measure using a previous timer_uint value. More... | |
| static timer_uint | timer_hr_new (void) |
| Start a high resolution, CPU dependent time interval measure. More... | |
| static timer_uint | timer_hr_value (timer_uint start) |
| Compute a time interval measure using a previous timer_uint value. More... | |
Timers.
This header defines the timers which the simulator uses to monitor its internal behaviour
| typedef uint_fast64_t timer_uint |
The type used to store results of timer related calls
|
inlinestatic |
Start a high resolution, CPU dependent time interval measure.
The returned value can be used in conjunction with timer_hr_value() to measure a time interval with unspecified resolution
|
inlinestatic |
Compute a time interval measure using a previous timer_uint value.
| start | a timer_uint value obtained from a previous timer_hr_new() call |
|
inlinestatic |
Get a new starting point for an time interval measure.
The returned value can be used in conjunction with timer_value() to measure a time interval with microsecond resolution
|
inlinestatic |
Compute a time interval measure using a previous timer_uint value.
| start | a timer_uint value obtained from a previous timer_new() call |