void rtp_StopLog Calling this function will stop the currently processing log and write it out to file. */
| 321 | file. |
| 322 | */ |
| 323 | void rtp_StopLog() { |
| 324 | #ifdef USE_RTP |
| 325 | mprintf(0, "Recorded performance for %f seconds\n", timer_GetTime() - rtp_startlog_time); |
| 326 | mprintf(0, "RTP: Stopping Log\n"); |
| 327 | |
| 328 | // Save out the log now |
| 329 | rtp_WriteBufferLog(); |
| 330 | |
| 331 | Runtime_performance_enabled = 0; |
| 332 | #endif |
| 333 | } |
| 334 | |
| 335 | /* |
| 336 | void rtp_PauseLog |
no test coverage detected