Flow 1.0.2
Flow project: Full implementation reference.
|
#include "flow/perf/perf_fwd.hpp"
#include "flow/perf/clock_type_fwd.hpp"
#include "flow/perf/checkpt_timer.hpp"
Go to the source code of this file.
Namespaces | |
namespace | flow |
Catch-all namespace for the Flow project: A collection of various production-quality modules written in modern C++17, originally by ygoldfel. | |
namespace | flow::perf |
Flow module containing tools for profiling and optimization. | |
Functions | |
template<typename Accumulator , typename Func > | |
auto | flow::perf::timed_function (Clock_type clock_type, Accumulator *accumulator, Func &&function) |
Constructs a closure that times and executes void -returning function() , adding the elapsed time with clock type clock_type – as raw ticks of perf::Duration – to accumulator . More... | |
template<typename Accumulator , typename Func > | |
auto | flow::perf::timed_function_nvr (Clock_type clock_type, Accumulator *accumulator, Func &&function) |
Constructs a closure that times and executes non-void -returning function() , adding the elapsed time with clock type clock_type – as raw ticks of perf::Duration – to accumulator . More... | |