MCPcopy Create free account
hub / github.com/apache/arrow / Stop

Method Stop

cpp/src/arrow/util/stopwatch_internal.h:36–41  ·  view source on GitHub ↗

Returns time in nanoseconds.

Source from the content-addressed store, hash-verified

34
35 // Returns time in nanoseconds.
36 uint64_t Stop() {
37 auto stop = ClockType::now();
38 std::chrono::nanoseconds d = stop - start_;
39 assert(d.count() >= 0);
40 return static_cast<uint64_t>(d.count());
41 }
42
43 private:
44 std::chrono::time_point<ClockType> start_;

Callers

nothing calls this directly

Calls 1

countMethod · 0.45

Tested by

no test coverage detected