group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
physics::perf Namespace Reference

Classes

struct  FrameStats
class  ScopedClosestPointContext

Enumerations

enum class  ClosestPointContext : std::uint8_t { Generic , WallProbe , WallAttachment }

Functions

void setEnabled (bool value) noexcept
bool isEnabled () noexcept
void resetFrame () noexcept
FrameStats snapshot () noexcept
void add (std::uint32_t FrameStats::*field, std::uint32_t amount=1) noexcept
void addClosestPointCall () noexcept
void addClosestPointNode () noexcept
void addClosestPointTri () noexcept

Variables

bool enabled = false
FrameStats frame
ClosestPointContext closestPointContext = ClosestPointContext::Generic

Enumeration Type Documentation

◆ ClosestPointContext

enum class physics::perf::ClosestPointContext : std::uint8_t
strong
Enumerator
Generic 
WallProbe 
WallAttachment 

Function Documentation

◆ add()

void physics::perf::add ( std::uint32_t FrameStats::* field,
std::uint32_t amount = 1 )
inlinenoexcept
Here is the caller graph for this function:

◆ addClosestPointCall()

void physics::perf::addClosestPointCall ( )
inlinenoexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addClosestPointNode()

void physics::perf::addClosestPointNode ( )
inlinenoexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addClosestPointTri()

void physics::perf::addClosestPointTri ( )
inlinenoexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isEnabled()

bool physics::perf::isEnabled ( )
inlinenodiscardnoexcept

◆ resetFrame()

void physics::perf::resetFrame ( )
inlinenoexcept
Here is the caller graph for this function:

◆ setEnabled()

void physics::perf::setEnabled ( bool value)
inlinenoexcept
Here is the caller graph for this function:

◆ snapshot()

FrameStats physics::perf::snapshot ( )
inlinenodiscardnoexcept

Variable Documentation

◆ closestPointContext

ClosestPointContext physics::perf::closestPointContext = ClosestPointContext::Generic
inlinethread_local

◆ enabled

bool physics::perf::enabled = false
inlinethread_local

◆ frame

FrameStats physics::perf::frame
inlinethread_local