MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / EndEvent

Method EndEvent

Source/Engine/Profiler/ProfilerCPU.cpp:121–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void ProfilerCPU::Thread::EndEvent(int32 index)
122{
123 const double time = Platform::GetTimeSeconds() * 1000.0;
124 _depth--;
125 Event& e = Buffer.Get(index);
126 e.End = time;
127}
128
129void ProfilerCPU::Thread::EndEvent()
130{

Callers 15

PIXEndGPUEventOnContextFunction · 0.45
RenderMethod · 0.45
OnDrawMethod · 0.45
OnUpdateMethod · 0.45
UpdateMethod · 0.45
UpdateTextBlocksMethod · 0.45
OnDrawMethod · 0.45
LoadMethod · 0.45
InitMethod · 0.45
EndInitMethod · 0.45
UpdateMethod · 0.45
ExitMethod · 0.45

Calls 4

EventMethod · 0.80
GetMethod · 0.45
LastMethod · 0.45
BeginMethod · 0.45

Tested by

no test coverage detected