Go to the source code of this file.
◆ JPH_PROFILE
| #define JPH_PROFILE |
( |
| ... | ) |
|
Value:
#define JPH_PROFILE_TAG(line)
Definition Profiler.h:266
Create this class on the stack to start sampling timing information of a particular scope.
Definition Profiler.h:228
◆ JPH_PROFILE_DUMP
| #define JPH_PROFILE_DUMP |
( |
| ... | ) |
|
Value:
void Dump(const string_view &inTag=string_view())
Definition Profiler.cpp:84
static Profiler * sInstance
Singleton instance.
Definition Profiler.h:119
Dump profiling info.
◆ JPH_PROFILE_END
| #define JPH_PROFILE_END |
( |
| ) |
|
Value:
#define JPH_PROFILE_THREAD_END()
End instrumenting a thread.
Definition Profiler.h:262
End instrumenting program.
◆ JPH_PROFILE_FUNCTION
| #define JPH_PROFILE_FUNCTION |
( |
| ) |
|
Value:
#define JPH_PROFILE(...)
Definition Profiler.h:267
Scope profiling for function.
◆ JPH_PROFILE_NEXTFRAME
| #define JPH_PROFILE_NEXTFRAME |
( |
| ) |
|
Value:
void NextFrame()
Increments the frame counter to provide statistics per frame.
Definition Profiler.cpp:68
Update frame counter.
◆ JPH_PROFILE_START
| #define JPH_PROFILE_START |
( |
| name | ) |
|
Value:
#define JPH_PROFILE_THREAD_START(name)
Start instrumenting a thread.
Definition Profiler.h:259
Singleton class for managing profiling information.
Definition Profiler.h:95
Start instrumenting program.
◆ JPH_PROFILE_TAG
| #define JPH_PROFILE_TAG |
( |
| line | ) |
|
Value:
#define JPH_PROFILE_TAG2(line)
Scope profiling measurement.
Definition Profiler.h:265
◆ JPH_PROFILE_TAG2
| #define JPH_PROFILE_TAG2 |
( |
| line | ) |
|
Value:
Scope profiling measurement.
◆ JPH_PROFILE_THREAD_END
| #define JPH_PROFILE_THREAD_END |
( |
| ) |
|
Value:
static ProfileThread * sGetInstance()
Definition Profiler.h:219
static void sSetInstance(ProfileThread *inInstance)
Definition Profiler.h:218
End instrumenting a thread.
◆ JPH_PROFILE_THREAD_START
| #define JPH_PROFILE_THREAD_START |
( |
| name | ) |
|
Value:
Collects all samples of a single thread.
Definition Profiler.h:200
Start instrumenting a thread.