MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / getTime

Function getTime

TheForceEngine/TFE_System/system.cpp:200–204  ·  view source on GitHub ↗

Get time since "start time", in seconds.

Source from the content-addressed store, hash-verified

198
199 // Get time since "start time", in seconds.
200 f64 getTime()
201 {
202 const u64 uDt = s_time - s_startTime;
203 return f64(uDt) * s_freq;
204 }
205
206 u64 getCurrentTimeInTicks()
207 {

Callers 10

handleMouseClickFunction · 0.85
task_setMinStepIntervalFunction · 0.85
task_canRunFunction · 0.85
task_updateTimeFunction · 0.85
task_runFunction · 0.85
tfe_updateLTimeFunction · 0.85
updateMethod · 0.85
startCountdownMethod · 0.85
endRecordingMethod · 0.85
drawGuiMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected