Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ SampleGetSelfTime
Function
SampleGetSelfTime
engine/profiler/src/basic/profiler_basic.cpp:483–487 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
481
}
482
483
uint64_t SampleGetSelfTime(HSample hsample)
484
{
485
Sample* sample = (Sample*)hsample;
486
return dmMath::Max((uint64_t)0, sample->m_Length - sample->m_LengthChildren);
487
}
488
489
uint32_t SampleGetCallCount(HSample hsample)
490
{
Callers
1
ProcessSample
Function · 0.85
Calls
1
Max
Function · 0.50
Tested by
no test coverage detected