Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cvmfs/cvmfs
/ timeval
Class
timeval
cvmfs/util/algorithm.cc:30–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
29
30
double DiffTimeSeconds(struct timeval start, struct timeval end) {
31
// Time subtraction, from GCC documentation
32
if (end.tv_usec < start.tv_usec) {
33
const int64_t nsec = (end.tv_usec - start.tv_usec) / 1000000 + 1;
Callers
1
Reset
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected