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

Function fxStopProfiling

xs/sources/xsAPI.c:2504–2513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2502}
2503
2504void fxStopProfiling(txMachine* the, void* stream)
2505{
2506#if defined(mxInstrument) || defined(mxProfile)
2507 if (!the->profiler)
2508 return;
2509// if (the->frame)
2510// fxAbort(the, XS_FATAL_CHECK_EXIT);
2511 fxDeleteProfiler(the, stream);
2512#endif
2513}
2514
2515#ifdef mxFrequency
2516

Callers 3

mainFunction · 0.85
fxDebugPushTagFunction · 0.85
fxLogoutFunction · 0.85

Calls 1

fxDeleteProfilerFunction · 0.70

Tested by

no test coverage detected