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

Function GetTimeInterval

euler/common/logging.cc:79–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79uint64_t GetTimeInterval(const struct timeval& a,
80 const struct timeval& b) {
81 return 1000000 * (b.tv_sec - a.tv_sec) + b.tv_usec - a.tv_usec;
82}
83
84} // namespace euler

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected