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

Method Mark

IntelPresentMon/CommonUtilities/Qpc.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 Mark();
77 }
78 double QpcTimer::Mark() noexcept
79 {
80 const auto newTimestamp = GetCurrentTimestamp();
81 const auto delta = TimestampDeltaToSeconds(startTimestamp_, newTimestamp, performanceCounterPeriod_);
82 startTimestamp_ = newTimestamp;
83 return delta;
84 }
85 double QpcTimer::Peek() const noexcept
86 {
87 const auto newTimestamp = GetCurrentTimestamp();

Callers 4

WaitWithBufferMethod · 0.80
TEST_METHODFunction · 0.80
TriggerMethod · 0.80

Calls 2

GetCurrentTimestampFunction · 0.85
TimestampDeltaToSecondsFunction · 0.85

Tested by

no test coverage detected