Skip to content

Commit 717c5bf

Browse files
markgalvan-intelplanetchili
authored andcommitted
Updated console and capture application markdown files.
1 parent 96cf303 commit 717c5bf

File tree

4 files changed

+52
-16
lines changed

4 files changed

+52
-16
lines changed

IntelPresentMon/metrics.csv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PM_METRIC_FRAME_TYPE,,Frame Type,Whether the frame was rendered by the applicati
1313
,,,
1414
PM_METRIC_CPU_START_TIME,,CPU Start Time,The time the CPU started working on this frame.
1515
PM_METRIC_CPU_START_QPC,1,CPU Start QPC,"The time the CPU started working on this frame, as a QueryPerformanceCounter() value."
16-
PM_METRIC_CPU_FRAME_TIME,,FrameTime-App,How long it took from the start of this frame until the CPU started working on the next frame.
16+
PM_METRIC_CPU_FRAME_TIME,1,FrameTime-App,How long it took from the start of this frame until the CPU started working on the next frame.
1717
PM_METRIC_CPU_BUSY,,Ms CPU Busy,How long the CPU spent working on this frame before presenting it.
1818
PM_METRIC_CPU_WAIT,,Ms CPU Wait,How long the CPU spent waiting before starting the next frame.
1919
,,,
@@ -100,6 +100,6 @@ PM_METRIC_UNTIL_DISPLAYED,,Ms Until Displayed,"The time between the Present() ca
100100
PM_METRIC_RENDER_PRESENT_LATENCY,,Ms Render Present Latency,"The time between the Present() call and when GPU work for this frame completed, in milliseconds."
101101
PM_METRIC_BETWEEN_SIMULATION_START,,Ms Between Simulation Start,"The time between the start of simulation processing of the previous frame and this one, in milliseconds."
102102
PM_METRIC_PC_LATENCY,,Ms PC Latency,"Time between PC receiving input and frame being sent to the display, in milliseconds."
103-
PM_METRIC_DISPLAYED_FRAME_TIME,,FrameTime-Display,"The time between when the previous frame was displayed and this frame was, in milliseconds."
104-
PM_METRIC_PRESENTED_FRAME_TIME,,FrameTime-Presents,"The time between this Present call and the previous one, in milliseconds."
103+
PM_METRIC_DISPLAYED_FRAME_TIME,1,FrameTime-Display,"The time between when the previous frame was displayed and this frame was, in milliseconds."
104+
PM_METRIC_PRESENTED_FRAME_TIME,1,FrameTime-Presents,"The time between this Present call and the previous one, in milliseconds."
105105
PM_METRIC_BETWEEN_APP_START,,Ms Between App Start,"How long it took from the start of this frame until the CPU started working on the next frame, in milliseconds."

