CGraphStats refactoring
Opened this issue · 1 comments
PerikiyoXD commented
Is your feature request related to a problem? Please describe.
Refactoring of CGraphStats was attempted in #4385 but rejected during review.
Describe the solution you'd like
Will refactor the code for better frame graph.
Describe alternatives you've considered
No response
Additional context
No response
Security Policy
- I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.
PerikiyoXD commented
Existing refactor code:
CClientGame::DoPulses
- Adds into-frame timing mark and defer out-of-frame timing mark
https://gist.github.com/PerikiyoXD/8471208092aab06ed377283525ca6c7f
CClientGame::DoPulsePostFrame
- Prelude intent comment plus todo for later refactor
// TODO: (pxd) Refactor this function to reduce its size and complexity
// Pulse subsystems on post frame
void CClientGame::DoPulsePostFrame()- Add
defer(Not needing lambda) to register checkpoint
TIMING_CHECKPOINT("-CClientGame::DoPulsePostFrame");