MCPcopy Create free account
hub / github.com/Profactor/cv-plot / warmup

Function warmup

CvPlot/ext/catch2/inc/catch.hpp:7058–7061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7056
7057 template <typename Clock>
7058 int warmup() {
7059 return run_for_at_least<Clock>(std::chrono::duration_cast<ClockDuration<Clock>>(warmup_time), warmup_seed, &resolution<Clock>)
7060 .iterations;
7061 }
7062 template <typename Clock>
7063 EnvironmentEstimate<FloatDuration<Clock>> estimate_clock_resolution(int iterations) {
7064 auto r = run_for_at_least<Clock>(std::chrono::duration_cast<ClockDuration<Clock>>(clock_resolution_estimation_time), iterations, &resolution<Clock>)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected