MCPcopy Create free account
hub / github.com/acl-dev/acl / get_curr_stamp

Function get_curr_stamp

lib_acl_cpp/src/stdlib/util.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52long long get_curr_stamp()
53{
54 struct timeval now;
55 gettimeofday(&now, NULL);
56
57 return (long long) now.tv_sec * 1000 + (long long) now.tv_usec / 1000;
58}
59
60double stamp_sub(const struct timeval& from, const struct timeval& sub)
61{

Callers 7

runMethod · 0.85
addMethod · 0.85
triggerMethod · 0.85
runMethod · 0.85
addMethod · 0.85
triggerMethod · 0.85
runMethod · 0.85

Calls 1

gettimeofdayFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…