|
const std::chrono::high_resolution_clock::time_point | _start |
|
const std::string | _desc |
|
Definition at line 57 of file main.cpp.
◆ report_time()
report_time::report_time |
( |
std::string | desc | ) |
|
|
inline |
Definition at line 58 of file main.cpp.
59 :
_start(std::chrono::high_resolution_clock::now())
61 }
const std::chrono::high_resolution_clock::time_point _start
◆ report()
void report_time::report |
( |
| ) |
|
|
inline |
Definition at line 63 of file main.cpp.
63 {
64 const auto duration = std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::high_resolution_clock::now() -
_start).count() / 1000;
65 ilog(
"sysio-blocklog - ${desc} took ${t} msec", (
"desc",
_desc)(
"t", duration));
66 }
◆ _desc
const std::string report_time::_desc |
◆ _start
const std::chrono::high_resolution_clock::time_point report_time::_start |
The documentation for this struct was generated from the following file: