MCPcopy 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
22uint32_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

SMExecuteMethod · 0.80
ExecuteMethod · 0.80
SendMethod · 0.80
AddEventMethod · 0.80
SendEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected