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

Method Peek

IntelPresentMon/CommonUtilities/Qpc.cpp:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 return delta;
84 }
85 double QpcTimer::Peek() const noexcept
86 {
87 const auto newTimestamp = GetCurrentTimestamp();
88 const auto delta = TimestampDeltaToSeconds(startTimestamp_, newTimestamp, performanceCounterPeriod_);
89 return delta;
90 }
91 int64_t QpcTimer::GetStartTimestamp() const noexcept
92 {
93 return startTimestamp_;

Callers 6

WaitMethod · 0.80
ConsumeMethod · 0.80
TEST_CLASSFunction · 0.80
TEST_METHODFunction · 0.80
TriggerMethod · 0.80
UpdateMethod · 0.80

Calls 2

GetCurrentTimestampFunction · 0.85
TimestampDeltaToSecondsFunction · 0.85

Tested by

no test coverage detected