Commit b23d92ff authored by Dominik Charousset's avatar Dominik Charousset

Coding style nitpicks

parent 306d4881
......@@ -228,7 +228,7 @@ public:
}
template <class Time, class Label>
void record(Time t, Label label, size_t id, measurement const& m) {
void record(Time t, Label label, size_t id, const measurement& m) {
using std::setw;
file_ << setw(21) << t.time_since_epoch().count()
<< setw(10) << label
......@@ -237,7 +237,7 @@ public:
<< std::endl;
}
void report(actor_id const& job, measurement const& m) {
void report(const actor_id& job, const measurement& m) {
std::lock_guard<std::mutex> job_guard{job_mtx_};
jobs_[job] += m;
if (m.time - last_flush_ >= resolution_) {
......
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