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

#include <collision.h>

Inheritance diagram for nngn::CollisionStats:
Collaboration diagram for nngn::CollisionStats:

Public Member Functions

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

Public Attributes

std::array< uint64_t, 4 > counters
 
std::array< uint64_t, 4 > aabb_copy
 
std::array< uint64_t, 4 > aabb_exec_barrier
 
std::array< uint64_t, 4 > aabb_exec
 
std::array< uint64_t, 4 > bb_copy
 
std::array< uint64_t, 4 > bb_exec_barrier
 
std::array< uint64_t, 4 > bb_exec
 
std::array< uint64_t, 4 > sphere_pos
 
std::array< uint64_t, 4 > sphere_vel
 
std::array< uint64_t, 4 > sphere_mass
 
std::array< uint64_t, 4 > sphere_radius
 
std::array< uint64_t, 4 > sphere_grid_count
 
std::array< uint64_t, 4 > sphere_exec_grid_barrier
 
std::array< uint64_t, 4 > sphere_exec_grid
 
std::array< uint64_t, 4 > sphere_exec_barrier
 
std::array< uint64_t, 4 > sphere_exec
 
std::array< uint64_t, 4 > plane
 
std::array< uint64_t, 4 > gravity_pos
 
std::array< uint64_t, 4 > gravity_mass
 
std::array< uint64_t, 4 > gravity_max_distance2
 
std::array< uint64_t, 4 > aabb_bb_exec_barrier
 
std::array< uint64_t, 4 > aabb_bb_exec
 
std::array< uint64_t, 4 > aabb_sphere_exec_barrier
 
std::array< uint64_t, 4 > aabb_sphere_exec
 
std::array< uint64_t, 4 > bb_sphere_exec_barrier
 
std::array< uint64_t, 4 > bb_sphere_exec
 
std::array< uint64_t, 4 > sphere_plane_exec_barrier
 
std::array< uint64_t, 4 > sphere_plane_exec
 
std::array< uint64_t, 4 > sphere_gravity_exec_barrier
 
std::array< uint64_t, 4 > sphere_gravity_exec
 

Static Public Attributes

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

Additional Inherited Members

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

Member Function Documentation

◆ to_u64() [1/2]

uint64_t * nngn::CollisionStats::to_u64 ( void )
inline

◆ to_u64() [2/2]

const uint64_t * nngn::CollisionStats::to_u64 ( void ) const
inline

Member Data Documentation

◆ aabb_bb_exec

std::array<uint64_t, 4> nngn::CollisionStats::aabb_bb_exec

◆ aabb_bb_exec_barrier

std::array<uint64_t, 4> nngn::CollisionStats::aabb_bb_exec_barrier

◆ aabb_copy

std::array<uint64_t, 4> nngn::CollisionStats::aabb_copy

◆ aabb_exec

std::array<uint64_t, 4> nngn::CollisionStats::aabb_exec

◆ aabb_exec_barrier

std::array<uint64_t, 4> nngn::CollisionStats::aabb_exec_barrier

◆ aabb_sphere_exec

std::array<uint64_t, 4> nngn::CollisionStats::aabb_sphere_exec

◆ aabb_sphere_exec_barrier

std::array<uint64_t, 4> nngn::CollisionStats::aabb_sphere_exec_barrier

◆ bb_copy

std::array<uint64_t, 4> nngn::CollisionStats::bb_copy

◆ bb_exec

std::array<uint64_t, 4> nngn::CollisionStats::bb_exec

◆ bb_exec_barrier

std::array<uint64_t, 4> nngn::CollisionStats::bb_exec_barrier

◆ bb_sphere_exec

std::array<uint64_t, 4> nngn::CollisionStats::bb_sphere_exec

◆ bb_sphere_exec_barrier

std::array<uint64_t, 4> nngn::CollisionStats::bb_sphere_exec_barrier

◆ counters

std::array<uint64_t, 4> nngn::CollisionStats::counters

◆ gravity_mass

std::array<uint64_t, 4> nngn::CollisionStats::gravity_mass

◆ gravity_max_distance2

std::array<uint64_t, 4> nngn::CollisionStats::gravity_max_distance2

◆ gravity_pos

std::array<uint64_t, 4> nngn::CollisionStats::gravity_pos

◆ names

std::array nngn::CollisionStats::names
staticconstexpr
Initial value:
= {
"counters",
"aabb_copy", "aabb_exec_barrier", "aabb_exec",
"bb_copy", "bb_exec_barrier", "bb_exec",
"sphere_pos", "sphere_vel", "sphere_mass", "sphere_radius",
"sphere_grid_count", "sphere_exec_grid_barrier",
"sphere_exec_grid", "sphere_exec_barrier", "sphere_exec",
"plane",
"gravity_pos", "gravity_mass", "gravity_max_distance2",
"aabb_bb_exec_barrier", "aabb_bb_exec",
"aabb_sphere_exec_barrier", "aabb_sphere_exec",
"bb_sphere_exec_barrier", "bb_sphere_exec",
"sphere_plane_exec_barrier", "sphere_plane_exec",
"sphere_gravity_exec_barrier", "sphere_gravity_exec"}

◆ plane

std::array<uint64_t, 4> nngn::CollisionStats::plane

◆ sphere_exec

std::array<uint64_t, 4> nngn::CollisionStats::sphere_exec

◆ sphere_exec_barrier

std::array<uint64_t, 4> nngn::CollisionStats::sphere_exec_barrier

◆ sphere_exec_grid

std::array<uint64_t, 4> nngn::CollisionStats::sphere_exec_grid

◆ sphere_exec_grid_barrier

std::array<uint64_t, 4> nngn::CollisionStats::sphere_exec_grid_barrier

◆ sphere_gravity_exec

std::array<uint64_t, 4> nngn::CollisionStats::sphere_gravity_exec

◆ sphere_gravity_exec_barrier

std::array<uint64_t, 4> nngn::CollisionStats::sphere_gravity_exec_barrier

◆ sphere_grid_count

std::array<uint64_t, 4> nngn::CollisionStats::sphere_grid_count

◆ sphere_mass

std::array<uint64_t, 4> nngn::CollisionStats::sphere_mass

◆ sphere_plane_exec

std::array<uint64_t, 4> nngn::CollisionStats::sphere_plane_exec

◆ sphere_plane_exec_barrier

std::array<uint64_t, 4> nngn::CollisionStats::sphere_plane_exec_barrier

◆ sphere_pos

std::array<uint64_t, 4> nngn::CollisionStats::sphere_pos

◆ sphere_radius

std::array<uint64_t, 4> nngn::CollisionStats::sphere_radius

◆ sphere_vel

std::array<uint64_t, 4> nngn::CollisionStats::sphere_vel

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