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

Function fxResumeProfiler

xs/sources/xsProfile.c:584–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584void fxResumeProfiler(txMachine* the)
585{
586 txProfiler* profiler = the->profiler;
587 if (!profiler)
588 return;
589 txU8 delta = fxGetTicks() - profiler->stop;
590 profiler->when += delta;
591 profiler->former += delta;
592 profiler->start += delta;
593}
594
595void fxSuspendProfiler(txMachine* the)
596{

Callers

nothing calls this directly

Calls 1

fxGetTicksFunction · 0.85

Tested by

no test coverage detected