Commit 40ad8527 authored by Ondrej Vysocky's avatar Ondrej Vysocky
Browse files

ENH for each time measurement now also stores timestamp #56

parent c6a99818
......@@ -43,8 +43,9 @@ void InfoStore::saveInterval(std::ofstream &ss, std::vector<size_t> &iStarts, si
double duration = mutils::timeToDouble(_records[iEnd].time - _records[iStarts.back()].time);
ss << "# Job info" << std::endl
<< "JOB ID," << _jobID << "." << _stepID << std::endl
<< "Runtime of function [s]," << duration << std::endl;
<< "JOB ID," << _jobID << "." << _stepID << std::endl
<< "Runtime of function [s]," << duration << std::endl
<< "Function start timestamp," << std::setprecision (15) << mutils::timeToDouble(_records[iStarts.back()].time) << std::endl;
}
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