struct
ProfilerCPU::ProfileData
Contains basic (time based) profiling data contained in a profiling block.
Public
Constructors
ProfileData
ProfileData(FrameAllocator *alloc)
Methods
BeginSample
void BeginSample()
Begins a new sample and records current sample state.
Previous sample must not be active.
EndSample
void EndSample()
Records current sample state and creates a new sample based on start and end state.
Adds the sample to the sample list.
ResumeLastSample
void ResumeLastSample()
Removes the last added sample from the sample list and makes it active again.
You must call endSample() when done as if you called beginSample().
Fields
Samples
MemAllocs
u64 MemAllocs
MemFrees
u64 MemFrees