arbb::system_time_source Class Reference

System time source used to provide the scoped_timer. More...

List of all members.

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.

Detailed Description

System time source used to provide the scoped_timer.

Definition at line 106 of file scoped_timer.hpp.


Member Typedef Documentation

Definition at line 108 of file scoped_timer.hpp.

Definition at line 109 of file scoped_timer.hpp.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.