| 331 | } |
| 332 | |
| 333 | txU8 fxMicrosecondsToTicks(txU8 microseconds) |
| 334 | { |
| 335 | #if mxMacOSX |
| 336 | return microseconds * 1000; |
| 337 | #elif mxWindows |
| 338 | LARGE_INTEGER frequency; |
| 339 | QueryPerformanceFrequency(&frequency); |
| 340 | return (frequency.QuadPart * microseconds) / 1000000ULL; |
| 341 | #else |
| 342 | return microseconds; |
| 343 | #endif |
| 344 | } |
| 345 | |
| 346 | txProfilerRecord* fxNewProfilerRecord(txMachine* the, txID recordID) |
| 347 | { |