ComPPare 1.0.0
|
State class to manage the benchmark state. More...
#include <google_benchmark.hpp>
Public Member Functions | |
state (const state &)=delete | |
state & | operator= (const state &)=delete |
state (state &&)=delete | |
state & | operator= (state &&)=delete |
Static Public Member Functions | |
static state & | instance () |
static void | set_state (benchmark::State &st) |
static benchmark::State & | get_state () |
Private Member Functions | |
state ()=default | |
Private Attributes | |
benchmark::State * | st_ = nullptr |
State class to manage the benchmark state.
This class is a singleton to ensure a single instance throughout the program. It provides methods to set and get the benchmark state benchmark::State &
. The state is used to interact with the Google Benchmark library.
|
delete |
|
delete |
|
privatedefault |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
private |