MCPcopy Create free account
hub / github.com/defold/defold / SampleGetTime

Function SampleGetTime

engine/profiler/src/basic/profiler_basic.cpp:477–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475 }
476
477 uint64_t SampleGetTime(HSample hsample)
478 {
479 Sample* sample = (Sample*)hsample;
480 return sample->m_Length;
481 }
482
483 uint64_t SampleGetSelfTime(HSample hsample)
484 {

Callers 2

ProcessSampleFunction · 0.85
SampleTreeCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected