Expand description
Frame phases - named scopes within a frame for better diagnostics and profiling.
Phases divide a frame into logical sections (input, physics, render, etc.) without changing allocation semantics. They integrate with diagnostics and profiling for better visibility.
Structs§
- Phase
- A named phase within a frame.
- Phase
Guard - RAII guard for a phase scope.
- Phase
Tracker - Tracks the current phase stack for a thread.
Functions§
- begin_
phase - Begin a named phase within the current frame.
- current_
phase - Get the current phase name.
- end_
phase - End the current phase.
- is_
in_ phase - Check if currently in a phase.
- record_
phase_ alloc - Record an allocation in the current phase.
- reset_
phases - Reset phases for a new frame.