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

Function getTimeSeconds

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

Source from the content-addressed store, hash-verified

55}
56
57static Time::Second getTimeSeconds()
58{
59 static struct timeval _tv;
60 gettimeofday(&_tv, NULL);
61 return double(_tv.tv_sec) + double(_tv.tv_usec) * 0.000001;
62}
63
64Time::Time()
65{

Callers 3

TimeMethod · 0.85
getElapsedSecondsMethod · 0.85
peekElapsedSecondsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected