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

Function fxResumeProfiler

xs/sources/xsDebug.c:3382–3392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3380}
3381
3382void fxResumeProfiler(txMachine* the)
3383{
3384 txProfiler* profiler = the->profiler;
3385 if (!profiler)
3386 return;
3387 txMicroseconds delta = fxGetMicroSeconds();
3388 fxSendProfilerTime(the, "resume", delta);
3389 delta -= profiler->stop;
3390 profiler->when += delta;
3391 profiler->former += delta;
3392}
3393
3394void fxSendProfilerRecord(txMachine* the, txSlot* frame, txID id, txSlot* code)
3395{

Callers 1

fxDebugLoopFunction · 0.70

Calls 2

fxGetMicroSecondsFunction · 0.85
fxSendProfilerTimeFunction · 0.85

Tested by

no test coverage detected