cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
Loading...
Searching...
No Matches
measure_impl.h File Reference

Definition of STAT_BENCH_IMPL_MEASURE_IMPL macro. More...

+ Include dependency graph for measure_impl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  stat_bench::impl::FunctionMeasurer
 Helper class to measure a function. More...
 

Namespaces

namespace  stat_bench
 Namespace of stat_bench source codes.
 
namespace  stat_bench::impl
 Namespace of internal implementation.
 

Macros

#define STAT_BENCH_IMPL_MEASURE_IMPL( THREAD_INDEX_VAR, SAMPLE_INDEX_VAR, ITERATION_INDEX_VAR)
 Macro to measure a function.
 

Detailed Description

Definition of STAT_BENCH_IMPL_MEASURE_IMPL macro.

Definition in file measure_impl.h.

Macro Definition Documentation

◆ STAT_BENCH_IMPL_MEASURE_IMPL

#define STAT_BENCH_IMPL_MEASURE_IMPL ( THREAD_INDEX_VAR,
SAMPLE_INDEX_VAR,
ITERATION_INDEX_VAR )
Value:
<< [&](std::size_t THREAD_INDEX_VAR, std::size_t SAMPLE_INDEX_VAR, \
std::size_t ITERATION_INDEX_VAR)
Helper class to measure a function.

Macro to measure a function.

Parameters
[in]THREAD_INDEX_VARVariable name of the index of the thread.
[in]SAMPLE_INDEX_VARVariable name of the index of the sample.
[in]ITERATION_INDEX_VARVariable name of the index of the iteration.

Definition at line 70 of file measure_impl.h.