ComPPare 1.0.0
|
State class to manage the benchmark state. More...
#include <nvbench.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 (nvbench::state *st) |
static nvbench::state * | get_state () |
Private Member Functions | |
state ()=default | |
Private Attributes | |
nvbench::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 nvbench::state *
. The state is used to interact with the NVBench library.
|
delete |
|
delete |
|
privatedefault |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
private |