ComPPare 1.0.0
|
Classes | |
class | google_benchmark_manager |
Manager class for Google Benchmark integration. More... | |
class | GoogleBenchmarkPlugin |
Google Benchmark plugin for the ComPPare framework. More... | |
class | state |
State class to manage the benchmark state. More... | |
Functions | |
template<comppare::internal::concepts::FloatingPoint T> | |
void | SetIterationTime (T time) |
Set the iteration time for the current benchmark. | |
template<typename Rep , typename Period > | |
void | SetIterationTime (std::chrono::duration< Rep, Period > time) |
Set the iteration time for the current benchmark. | |
|
inline |
Set the iteration time for the current benchmark.
Rep | The representation type of the duration. |
Period | The period type of the duration. |
time | The iteration time as a std::chrono::duration . |
This function sets the iteration time for the current benchmark state. It converts the provided std::chrono::duration
to seconds and calls SetIterationTime
on the benchmark state.
|
inline |
Set the iteration time for the current benchmark.
T | The type of the time value (must be a floating point type). |
time | The iteration time in microseconds. |
This function sets the iteration time for the current benchmark state. It converts the provided time from microseconds to seconds and calls SetIterationTime
on the benchmark state.