README-CaptureApplication.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ In Debug configuration, the application will halt with a modal error dialog when
5454
|GPU Wait|GPUWait|How long the GPU spent waiting while working on this frame|DF|
5555
|Dropped Frames||Indicates if the frame was not displayed|DF|
5656
|Displayed Time|DisplayedTime|How long this frame was displayed on screen|DF|
57+
|Animation Error|MsAnimationError|The difference between the previous frame's CPU delta and display delta|DF|
58+
|Animation Time|AnimationTime|The difference between the previous frame's CPU delta and display delta|F|
5759
|Sync Interval|SyncInterval|The application's requested interval between presents measured in vertical sync/vblank events|DF|
5860
|Present Flags|PresentFlags|Flags used to configure the present operation|DF|
5961
|Present Mode|PresentMode|Method used to present the frame|DF|
@@ -62,7 +64,7 @@ In Debug configuration, the application will halt with a modal error dialog when
6264
|Frame Type|FrameType|Whether the frame was rendered by the application or interpolated by a driver/SDK.|DF|
6365
|GPU Latency|GPULatency|How long it took until GPU work for this frame started|DF|
6466
|Display Latency|DisplayLatency|Time between frame submission and scan out to display|DF|
65-
|Click To Photon Latency|ClickToPhotonLatency|Time between input and display|DF|
67+
|Click To Photon Latency|MsClickToPhotonLatency|Time between mouse click input and display|DF|
6668
|GPU Sustained Power Limit||Sustained power limit of the GPU|DS|
6769
|GPU Power|GPUPower|Power consumed by the graphics adapter|DF|
6870
|GPU Voltage|GPUVoltage|Voltage consumed by the graphics adapter|DF|
@@ -99,6 +101,29 @@ In Debug configuration, the application will halt with a modal error dialog when
99101
|CPU Temperature|CPUTemperature|Temperature of the CPU|DF|
100102
|CPU Frequency|CPUFrequency|Clock speed of the CPU|DF|
101103
|CPU Core Utility||Amount of CPU processing utility being used per core|D|
104+
|All Input To Photon Latency|MsAllInputToPhotonLatency|Time between any input and display|DF|
105+
|Instrumented Latency|InstrumentedLatency|How long it took from the instrumented start of this frame until the frame was displayed on the screen|DF|
106+
|GPU Effective Frequency||Effective clock speed of the GPU cores|DF|
107+
|GPU Voltage Regulator Temperature||Voltage regulator temperature|DF|
108+
|GPU Memory Effective Bandwidth||Data transfer rate that the memory modules can sustain based on current clock frequency|DF|
109+
|GPU Overvoltage Percent||GPU overvoltage increment as a ratio of the maximum increment|DF|
110+
|GPU Temperature Percent||GPU temperature as a ratio of the thermal margin|DF|
111+
|GPU Power Percent||GPU power draw as a ratio of default maximum power|DF|
112+
|GPU Fan Speed Percent||GPU fan speed as a ratio of the max speed for that fan|DF|
113+
|GPU Card Power||,Total power consumption of the graphics adapter board|DF|
114+
|Present Start Time|TimeInSeconds|The time the Present() call was made, in seconds|F|
115+
|Present Start QPC|Present Start QPC|The time the Present() call was made as a QueryPerformanceCounter() value|F|
116+
|Between Presents|MsBetweenPresents|The time between this Present() call and the previous one, in milliseconds|F|
117+
|In Present API|MsInPresentAPI|The time spent inside the Present() call, in milliseconds.|F|
118+
|Between Display Change|MsBetweenDisplayChange|How long the previous frame was displayed before this Present() was displayed, in milliseconds|DF|
119+
|Until Displayed|MsUntilDisplayed|The time between the Present() call and when the frame was displayed, in milliseconds|DF|
120+
|Render Present Latency|MsRenderPresentLatency|The time between the Present() call and when GPU work for this frame completed, in milliseconds|F|
121+
|Between Simulation Start|MsBetweenSimulationStart|The time between the start of simulation processing of the previous frame and this one, in milliseconds.|F|
122+
|PC Latency|MsPCLatency|Time between PC receiving input and frame being sent to the display, in milliseconds|DF|
123+
|Displayed Frame Time||The time between when the previous frame was displayed and this frame was, in milliseconds|D|
124+
|Presented Frame Time||The time between this Present call and the previous one, in milliseconds|D|
125+
|Between App Start|MsBetweenAppStart|How long it took from the start of this frame until the CPU started working on the next frame, in milliseconds.|F|
126+
102127
*Query Type Codes: **D** = Dynamic Query, **F** = Frame Event Query, **S** = Static Query
103128

104129
## Comma-separated value (CSV) file output

README-ConsoleApplication.md

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The PresentMon/ directory contains source for a standalone console application t
55
CSV file(s).
66

