MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / getElapsedSeconds

Method getElapsedSeconds

physx/source/foundation/src/unix/PsUnixTime.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69Time::Second Time::getElapsedSeconds()
70{
71 Time::Second curTime = getTimeSeconds();
72 Time::Second diff = curTime - mLastTime;
73 mLastTime = curTime;
74 return diff;
75}
76
77Time::Second Time::peekElapsedSeconds()
78{

Callers 8

onTickMethod · 0.45
serializeMethod · 0.45
loadChunkMethod · 0.45
loaderThreadMethod · 0.45
advanceMethod · 0.45
waitMethod · 0.45
substepDoneMethod · 0.45
updateMethod · 0.45

Calls 1

getTimeSecondsFunction · 0.85

Tested by

no test coverage detected