MCPcopy Create free account
hub / github.com/crownengine/crown / flush

Function flush

src/core/profiler.cpp:131–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129namespace profiler_globals
130{
131 void flush()
132 {
133 profiler::flush_local_buffer();
134 u32 end = ProfilerEventType::COUNT;
135 array::push(*_buffer, (const char *)&end, (u32)sizeof(end));
136 }
137
138 void clear()
139 {

Callers 5

drawMethod · 0.85
flushMethod · 0.85
endMethod · 0.85
compileMethod · 0.85
frameMethod · 0.85

Calls 2

flush_local_bufferFunction · 0.85
pushFunction · 0.85

Tested by

no test coverage detected