Helper class to track code timings. 更多...
#include <InGamePerformanceTracker.h>
Public 成员函数 | |
| FORCEINLINE void | AddCycles (uint32 Cycles) |
| Adds cycles collected from an external helper object. | |
| void | EnterTimedSection () |
| Enters a timed section of code. 更多... | |
| void | ExitTimedSection () |
| Enters a timed section of code. 更多... | |
Helper class to track code timings.
Similar to stats but much more minimal as they're intended to be used at InGame. Though it's still not free so use wisely.
| void FInGamePerformanceTracker::EnterTimedSection | ( | ) |
Enters a timed section of code.
Can be re-entrant and will take the first entry point time. Only callable from game thread.
| void FInGamePerformanceTracker::ExitTimedSection | ( | ) |
Enters a timed section of code.
Can be re-entrant and will take the final exit point time. Only callable from game thread.