Stride Reference Manual
- generated for commit 9643b11
|
Provides wall-clock time stamp using the time call. More...
#include <TimeStamp.h>
Public Member Functions | |
TimeStamp () | |
Constructor marks the current time for the time stamp. More... | |
std::string | ToString () const |
Returns string with the time stamp after eliminating newline. More... | |
std::string | ToTag () const |
Returns string with the time stamp after eliminating newline. More... | |
Private Attributes | |
std::chrono::system_clock::time_point | m_tp |
Provides wall-clock time stamp using the time call.
The time is that of the constructor call.
Definition at line 34 of file TimeStamp.h.
stride::util::TimeStamp::TimeStamp | ( | ) |
Constructor marks the current time for the time stamp.
Definition at line 31 of file TimeStamp.cpp.
std::string stride::util::TimeStamp::ToString | ( | ) | const |
Returns string with the time stamp after eliminating newline.
Definition at line 33 of file TimeStamp.cpp.
References m_tp.
Referenced by stride::util::operator<<().
std::string stride::util::TimeStamp::ToTag | ( | ) | const |
Returns string with the time stamp after eliminating newline.
Definition at line 41 of file TimeStamp.cpp.
|
private |
Definition at line 47 of file TimeStamp.h.
Referenced by ToString().