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

Function espInstrumentMachineBegin

xs/platforms/qca4020/xsHost.c:804–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802}
803
804void espInstrumentMachineBegin(txMachine *the, modTimerCallback instrumentationCallback, int count, char **names, char **units)
805{
806 the->instrumentationCallback = instrumentationCallback;
807 the->instrumentationTimer = modTimerAdd(0, 1000, instrumentationCallback, &the, sizeof(the));
808 modInstrumentationAdjust(Timers, -1);
809
810#ifdef mxDebug
811 the->onBreak = espDebugBreak;
812#endif
813 fxDescribeInstrumentation(the, count, names, units);
814}
815
816void espInstrumentMachineEnd(txMachine *the)
817{

Callers 1

mc_setupFunction · 0.70

Calls 2

modTimerAddFunction · 0.50

Tested by

no test coverage detected