Commit a30c9827 authored by Quentin Khan's avatar Quentin Khan
Browse files

PerfTest: print date

parent e12edd4b
...@@ -74,6 +74,7 @@ int main (int argc, char** argv) ...@@ -74,6 +74,7 @@ int main (int argc, char** argv)
std::tm date = *std::localtime(&d); std::tm date = *std::localtime(&d);
std::stringstream sstr; std::stringstream sstr;
sstr << std::put_time(&date, "%F %T"); sstr << std::put_time(&date, "%F %T");
std::cout << "Date: " << sstr.str() << std::endl;
params.json["env"]["date"] = sstr.str(); params.json["env"]["date"] = sstr.str();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment