MCPcopy Create free account
hub / github.com/alibaba/euler / GetTime

Function GetTime

euler/common/logging.cc:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73struct timeval GetTime() {
74 struct timeval t;
75 gettimeofday(&t, NULL);
76 return t;
77}
78
79uint64_t GetTimeInterval(const struct timeval& a,
80 const struct timeval& b) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected