MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / rtp_StopLog

Function rtp_StopLog

rtperformance/rtperformance.cpp:323–333  ·  view source on GitHub ↗

void rtp_StopLog Calling this function will stop the currently processing log and write it out to file. */

Source from the content-addressed store, hash-verified

321 file.
322*/
323void 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/*
336void rtp_PauseLog

Callers 5

rtp_RecordFrameFunction · 0.85
rtp_CloseFunction · 0.85
ProcessTestKeysFunction · 0.85
DemoCheatsFunction · 0.85
SetCVarNoneFunction · 0.85

Calls 1

rtp_WriteBufferLogFunction · 0.85

Tested by

no test coverage detected