MCPcopy Create free account
hub / github.com/ElementsProject/elements / Start

Method Start

src/leveldb/benchmarks/db_bench.cc:188–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 Stats() { Start(); }
187
188 void Start() {
189 next_report_ = 100;
190 hist_.Clear();
191 done_ = 0;
192 bytes_ = 0;
193 seconds_ = 0;
194 message_.clear();
195 start_ = finish_ = last_op_finish_ = g_env->NowMicros();
196 }
197
198 void Merge(const Stats& other) {
199 hist_.Merge(other.hist_);

Callers 2

ThreadBodyMethod · 0.45
ReadWhileWritingMethod · 0.45

Calls 3

ClearMethod · 0.45
clearMethod · 0.45
NowMicrosMethod · 0.45

Tested by

no test coverage detected