MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / timeval_diff_in_seconds

Function timeval_diff_in_seconds

Tools/time-func.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21double timeval_diff_in_seconds(struct timeval *start_time, struct timeval *end_time)
22{
23 return double(timeval_diff(start_time, end_time)) / 1e6;
24}
25
26
27long long timespec_diff(const struct timespec *start_time, const struct timespec *end_time)

Callers 2

runMethod · 0.85
print_progressMethod · 0.85

Calls 1

timeval_diffFunction · 0.85

Tested by

no test coverage detected