|
Fx2D
A C++20 2D rigid-body physics engine
|
#include <cstddef>
Include dependency graph for Profile.h:Go to the source code of this file.
Namespaces | |
| namespace | FxProfile |
Macros | |
| #define | FX2D_PROF_SCOPE(slot) ((void)0) |
| #define | FX2D_PROF_STEP() ((void)0) |
Enumerations | |
| enum | FxProfile::Slot : int { FxProfile::BroadPhase = 0 , FxProfile::NarrowPhase , FxProfile::PositionSolve , FxProfile::Constraints , FxProfile::Integration , FxProfile::VelocityDerive , FxProfile::VelocityPasses , FxProfile::Bookkeeping , FxProfile::StepTotal , FxProfile::SlotCount } |
Functions | |
| bool | FxProfile::enabled () |
| const char * | FxProfile::slot_name (Slot slot) |
| double | FxProfile::ms (Slot slot) |
| std::size_t | FxProfile::steps () |
| void | FxProfile::reset () |
| void | FxProfile::add (Slot slot, double elapsed_ms) |
| void | FxProfile::count_step () |