cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
|
Definition of do_not_optimize function. More...
Go to the source code of this file.
Namespaces | |
namespace | stat_bench |
Namespace of stat_bench source codes. | |
namespace | stat_bench::impl |
Namespace of internal implementation. | |
Functions | |
template<typename T> | |
void | stat_bench::do_not_optimize (T &&val) noexcept |
Prevent compilers to optimize away a value. | |
void | stat_bench::impl::use_pointer (void *ptr) noexcept |
Use a pointer to prevent deletion of a variable. | |
Definition of do_not_optimize function.
Definition in file do_not_optimize.h.