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

Method Flush

IntelPresentMon/PresentMonMiddleware/FrameMetricsSource.cpp:289–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287 }
288
289 void FrameMetricsSource::Flush()
290 {
291 Update();
292 for (auto& [address, state] : swapChains_) {
293 while (state.HasPending()) {
294 state.ConsumeNext();
295 }
296 }
297 }
298
299 FrameMetricsSource::PollSnapshotData FrameMetricsSource::CapturePollSnapshotData() const
300 {

Callers 1

FlushFramesMethod · 0.45

Calls 2

HasPendingMethod · 0.80
ConsumeNextMethod · 0.80

Tested by

no test coverage detected