Update diy to revision ca5e7cf23.

This commit is contained in:
Utkarsh Ayachit 2017-12-21 15:31:26 -05:00
parent 3408e8e5e3
commit ffc833fd8c
2 changed files with 2 additions and 9 deletions

@ -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);
*/
}
}