Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
57
static 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
64
Time::Time()
65
{
Callers
3
Time
Method · 0.85
getElapsedSeconds
Method · 0.85
peekElapsedSeconds
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected