MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Update

Method Update

IntelPresentMon/Core/source/infra/util/CooldownTimer.cpp:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 void CooldownTimer::Update()
45 {
46 const auto t = timer_.Peek();
47 while (!instances_.empty() && t - instances_.front() > period_)
48 {
49 instances_.pop_front();
50 }
51 }
52}

Callers

nothing calls this directly

Calls 2

PeekMethod · 0.80
emptyMethod · 0.80

Tested by

no test coverage detected