Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Absolute timestamp. More...
#include <tick_count.h>
Classes | |
class | interval_t |
Relative time interval. More... | |
Public Member Functions | |
tick_count () | |
Construct an absolute timestamp initialized to zero. More... | |
Static Public Member Functions | |
static tick_count | now () |
Return current time. More... | |
static double | resolution () |
Return the resolution of the clock in seconds per tick. More... | |
Private Attributes | |
long long | my_count |
Friends | |
interval_t | operator- (const tick_count &t1, const tick_count &t0) |
Subtract two timestamps to get the time interval between. More... | |
Absolute timestamp.
Definition at line 34 of file tick_count.h.
|
inline |
|
inlinestatic |
Return current time.
Definition at line 101 of file tick_count.h.
References __TBB_ASSERT_EX, and my_count.
Referenced by tbb::internal::thread_sleep_v3().
|
inlinestatic |
Return the resolution of the clock in seconds per tick.
Definition at line 95 of file tick_count.h.
References tbb::tick_count::interval_t::ticks_per_second().
Referenced by tbb::tick_count::interval_t::seconds().
|
friend |
Subtract two timestamps to get the time interval between.
Definition at line 126 of file tick_count.h.
|
private |
Definition at line 98 of file tick_count.h.
Referenced by now(), and tbb::operator-().