MCPcopy Create free account
hub / github.com/VectorDB-NTU/RaBitQ-Library / reset

Method reset

include/rabitqlib/utils/stopw.hpp:15–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 StopW() : time_begin_(clock::now()) {}
14
15 void reset() { time_begin_ = clock::now(); }
16
17 [[nodiscard]] float get_elapsed_sec() const {
18 return std::chrono::duration<float>(elapsed()).count();

Callers 3

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected