Permalink
Browse files

Print results

  • Loading branch information...
petya2164 committed Apr 7, 2017
1 parent e367434 commit d20a6fe55c78d00b863e42f171682d6af14c8335
Showing with 7 additions and 0 deletions.
  1. +6 −0 test/src/test_boost_asio_timer.cpp
  2. +1 −0 test/src/test_time.cpp
@@ -14,6 +14,12 @@ struct boost_asio_timer_benchmark : public gauge::time_benchmark
{
using clock_type = boost::chrono::high_resolution_clock;
bool accept_measurement()
{
// Force only one iteration
return true;
}
double measurement()
{
// Get the time spent sleeping
View
@@ -69,5 +69,6 @@ TEST(Gauge, sleep_intervals)
int argc = 1;
const char* argv[] = { "program" };
gauge::runner::add_default_printers();
gauge::runner::run_benchmarks(argc, argv);
}

0 comments on commit d20a6fe

Please sign in to comment.