#include <TimeStamp.hh>
A simple TimeStamp abstraction
Definition at line 20 of file TimeStamp.hh.
log4cpp::TimeStamp::TimeStamp |
( |
| ) |
|
log4cpp::TimeStamp::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).
Definition at line 47 of file TimeStamp.cpp.
int log4cpp::TimeStamp::getMicroSeconds |
( |
| ) |
const |
|
inline |
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.
Definition at line 53 of file TimeStamp.hh.
int log4cpp::TimeStamp::getMilliSeconds |
( |
| ) |
const |
|
inline |
int log4cpp::TimeStamp::getSeconds |
( |
| ) |
const |
|
inline |
static const TimeStamp& log4cpp::TimeStamp::getStartTime |
( |
| ) |
|
|
inlinestatic |
Returns a TimeStamp representing the time at which the application started.
Definition at line 61 of file TimeStamp.hh.
int log4cpp::TimeStamp::_microSeconds |
|
protected |
int log4cpp::TimeStamp::_seconds |
|
protected |
The documentation for this class was generated from the following files:
log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sun Jun 23 2019 19:10:00