Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
129
namespace 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
draw
Method · 0.85
flush
Method · 0.85
end
Method · 0.85
compile
Method · 0.85
frame
Method · 0.85
Calls
2
flush_local_buffer
Function · 0.85
push
Function · 0.85
Tested by
no test coverage detected