Jolt Physics
A multi core friendly Game Physics Engine
|
Go to the source code of this file.
Functions | |
JPH_NAMESPACE_BEGIN JPH_INLINE uint64 | GetProcessorTickCount () |
Functionality to get the processors cycle counter. | |
uint64 | GetProcessorTicksPerSecond () |
Get the amount of ticks per second, note that this number will never be fully accurate as the amound of ticks per second may vary with CPU load, so this number is only to be used to give an indication of time for profiling purposes. | |
JPH_NAMESPACE_BEGIN JPH_INLINE uint64 GetProcessorTickCount | ( | ) |
Functionality to get the processors cycle counter.
uint64 GetProcessorTicksPerSecond | ( | ) |
Get the amount of ticks per second, note that this number will never be fully accurate as the amound of ticks per second may vary with CPU load, so this number is only to be used to give an indication of time for profiling purposes.