#include <GenTimer.h>
Public Types | |
typedef Time::IntervalType | IntervalType |
typedef Time::IntervalType | T |
Public Member Functions | |
GenTimeInterval (IntervalType i=0) | |
double | microseconds () const |
operator const IntervalType & () const | |
operator IntervalType & () | |
GenTimeInterval & | operator= (IntervalType i) |
double | seconds () const |
const IntervalType & | ticks () const |
Private Attributes | |
IntervalType | it |
a generic Time interval
Definition at line 11 of file GenTimer.h.
typedef Time::IntervalType GenTimeInterval< Time >::IntervalType |
Definition at line 13 of file GenTimer.h.
typedef Time::IntervalType GenTimeInterval< Time >::T |
Definition at line 14 of file GenTimer.h.
GenTimeInterval< Time >::GenTimeInterval | ( | IntervalType | i = 0 | ) | [inline] |
Definition at line 18 of file GenTimer.h.
double GenTimeInterval< Time >::microseconds | ( | ) | const [inline] |
Definition at line 36 of file GenTimer.h.
References GenTimeInterval< Time >::seconds().
{ return 1.e6*seconds();}
GenTimeInterval< Time >::operator const IntervalType & | ( | ) | const [inline] |
GenTimeInterval< Time >::operator IntervalType & | ( | ) | [inline] |
GenTimeInterval& GenTimeInterval< Time >::operator= | ( | IntervalType | i | ) | [inline] |
Definition at line 21 of file GenTimer.h.
References i, and GenTimeInterval< Time >::it.
double GenTimeInterval< Time >::seconds | ( | ) | const [inline] |
Definition at line 33 of file GenTimer.h.
References GenTimeInterval< Time >::it.
Referenced by TimeMe::lap(), GenTimeInterval< Time >::microseconds(), TimingReport::Item::realsec(), and TimingReport::Item::stop().
{ return Time::oneTick()*it; }
const IntervalType& GenTimeInterval< Time >::ticks | ( | ) | const [inline] |
IntervalType GenTimeInterval< Time >::it [private] |
Definition at line 39 of file GenTimer.h.
Referenced by GenTimeInterval< Time >::operator const IntervalType &(), GenTimeInterval< Time >::operator IntervalType &(), GenTimeInterval< Time >::operator=(), GenTimeInterval< Time >::seconds(), and GenTimeInterval< Time >::ticks().