cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
Loading...
Searching...
No Matches
stat_bench::bench_impl Namespace Reference

Namespace of internal implementation. More...

Classes

class  BenchCaseHelper
 Class to help definition of cases in benchmarks. More...
 
class  BenchmarkCaseRegister
 Class to register benchmarks. More...
 
class  BenchmarkCaseRegistry
 Class of registry of cases of benchmarks. More...
 
class  BenchmarkGroup
 Class of groups of cases in benchmarks. More...
 
class  BenchmarkGroupConfig
 Class of configuration of a group of cases in benchmarks. More...
 
class  BenchmarkGroupRegister
 Class to register benchmark groups. More...
 
class  IBenchmarkCase
 Interface of cases in benchmarks. More...
 
class  InvocationContextRegistry
 Class to save InvocationContext object. More...
 
class  NullFixture
 Class of fixtures without set up and tear down operations. More...
 
class  ThreadableInvoker
 Class to invoke functions measuring durations in threads if needed. More...
 

Typedefs

template<typename Func, typename... Args>
using invoke_result_t = std::invoke_result_t<Func, Args...>
 Get the result type of invoking a function with arguments.
 

Functions

template<typename Func, typename... Args>
void invoke_and_ignore_return_value (const Func &func, Args &&... args)
 Invoke a function and ignore the return value.
 

Detailed Description

Namespace of internal implementation.

Typedef Documentation

◆ invoke_result_t

template<typename Func, typename... Args>
using stat_bench::bench_impl::invoke_result_t = std::invoke_result_t<Func, Args...>

Get the result type of invoking a function with arguments.

Template Parameters
FuncType of the function.
ArgsType of the arguments.

Definition at line 54 of file threadable_invoker.h.

Function Documentation

◆ invoke_and_ignore_return_value()

template<typename Func, typename... Args>
void stat_bench::bench_impl::invoke_and_ignore_return_value ( const Func & func,
Args &&... args )

Invoke a function and ignore the return value.

Template Parameters
FuncType of the function.
ArgsType of the arguments.
Parameters
[in]funcFunction.
[in]argsArguments.

Definition at line 72 of file threadable_invoker.h.