Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crownengine/crown
/ enter_profile_scope
Function
enter_profile_scope
src/core/profiler.cpp:74–81 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
}
73
74
void enter_profile_scope(const char *name)
75
{
76
EnterProfileScope ev;
77
ev.name = name;
78
ev.time = time::now();
79
80
push(ProfilerEventType::ENTER_PROFILE_SCOPE, ev);
81
}
82
83
void leave_profile_scope()
84
{
Callers
1
load_api
Function · 0.85
Calls
2
now
Function · 0.85
push
Function · 0.85
Tested by
no test coverage detected