MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxSuspendProfiler

Function fxSuspendProfiler

xs/sources/xsDebug.c:3484–3491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3482}
3483
3484void fxSuspendProfiler(txMachine* the)
3485{
3486 txProfiler* profiler = the->profiler;
3487 if (!profiler)
3488 return;
3489 profiler->stop = fxGetMicroSeconds();
3490 fxSendProfilerTime(the, "suspend", profiler->stop);
3491}
3492
3493#endif /* mxInstrument */

Callers 1

fxDebugLoopFunction · 0.70

Calls 2

fxGetMicroSecondsFunction · 0.85
fxSendProfilerTimeFunction · 0.85

Tested by

no test coverage detected