mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Reduce coupling to date.h by calling C++17 chrono functions
This commit is contained in:
committed by
manojsdoshi
parent
64e4a89470
commit
9932a19139
@@ -288,7 +288,7 @@ PerfLogImp::report()
|
||||
lastLog_ = present;
|
||||
|
||||
Json::Value report(Json::objectValue);
|
||||
report[jss::time] = to_string(date::floor<microseconds>(present));
|
||||
report[jss::time] = to_string(floor<microseconds>(present));
|
||||
{
|
||||
std::lock_guard lock{counters_.jobsMutex_};
|
||||
report[jss::workers] =
|
||||
|
||||
Reference in New Issue
Block a user