group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
PhysicsPerfStats.hpp File Reference

Optional per-frame physics/KCC counters for client performance captures. More...

#include <cstdint>
Include dependency graph for PhysicsPerfStats.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  physics::perf::FrameStats
class  physics::perf::ScopedClosestPointContext

Namespaces

namespace  physics
 Pure physics math — no ECS types, no registry.
namespace  physics::perf

Enumerations

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

Functions

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

Variables

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

Detailed Description

Optional per-frame physics/KCC counters for client performance captures.