nngn
Loading...
Searching...
No Matches
nngn::ProfileStats Struct Reference

#include <profile.h>

Inheritance diagram for nngn::ProfileStats:
Collaboration diagram for nngn::ProfileStats:

Public Member Functions

const uint64_t * to_u64 () const
 
uint64_t * to_u64 ()
 
- Public Member Functions inherited from nngn::StatsBase< ProfileStats, 2 >
auto * to_u64_array (void) const
 
auto * to_u64_array (void)
 

Public Attributes

std::array< uint64_t, 2 > schedule
 
std::array< uint64_t, 2 > socket
 
std::array< uint64_t, 2 > collision_check
 
std::array< uint64_t, 2 > collision_resolve
 
std::array< uint64_t, 2 > collision_lua
 
std::array< uint64_t, 2 > entities
 
std::array< uint64_t, 2 > animations
 
std::array< uint64_t, 2 > parents
 
std::array< uint64_t, 2 > renderers
 
std::array< uint64_t, 2 > renderers_debug
 
std::array< uint64_t, 2 > render
 
std::array< uint64_t, 2 > vsync
 

Static Public Attributes

static constexpr std::array names
 
- Static Public Attributes inherited from nngn::StatsBase< ProfileStats, 2 >
static constexpr auto N_EVENTS
 

Additional Inherited Members

- Static Public Member Functions inherited from nngn::StatsBase< ProfileStats, 2 >
static constexpr std::size_t size (void)
 

Member Function Documentation

◆ to_u64() [1/2]

uint64_t * nngn::ProfileStats::to_u64 ( )
inline

◆ to_u64() [2/2]

const uint64_t * nngn::ProfileStats::to_u64 ( ) const
inline

Member Data Documentation

◆ animations

std::array<uint64_t, 2> nngn::ProfileStats::animations

◆ collision_check

std::array<uint64_t, 2> nngn::ProfileStats::collision_check

◆ collision_lua

std::array<uint64_t, 2> nngn::ProfileStats::collision_lua

◆ collision_resolve

std::array<uint64_t, 2> nngn::ProfileStats::collision_resolve

◆ entities

std::array<uint64_t, 2> nngn::ProfileStats::entities

◆ names

std::array nngn::ProfileStats::names
staticconstexpr
Initial value:
= {
"schedule", "socket", "collision_check", "collision_resolve",
"collision_lua", "entities", "animations", "parents", "renderers",
"renderers_debug", "render", "vsync",
}

◆ parents

std::array<uint64_t, 2> nngn::ProfileStats::parents

◆ render

std::array<uint64_t, 2> nngn::ProfileStats::render

◆ renderers

std::array<uint64_t, 2> nngn::ProfileStats::renderers

◆ renderers_debug

std::array<uint64_t, 2> nngn::ProfileStats::renderers_debug

◆ schedule

std::array<uint64_t, 2> nngn::ProfileStats::schedule

◆ socket

std::array<uint64_t, 2> nngn::ProfileStats::socket

◆ vsync

std::array<uint64_t, 2> nngn::ProfileStats::vsync

The documentation for this struct was generated from the following file: