Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/phxsql
/ GetTime
Method
GetTime
phxcomm/utils/phx_timer.cpp:22–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
}
21
22
uint32_t PhxTimer::GetTime() {
23
struct timeval val;
24
gettimeofday(&val, NULL);
25
return (val.tv_sec * 1000000 + val.tv_usec - val_.tv_sec * 1000000 - val_.tv_usec);
26
}
27
28
}
29
Callers
5
SMExecute
Method · 0.80
Execute
Method · 0.80
Send
Method · 0.80
AddEvent
Method · 0.80
SendEvent
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected