struct
ProfilerCPU::PreciseProfileData
Contains precise (CPU cycle based) profiling data contained in a profiling block.
Public
Constructors
PreciseProfileData
PreciseProfileData(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
Timer
MemAllocs
u64 MemAllocs
MemFrees
u64 MemFrees