Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TASEmulators/fceux
/ GetCurTime
Function
GetCurTime
fceux-server/throttle.cpp:74–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
}
73
74
static uint64 GetCurTime(void)
75
{
76
uint64 ret;
77
struct timeval tv;
78
79
gettimeofday(&tv,0);
80
ret=(uint64)tv.tv_sec*1000000;
81
ret+=tv.tv_usec;
82
return(ret);
83
}
84
85
void SpeedThrottle(void)
86
{
Callers
1
SpeedThrottle
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected