MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / clearRecord

Method clearRecord

include/common/timer.h:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 }
54
55 void clearRecord(const TimerTag TT) noexcept {
56 assuming(TT < TimerTag::Max);
57 std::unique_lock Lock(Mutex);
58 const uint32_t Index = static_cast<uint32_t>(TT);
59 StartTime[Index].clear();
60 RecTime[Index] = Clock::duration::zero();
61 }
62
63 Clock::duration getRecord(const TimerTag TT) const noexcept {
64 assuming(TT < TimerTag::Max);

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected