System time source used to provide the scoped_timer. More...
Public Types | |
typedef long long | stamp_type |
typedef double | value_type |
Static Public Member Functions | |
static stamp_type | get_time_stamp () |
Get the a stamp according to the time when calling this function ("now"). | |
static value_type | get_time_value_us (stamp_type begin, stamp_type end) |
Calculate the duration between the given time stamps [begin, end] in microseconds. |
System time source used to provide the scoped_timer.
Definition at line 106 of file scoped_timer.hpp.
typedef long long arbb::system_time_source::stamp_type |
Definition at line 108 of file scoped_timer.hpp.
typedef double arbb::system_time_source::value_type |
Definition at line 109 of file scoped_timer.hpp.
static stamp_type arbb::system_time_source::get_time_stamp | ( | ) | [static] |
Get the a stamp according to the time when calling this function ("now").
static value_type arbb::system_time_source::get_time_value_us | ( | stamp_type | begin, | |
stamp_type | end | |||
) | [static] |
Calculate the duration between the given time stamps [begin, end] in microseconds.
The result is carefully calculated and returned in double precision.
Copyright © 2010, Intel Corporation. All rights reserved.