Go to the documentation of this file.
39 "Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
40 "Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec",
48 return ::time(
reinterpret_cast<time_t*
>(0));
55 struct tm *curr = ::localtime(&t);
63 struct tm *curr = ::localtime(&t);
65 std::ostringstream
os;
69 <<
'-' <<
std::setw(2) << curr->tm_mon + 1
83 struct tm *curr = ::localtime(&t);
85 std::ostringstream
os;
89 <<
' ' <<
std::setw(4) << curr->tm_year + 1900;
98 struct tm *curr = ::localtime(&t);
100 std::ostringstream
os;
125 return ::difftime(last_, start_);
131 const auto prev(last_);
134 return ::difftime(last_, prev);
clock()
Construct with the current clock time for the start point.
static const char * monthNames[]
static std::string dateTime()
static time_t getTime()
Get the current clock time in seconds.
double clockTimeIncrement() const
Returns wall-clock time since last clockTimeIncrement() call.
OBJstream os(runTime.globalPath()/outputName)
static std::string date()
Omanip< int > setw(const int i)
Omanip< char > setfill(char fillch)
static const struct tm rawDate()
The current wall-clock date as a raw struct.
static std::string clockTime()
double elapsedClockTime() const
Returns wall-clock time since clock instantiation.