10 #ifndef _LOG4CPP_TIMESTAMP_HH 11 #define _LOG4CPP_TIMESTAMP_HH 31 TimeStamp(
unsigned int seconds,
unsigned int microSeconds = 0);
45 return _microSeconds / 1000;
73 #endif // _LOG4CPP_TIMESTAMP_HH
static const TimeStamp & getStartTime()
Returns a TimeStamp representing the time at which the application started.
A simple TimeStamp abstraction.
int getMicroSeconds() const
Returns the subsecond part of the TimeStamp in microseconds.
static TimeStamp _startStamp
int getSeconds() const
Returns the 'seconds' part of the TimeStamp.
int getMilliSeconds() const
Returns the 'subseconds' part of the TimeStamp in milliseconds, getMilliSeconds() == getMicroSeconds(...