Commit 6ee2d36a authored by Paal Kvamme's avatar Paal Kvamme
Browse files

Tweaks to the telemetry output.

parent 66337515
......@@ -164,7 +164,7 @@ LocalFileLinux::LocalFileLinux(const std::string& filename, OpenMode mode, const
{
// Use the SummaryPrintingTimer extension that keeps track of bytes done.
// The instance allocated in the base class constructor is simply dropped.
_rtimer.reset(new SummaryPrintingTimerEx("File::read"));
_rtimer.reset(new SummaryPrintingTimerEx(mode == OpenMode::ReadWrite || mode == OpenMode::Truncate ? "File::reread" : "File::read"));
_wtimer.reset(new SummaryPrintingTimerEx("File::write"));
switch (mode) {
......
Supports Markdown
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