nngn
Loading...
Searching...
No Matches
nngn::Stats Class Reference

#include <stats.h>

Static Public Member Functions

static void reserve (std::size_t i, void *p)
 
static void release (std::size_t i)
 
static bool active (std::size_t i)
 
static void set_active (std::size_t i, bool a)
 
static void * data (std::size_t i)
 
template<typename T >
static auto * u64_data (void)
 

Static Private Member Functions

static std::size_t check (std::size_t i)
 

Static Private Attributes

static constexpr std::size_t MAX = 2
 
static std::array< pointer_flag< void >, MAXv = {}
 

Member Function Documentation

◆ active()

static bool nngn::Stats::active ( std::size_t i)
inlinestatic
Here is the caller graph for this function:

◆ check()

std::size_t nngn::Stats::check ( std::size_t i)
inlinestaticprivate
Here is the caller graph for this function:

◆ data()

static void * nngn::Stats::data ( std::size_t i)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ release()

static void nngn::Stats::release ( std::size_t i)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reserve()

void nngn::Stats::reserve ( std::size_t i,
void * p )
inlinestatic
Here is the caller graph for this function:

◆ set_active()

static void nngn::Stats::set_active ( std::size_t i,
bool a )
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ u64_data()

template<typename T >
auto * nngn::Stats::u64_data ( void )
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ MAX

std::size_t nngn::Stats::MAX = 2
staticconstexprprivate

◆ v

std::array< pointer_flag< void >, Stats::MAX > nngn::Stats::v = {}
staticprivate

The documentation for this class was generated from the following files: