Class to hold the value of absolute time. More...
Public Member Functions | |
| Time () | |
| Time | operator- (const Time &) const |
| const Time & | operator+= (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... | |
Class to hold the value of absolute time.
| PLMD::Stopwatch::Time::Time | ( | ) |
|
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 | ( | ) |
| 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 |
Hosted by GitHub
|
1.8.7
|