Namespace of stat_bench source codes.
More...
|
namespace | bench_impl |
| Namespace of internal implementation.
|
|
namespace | clock |
| Namespace of clocks for benchmarks.
|
|
namespace | filters |
| Namespace of filters of benchmarks.
|
|
namespace | impl |
| Namespace of internal implementation.
|
|
namespace | measurer |
| Namespace of classes to measure time in benchmarks.
|
|
namespace | param |
| Namespace of parameters of benchmarks.
|
|
namespace | plots |
| Namespace of plotting.
|
|
namespace | reporter |
| Namespace of reporters of results of benchmarks.
|
|
namespace | runner |
| Namespace of classes to run benchmarks.
|
|
namespace | stat |
| Namespace of statistics.
|
|
namespace | util |
| Namespace of utility functions and classes.
|
|
Namespace of stat_bench source codes.
◆ current_invocation_context()
◆ do_not_optimize()
template<typename T>
void stat_bench::do_not_optimize |
( |
T && | val | ) |
|
|
inlinenoexcept |
Prevent compilers to optimize away a value.
- Warning
- This won't prevent optimizations in processes to evaluate the value.
- Template Parameters
-
- Parameters
-
Definition at line 43 of file do_not_optimize.h.
◆ memory_barrier()
void stat_bench::memory_barrier |
( |
| ) |
|
|
inlinenoexcept |
Prevent optimizers to move memory access beyond this function call.
Definition at line 29 of file memory_barrier.h.
◆ operator!=() [1/3]
Compare two BenchmarkCaseName objects.
- Parameters
-
[in] | lhs | Left-hand side object. |
[in] | rhs | Right-hand side object. |
- Return values
-
true | The two objects are not equal. |
false | The two objects are equal. |
Definition at line 87 of file benchmark_case_name.h.
◆ operator!=() [2/3]
Compare two BenchmarkGroupName objects.
- Parameters
-
[in] | lhs | Left-hand side object. |
[in] | rhs | Right-hand side object. |
- Return values
-
true | The two objects are not equal. |
false | The two objects are equal. |
Definition at line 87 of file benchmark_group_name.h.
◆ operator!=() [3/3]
Compare two CustomOutputName objects.
- Parameters
-
[in] | lhs | Left-hand side object. |
[in] | rhs | Right-hand side object. |
- Return values
-
true | The two objects are not equal. |
false | The two objects are equal. |
Definition at line 85 of file custom_output_name.h.
◆ operator<<() [1/3]
auto stat_bench::operator<< |
( |
std::ostream & | stream, |
|
|
const BenchmarkCaseName & | val ) -> std::ostream& |
|
inline |
Format to a stream.
- Parameters
-
[in,out] | stream | Stream. |
[in] | val | Value. |
- Returns
- Stream.
Definition at line 127 of file benchmark_case_name.h.
◆ operator<<() [2/3]
auto stat_bench::operator<< |
( |
std::ostream & | stream, |
|
|
const BenchmarkGroupName & | val ) -> std::ostream& |
|
inline |
Format to a stream.
- Parameters
-
[in,out] | stream | Stream. |
[in] | val | Value. |
- Returns
- Stream.
Definition at line 127 of file benchmark_group_name.h.
◆ operator<<() [3/3]
auto stat_bench::operator<< |
( |
std::ostream & | stream, |
|
|
const CustomOutputName & | val ) -> std::ostream& |
|
inline |
Format to a stream.
- Parameters
-
[in,out] | stream | Stream. |
[in] | val | Value. |
- Returns
- Stream.
Definition at line 126 of file custom_output_name.h.
◆ operator==() [1/3]
Compare two BenchmarkCaseName objects.
- Parameters
-
[in] | lhs | Left-hand side object. |
[in] | rhs | Right-hand side object. |
- Return values
-
true | The two objects are equal. |
false | The two objects are not equal. |
Definition at line 74 of file benchmark_case_name.h.
◆ operator==() [2/3]
Compare two BenchmarkGroupName objects.
- Parameters
-
[in] | lhs | Left-hand side object. |
[in] | rhs | Right-hand side object. |
- Return values
-
true | The two objects are equal. |
false | The two objects are not equal. |
Definition at line 74 of file benchmark_group_name.h.
◆ operator==() [3/3]
Compare two CustomOutputName objects.
- Parameters
-
[in] | lhs | Left-hand side object. |
[in] | rhs | Right-hand side object. |
- Return values
-
true | The two objects are equal. |
false | The two objects are not equal. |
Definition at line 72 of file custom_output_name.h.