| 662 | #endif |
| 663 | |
| 664 | void modInstrumentMachineBegin(xsMachine *the, modTimerCallback instrumentationCallback, int count, char **names, char **units) |
| 665 | { |
| 666 | the->instrumentationCallback = instrumentationCallback; |
| 667 | the->instrumentationTimer = modTimerAdd(0, 1000, instrumentationCallback, &the, sizeof(the)); |
| 668 | modInstrumentationAdjust(Timers, -1); |
| 669 | |
| 670 | #ifdef mxDebug |
| 671 | the->onBreak = modDebugBreak; |
| 672 | #endif |
| 673 | fxDescribeInstrumentation(the, count, names, units); |
| 674 | } |
| 675 | |
| 676 | void modInstrumentMachineEnd(xsMachine *the) |
| 677 | { |
no test coverage detected