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

Function rtp_StartLog

rtperformance/rtperformance.cpp:308–316  ·  view source on GitHub ↗

void rtp_StartLog Calling this function will reset the log and start a new log, recording immediatly */

Source from the content-addressed store, hash-verified

306 Calling this function will reset the log and start a new log, recording immediatly
307*/
308void rtp_StartLog() {
309#ifdef USE_RTP
310 mprintf(0, "RTP: Starting Log\n");
311 Runtime_performance_counter = 0;
312 Runtime_performance_enabled = 1;
313 memset(&RTP_SingleFrame, 0, sizeof(tRTFrameInfo));
314 rtp_startlog_time = timer_GetTime();
315#endif
316}
317
318/*
319void rtp_StopLog

Callers 3

ProcessTestKeysFunction · 0.85
DemoCheatsFunction · 0.85
SetCVarNoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected