| 3462 | } |
| 3463 | |
| 3464 | void fxSendProfilerTime(txMachine* the, txString name, txMicroseconds when) |
| 3465 | { |
| 3466 | #ifdef mxDebug |
| 3467 | if (fxIsConnected(the)) { |
| 3468 | int shift; |
| 3469 | fxEchoStart(the); |
| 3470 | fxEcho(the, "<pt name=\""); |
| 3471 | fxEchoString(the, name); |
| 3472 | fxEcho(the, "\" value=\"@"); |
| 3473 | shift = (8 * sizeof(when)) - 4; |
| 3474 | while (shift >= 0) { |
| 3475 | fxEchoCharacter(the, c_read8(gxHexaDigits + ((when >> shift) & 0x0F))); |
| 3476 | shift -= 4; |
| 3477 | } |
| 3478 | fxEcho(the, "\"/>"); |
| 3479 | fxEchoStop(the); |
| 3480 | } |
| 3481 | #endif |
| 3482 | } |
| 3483 | |
| 3484 | void fxSuspendProfiler(txMachine* the) |
| 3485 | { |
no test coverage detected