Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
PLMD::Stopwatch::Time Class Reference

Class to hold the value of absolute time. More...

Public Member Functions

 Time ()
 
Time operator- (const Time &) const
 
const Timeoperator+= (const Time &)
 
 operator double () const
 
void reset ()
 

Static Public Member Functions

static Time get ()
 

Public Attributes

unsigned long sec
 
unsigned nsec
 I store nanosecond so as to allow high resolution clocks (even if likely time will be measured in microseconds) More...
 

Detailed Description

Class to hold the value of absolute time.

Constructor & Destructor Documentation

PLMD::Stopwatch::Time::Time ( )

Member Function Documentation

Stopwatch::Time PLMD::Stopwatch::Time::get ( )
static
PLMD::Stopwatch::Time::operator double ( ) const
const Stopwatch::Time & PLMD::Stopwatch::Time::operator+= ( const Time t2)
Stopwatch::Time PLMD::Stopwatch::Time::operator- ( const Time t2) const
void PLMD::Stopwatch::Time::reset ( )

Member Data Documentation

unsigned PLMD::Stopwatch::Time::nsec

I store nanosecond so as to allow high resolution clocks (even if likely time will be measured in microseconds)

unsigned long PLMD::Stopwatch::Time::sec

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