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

Function fxStartProfiling

xs/sources/xsAPI.c:2493–2502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2491}
2492
2493void fxStartProfiling(txMachine* the)
2494{
2495#if defined(mxInstrument) || defined(mxProfile)
2496 if (the->profiler)
2497 return;
2498// if (the->frame)
2499// fxAbort(the, XS_FATAL_CHECK_EXIT);
2500 fxCreateProfiler(the);
2501#endif
2502}
2503
2504void fxStopProfiling(txMachine* the, void* stream)
2505{

Callers 2

mainFunction · 0.85
fxDebugPushTagFunction · 0.85

Calls 1

fxCreateProfilerFunction · 0.70

Tested by

no test coverage detected