MCPcopy Create free account
hub / github.com/apache/thrift / reset

Method reset

contrib/fb303/cpp/ServiceTracker.cpp:362–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362void
363Stopwatch::reset()
364{
365 gettimeofday(&startTime_, nullptr);
366}
367
368uint64_t
369Stopwatch::elapsedUnits(Stopwatch::Unit unit, string *label) const

Callers 6

mainFunction · 0.45
RunThriftServerFunction · 0.45
ConnectToServerFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 3

mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36