#include <TimeStamp.hh>
Collaboration diagram for log4cpp::TimeStamp:
Public Methods | |
TimeStamp () | |
Constructs a TimeStamp representing 'now'. More... | |
TimeStamp (unsigned int seconds, unsigned int microSeconds=0) | |
Constructs a TimeStamp representing the given offset since the epoch ( 00:00:00 1970/1/1 UTC). More... | |
int | getSeconds () const |
Returns the 'seconds' part of the TimeStamp. More... | |
int | getMilliSeconds () const |
Returns the 'subseconds' part of the TimeStamp in milliseconds, getMilliSeconds() == getMicroSeconds() / 1000. More... | |
int | getMicroSeconds () const |
Returns the subsecond part of the TimeStamp in microseconds. More... | |
Static Public Methods | |
const TimeStamp & | getStartTime () |
Returns a TimeStamp representing the time at which the application started. More... | |
Protected Attributes | |
int | _seconds |
int | _microSeconds |
Static Protected Attributes | |
TimeStamp | _startStamp |
|
Constructs a TimeStamp representing 'now'.
|
|
Constructs a TimeStamp representing the given offset since the epoch ( 00:00:00 1970/1/1 UTC).
|
|
Returns the subsecond part of the TimeStamp in microseconds. The actual precision of this value depends on the platform and may be in the order of milliseconds rather than microseconds. |
|
Returns the 'subseconds' part of the TimeStamp in milliseconds, getMilliSeconds() == getMicroSeconds() / 1000.
|
|
Returns the 'seconds' part of the TimeStamp.
|
|
Returns a TimeStamp representing the time at which the application started.
|
|
|
|
|
|
|