#include <lib/utils/include/stopwatch.h>
Data Fields | |
| struct rusage | rsg [1] | 
| uint64_t | started_usec | 
| uint64_t | elapsed_usec | 
| bool | is_running | 
This structure defines very basic stopwatch-like timer based on the rusage structure. 
Definition at line 55 of file stopwatch.h.
struct rusage struct_stopwatch_t::rsg[1] [read]           | 
        
An rusage structure. 
Definition at line 59 of file stopwatch.h.
| uint64_t struct_stopwatch_t::started_usec | 
The time (in microseconds) when the stopwatch started.
Definition at line 63 of file stopwatch.h.
| uint64_t struct_stopwatch_t::elapsed_usec | 
The elapsed time accumulated (in microseconds).
Definition at line 67 of file stopwatch.h.
true iif the stopwatch is currently running. 
Definition at line 71 of file stopwatch.h.