Commit ffc833fd authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Update diy to revision `ca5e7cf23`.

parent 3408e8e5
......@@ -1062,8 +1062,6 @@ void
diy::Master::
flush()
{
auto scoped = prof.scoped("comm");
#ifdef DEBUG
time_type start = get_time();
unsigned wait = 1;
......
......@@ -6,7 +6,7 @@
#include <vector>
#include "log.hpp" // need this for format
#define DIY_PROFILE 1
namespace diy
{
namespace stats
......@@ -71,11 +71,7 @@ struct Profiler
{
const Event& e = events[i];
auto time = std::chrono::duration_cast<std::chrono::microseconds>(e.stamp - start).count();
fmt::print(out, "{} {} {}\n",
time / 1000000.,
(e.begin ? '<' : '>'),
e.name);
/*
fmt::print(out, "{:02d}:{:02d}:{:02d}.{:06d} {}{}\n",
time/1000000/60/60,
time/1000000/60 % 60,
......@@ -83,7 +79,6 @@ struct Profiler
time % 1000000,
(e.begin ? '<' : '>'),
e.name);
*/
}
}
......
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