77
A binary of the console application is provided in the release, e.g.:
8-
[PresentMon-2.3.0-x64.exe](https://github.com/GameTechDev/PresentMon/releases/download/v2.3.0/PresentMon-2.3.0-x64.exe).
8+
[PresentMon-2.3.1-x64.exe](https://github.com/GameTechDev/PresentMon/releases/download/v2.3.1/PresentMon-2.3.1-x64.exe).
99

1010
## Command line options
1111

@@ -28,6 +28,7 @@ A binary of the console application is provided in the release, e.g.:
2828
| `--date_time` | Output the CPU start time as a date and time with nanosecond precision. |
2929
| `--exclude_dropped` | Exclude frames that were not displayed to the screen from the CSV output. |
3030
| `--v1_metrics` | Output a CSV using PresentMon 1.x metrics. |
31+
| `--v2_metrics` | Output a CSV using PresentMon 2.x metrics. |
3132

3233
| Recording Options | |
3334
| ------------------------------ | --- |
@@ -53,7 +54,8 @@ A binary of the console application is provided in the release, e.g.:
5354
| ------------------------------ | --- |
5455
| `--track_frame_type` | Track the type of each displayed frame; requires application and/or driver instrumentation using Intel-PresentMon provider. |
5556
| `--track_hw_measurements` | Tracks HW-measured latency and/or power data coming from a LMT and/or PCAT device. |
56-
| `--track_app_timing` | Track app timines for each displayed frame; requires application and/or driver instrumentation using Intel-PresentMon provider. |
57+
| `--track_app_timing` | Track app times for each displayed frame; requires application and/or driver instrumentation using Intel-PresentMon provider. |
58+
| `--track_hybrid_present` | Tracks if the present is a hybrid present and is performing a cross adapter copy. |
5759

5860
## Comma-separated value (CSV) file output
5961

@@ -89,21 +91,28 @@ Default metrics include:
8991
| *PresentMode* | The presentation mode used by the system for this frame. See the table below for more details. |
9092
| *FrameType* | Whether the frame was rendered by the application or generated by a driver/SDK. |
9193
| *CPUStartTime<br>(CPUStartQPC)<br>(CPUStartQPCTime)<br>(CPUStartDateTime)* | The time the CPU started working on this frame. By default, this is the time since recording started unless:<br>&bull; When `--qpc_time` is used, the value is a [performance counter value](https://docs.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancecounter) and the column is named *CPUStartQPC*.<br>&bull; When `--qpc_time_ms` is used, the value is the query performance counter value converted to milliseconds and the column is named *CPUStartQPCTime*.<br>&bull; When `--date_time` is used, the value is a date and the column is named *CPUStartDateTime*. |
92-
| *FrameTime* | How long it took from the start of this frame until the CPU started working on the next frame. |
93-
| *CPUBusy* | How long the CPU spent working on this frame before presenting it. |
94-
| *CPUWait* | How long the CPU spent waiting before starting the next frame. |
95-
| *GPULatency* | How long it took from the start of this frame until the GPU started working on it. |
96-
| *GPUTime* | The total amount of time that GPU was working on this frame. |
97-
| *GPUBusy* | How long the GPU was actively working on this frame (i.e., the time during which at least one GPU engine is executing work from the target process). |
98-
| *GPUWait* | How long the GPU was idle while working on this frame. |
94+
| *MsCPUBusy* | How long the CPU spent working on this frame before presenting it. |
95+
| *MsCPUWait* | How long the CPU spent waiting before starting the next frame. |
96+
| *MsGPULatency* | How long it took from the start of this frame until the GPU started working on it. |
97+
| *MsGPUTime* | The total amount of time that GPU was working on this frame. |
98+
| *MsGPUBusy* | How long the GPU was actively working on this frame (i.e., the time during which at least one GPU engine is executing work from the target process). |
99+
| *MsGPUWait* | How long the GPU was idle while working on this frame. |
99100
| *VideoBusy* | How long the GPU video encode/decode engines were actively working on this frame. |
100101
| *DisplayLatency* | How long it took from the start of this frame until the frame was displayed on the screen. |
101102
| *DisplayedTime* | How long the frame was displayed on the screen, or 'NA' if the frame was not displayed. |
102-
| *AnimationError* | The difference between the previous frame's CPU delta and display delta. |
103+
| *MsAnimationError* | The difference between the previous frame's CPU delta and display delta. |
103104
| *AnimationTime* | The time the CPU started animation work on this frame. |
104-
| *ClickToPhotonLatency* | How long it took from the earliest mouse click that contributed to this frame until this frame was displayed. When supported HW measuring devices are not available, this is the software-visible subset of the full click-to-photon latency and doesn't include:<br>&bull; time spent processing input in the keyboard/controller hardware or drivers (typically a fixed additional overhead),<br>&bull; time spent processing the output in the display hardware or drivers (typically a fixed additional overhead), and<br>&bull; a combination of display blanking interval and scan time (which varies, depending on timing and tearing). |
105-
| *AllInputToPhotonLatency* | How long it took from the earliest keyboard or mouse interaction that contributed to this frame until this frame was displayed. |
105+
| *MsClickToPhotonLatency* | How long it took from the earliest mouse click that contributed to this frame until this frame was displayed. |
106+
| *MsAllInputToPhotonLatency* | How long it took from the earliest keyboard or mouse interaction that contributed to this frame until this frame was displayed. |
106107
| *InstrumentedLatency* | Instrumented Frame Start To Display Latency |
108+
| *MsBetweenPresents* | The time between this Present() call and the previous one, in milliseconds. |
109+
| *MsInPresentAPI* | The time spent inside the Present() call, in milliseconds. |
110+
| *MsBetweenDisplayChange* | How long the previous frame was displayed before this Present() was displayed, in milliseconds. |
111+
| *MsUntilDisplayed* | The time between the Present() call and when the frame was displayed, in milliseconds. |
112+
| *MsRenderPresentLatency* | The time between the Present() call and when GPU work for this frame completed, in milliseconds. |
113+
| *MsBetweenSimulationStart* | The time between the start of simulation processing of the previous frame and this one, in milliseconds. |
114+
| *MsPCLatency* | Time between PC receiving input and frame being sent to the display, in milliseconds. |
115+
| *MsBetweenAppStart* | How long it took from the start of this frame until the CPU started working on the next frame, in milliseconds. |
107116

108117
Some metrics are enabled or disabled depending on the command line options:
109118

@@ -115,6 +124,7 @@ Some metrics are enabled or disabled depending on the command line options:
115124
| `--no_track_input` | | *ClickToPhotonLatency* |
116125
| `--no_track_display`<br>(requires `--no_track_gpu` and `--no_track_input` as well) | | *AllowsTearing<br>PresentMode<br>DisplayLatency<br>DisplayedTime* |
117126
| `--v1_metrics` | | Most of the above metrics. See a [1.x README.md](https://github.com/GameTechDev/PresentMon/blob/v1.9.2/README.md#csv-columns) for details on Presentmon 1.x metrics. |
127+
| `--v2_metrics` | | Most of the above metrics. See a [2.x README.md](https://github.com/GameTechDev/PresentMon/blob/v2.3.0/README-ConsoleApplication.md#csv-columns) for details on Presentmon 2.x metrics. |
118128

119129
The following values are used in the PresentMode column:
120130

Tools/generate/readme/CSVOutro.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Some metrics are enabled or disabled depending on the command line options:
99
| `--no_track_input` | | *ClickToPhotonLatency* |
1010
| `--no_track_display`<br>(requires `--no_track_gpu` and `--no_track_input` as well) | | *AllowsTearing<br>PresentMode<br>DisplayLatency<br>DisplayedTime* |
1111
| `--v1_metrics` | | Most of the above metrics. See a [1.x README.md](https://github.com/GameTechDev/PresentMon/blob/v1.9.2/README.md#csv-columns) for details on Presentmon 1.x metrics. |
12+
| `--v2_metrics` | | Most of the above metrics. See a [2.x README.md](https://github.com/GameTechDev/PresentMon/blob/v2.3.0/README-ConsoleApplication.md#csv-columns) for details on Presentmon 2.x metrics. |
1213

1314
The following values are used in the PresentMode column:
1415

0 commit comments

Comments
 (0)