PresentMon icon indicating copy to clipboard operation
PresentMon copied to clipboard

How to interpret Displayed and Presented Frames from console application csv

Open Danil0v3s opened this issue 1 year ago • 0 comments

I'm trying to use the console application to read the Frametime, Displayed Frames and Presented Frames from the csv but can't seem to make sense of the values (I don't know anything about graphics pipelines and such). Tried looking at the code writing the csv but couldn't understand properly the template

Here's a part of my csv

Application,ProcessID,SwapChainAddress,PresentRuntime,SyncInterval,PresentFlags,AllowsTearing,PresentMode,CPUStartQPC,FrameTime,CPUBusy,CPUWait,GPULatency,GPUTime,GPUBusy,GPUWait,DisplayLatency,DisplayedTime,AnimationError,AllInputToPhotonLatency,ClickToPhotonLatency
<unknown>,18092,0x2BA2595B050,DXGI,1,0,0,Hardware: Legacy Flip,893880050209,7.0502,6.8901,0.1601,0.0000,7.0675,0.6678,6.3997,13.3488,6.9477,0.0000,NA,NA
<unknown>,18092,0x2BA2595B050,DXGI,1,0,0,Hardware: Legacy Flip,893880120711,6.9235,6.7895,0.1340,0.0000,6.9323,0.5922,6.3401,13.2463,6.9480,0.1025,NA,NA
WindowsTerminal.exe,14128,0x25C5BDDD040,DXGI,1,0,0,Composed: Flip,893880127075,5.8950,5.7911,0.1039,5.7445,0.6019,0.5983,0.0036,19.5579,76.4299,0.0000,NA,NA

Which of these fields are the ones I'm interested in to get Displayed Frames, Presented Frames and the Frametime? Initially I thought

Displayed: 1000 / DisplayedTime Presented: 1000 / GpuTime FrameTime: FrameTime

Danil0v3s avatar Nov 26 '24 20:11 Danil0v3s