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 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 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() [1/2]

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

◆ active() [2/2]

static bool nngn::Stats::active ( std::size_t  i)
inlinestatic

◆ check() [1/2]

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

◆ check() [2/2]

static std::size_t nngn::Stats::check ( std::size_t  i)
staticprivate

◆ data() [1/2]

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:

◆ data() [2/2]

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

◆ release() [1/2]

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:

◆ release() [2/2]

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

◆ reserve() [1/2]

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

◆ reserve() [2/2]

static void nngn::Stats::reserve ( std::size_t  i,
void *  p 
)
static

◆ set_active() [1/2]

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:

◆ set_active() [2/2]

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

◆ u64_data() [1/2]

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

◆ u64_data() [2/2]

template<typename T >
static auto * nngn::Stats::u64_data ( void  )
static

Member Data Documentation

◆ MAX

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

◆ v

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

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