82 start_ = clock_type::now();
88 const auto now = clock_type::now();
89 const std::chrono::duration<double> d =
now -
start_;
114 std::forward<F>(f)();
128 thread_local char buf[64];
Tiny start/stop wall-clock timer.
double elapsed_seconds() const noexcept
void restart() noexcept
Restart the timer to now().
clock_type::time_point time_point
double elapsed_milliseconds() const noexcept
std::chrono::steady_clock clock_type
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
const char * format_throughput(double cells_per_second)
Format a "cells per second" rate as "X.XX M cells/s".
double bench_seconds(F &&f)
Run f() once and return the wall-clock time it took, in seconds.
Main namespace for Aleph-w library functions.