28 static char THIS_FILE[] = __FILE__;
81 void setTimeStamp(
const long& lSeconds,
const long& lNanoSeconds);
94 static double TimespecToDouble(const ::timespec& LargeInt);
97 static ::timespec DoubleToTimespec(
double TimeS);
static double m_SecPerCount
Seconds per counts.
void setTimeStamp(const long &lSeconds, const long &lNanoSeconds)
void operator+=(double TimeS)
Increase the timestamp by TimeS seconds.
static double LargeIntToDouble(const LARGE_INTEGER &LargeInt)
Conversion timespec -> double.
double operator-(const TimeStamp &EarlierTime) const
Retrieves time difference in seconds.
LARGE_INTEGER m_TimeStamp
Internal time stamp data.
bool operator>(const TimeStamp &Time)
Checks if this time is after time "Time".
bool operator<(const TimeStamp &Time)
Checks if this time is before time "Time".
static double m_DwordSize
Size of a Dword field.
void SetNow()
Makes time measurement.
void operator-=(double TimeS)
Reduces the timestamp by TimeS seconds.
void getTimeStamp(long &lSeconds, long &lNanoSeconds)
static LARGE_INTEGER DoubleToLargeInt(double TimeS)
Conversion double -> LARGE_INTEGER.
virtual ~TimeStamp()
Destructor.