![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
Collects all samples of a single thread. More...
#include <Profiler.h>
Public Member Functions | |
| JPH_OVERRIDE_NEW_DELETE | ProfileThread (const string_view &inThreadName) |
| Constructor. More... | |
| ~ProfileThread () | |
Public Member Functions inherited from NonCopyable | |
| NonCopyable ()=default | |
| NonCopyable (const NonCopyable &)=delete | |
| void | operator= (const NonCopyable &)=delete |
Static Public Member Functions | |
| static void | sSetInstance (ProfileThread *inInstance) |
| static ProfileThread * | sGetInstance () |
Public Attributes | |
| String | mThreadName |
| Name of the thread that we're collecting information for. More... | |
| ProfileSample | mSamples [cMaxSamples] |
| Buffer of samples. More... | |
| uint | mCurrentSample = 0 |
| Next position to write a sample to. More... | |
Static Public Attributes | |
| static const uint | cMaxSamples = 65536 |
Collects all samples of a single thread.
|
inline |
Constructor.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
static |
| uint ProfileThread::mCurrentSample = 0 |
Next position to write a sample to.
| ProfileSample ProfileThread::mSamples[cMaxSamples] |
Buffer of samples.
| String ProfileThread::mThreadName |
Name of the thread that we're collecting information for.