MCPcopy Create free account
hub / github.com/PaddlePaddle/Serving / time_diff

Function time_diff

core/cube/cube-api/src/cube_cli.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39namespace {
40inline uint64_t time_diff(const struct timeval& start_time,
41 const struct timeval& end_time) {
42 return (end_time.tv_sec - start_time.tv_sec) * 1000000 +
43 (end_time.tv_usec - start_time.tv_usec);
44}
45}
46
47namespace rec {

Callers 2

runFunction · 0.70
run_mFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected