Commit 00b9e9fe authored by Matthias Vallentin's avatar Matthias Vallentin

Don't touch filesystem on every record in profiler

Flushing every single record to disk causes a big performance hit for
I/O-bound applications. At this point, the measurement itself perturbs
the application performance.
parent d0ad2e09
......@@ -170,7 +170,7 @@ public:
<< setw(15) << "usr" // time spent in user mode (cumulative)
<< setw(15) << "sys" // time spent in kernel model (cumulative)
<< "mem" // used memory (cumulative)
<< std::endl;
<< '\n';
}
void stop() override {
......@@ -234,7 +234,7 @@ public:
<< setw(10) << label
<< setw(10) << id
<< m
<< std::endl;
<< '\n';
}
void report(const actor_id& job, const measurement& m) {
......
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