#include <rex/platform/perf.h>
Static hooks for Tracy frame marks and the per frame counter snapshot.
◆ EndFrame()
| void rex::platform::Profiler::EndFrame |
( |
| ) |
|
|
inlinestatic |
Ends a frame with a Tracy frame mark, a counter snapshot and a CSV row when compiled in.
◆ IsEnabled()
| bool rex::platform::Profiler::IsEnabled |
( |
| ) |
|
|
inlinestatic |
Reports whether the Tracy profiler is running.
◆ OnThreadEnter()
| void rex::platform::Profiler::OnThreadEnter |
( |
const char * | name = nullptr | ) |
|
|
inlinestatic |
Names the calling thread in Tracy when the profiler is running.
- Parameters
-
| name | The thread name. Null leaves the name unchanged. |
◆ Shutdown()
| void rex::platform::Profiler::Shutdown |
( |
| ) |
|
|
inlinestatic |
Stops the Tracy profiler and closes the CSV log when compiled in.
◆ Startup()
| void rex::platform::Profiler::Startup |
( |
| ) |
|
|
inlinestatic |
Starts the Tracy profiler when compiled in and not running.
The documentation for this class was generated from the following file: