Struct SimulationProfiler
- Namespace
- BepuPhysics
- Assembly
- BepuPhysics.dll
Stores profiling information for the previous simulation execution.
public struct SimulationProfiler
- Inherited Members
Constructors
SimulationProfiler(int)
public SimulationProfiler(int initialStageCount)
Parameters
initialStageCountint
Properties
this[object]
Gets the time it took to complete the last execution of the given stage. If no stage matching the given object ran, returns -1.
public double this[object stage] { get; }
Parameters
stageobjectStage to look up the time for.
Property Value
- double
Time it took to complete the last execution of the given stage.
Methods
Clear()
public void Clear()
End(object)
public void End(object o)
Parameters
oobject
Start(object)
public void Start(object o)
Parameters
oobject