#include <formatTime.h>
|
static constexpr char const * | format {"%d-%b-%Y %H:%M:%S.%%03u %Z"} |
|
Definition at line 20 of file formatTime.h.
std::string mf::timestamp::Legacy_ms::get_time |
( |
timeval const & |
t | ) |
|
|
static |
Definition at line 32 of file formatTime.cc.
35 char tmpts[SIZE], ts[SIZE];
36 strftime(tmpts,
sizeof(tmpts),
format, localtime_r(&
t.tv_sec, &timebuf));
37 snprintf(ts,
sizeof(ts), tmpts, static_cast<unsigned>(
t.tv_usec / 1000));
static constexpr char const * format
constexpr char const* mf::timestamp::Legacy_ms::format {"%d-%b-%Y %H:%M:%S.%%03u %Z"} |
|
static |
The documentation for this struct was generated from the following files: