summaryrefslogtreecommitdiffstats
path: root/src/vulkan/overlay-layer/overlay_params.c
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-03-02 17:49:21 +0000
committerLionel Landwerlin <[email protected]>2019-05-02 17:02:34 +0100
commit81fd6ba7cc6a519c9e612eeb5dbf3fa1fbf9c431 (patch)
treea9f415aad369583eec3e3e46cd7504595654e5d8 /src/vulkan/overlay-layer/overlay_params.c
parent74a9fdd8a28619599404bdde55f85324b744976d (diff)
vulkan/overlay: record all select metrics into output file
The output looks something like this (csv style) : fps, frame, frame_timing(us), submit, draw_indexed, pipeline_graphics, acquire_timing(us), vert_invocations, frag_invocations, gpu_timing(ns) 480.55, 242, 501512, 247, 1444, 1204, 714, 5827272, 113043296, 121424174 467.80, 234, 500214, 234, 1412, 1176, 648, 5635680, 109436188, 117743760 424.37, 213, 501923, 213, 2130, 1704, 623, 5132448, 99657292, 105474683 472.15, 237, 501962, 237, 2370, 1896, 667, 5710752, 110924644, 122226004 411.32, 206, 500826, 206, 2060, 1648, 709, 4963776, 96491764, 95333273 458.87, 230, 501228, 230, 2300, 1840, 634, 5542080, 107758204, 123112090 475.01, 238, 501044, 238, 2380, 1904, 631, 5734848, 111477480, 122087426 471.08, 236, 500972, 236, 2360, 1888, 655, 5686656, 110498496, 114816162 Signed-off-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/vulkan/overlay-layer/overlay_params.c')
-rw-r--r--src/vulkan/overlay-layer/overlay_params.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/overlay-layer/overlay_params.c b/src/vulkan/overlay-layer/overlay_params.c
index 16cf5b8dee0..2028bccbdc0 100644
--- a/src/vulkan/overlay-layer/overlay_params.c
+++ b/src/vulkan/overlay-layer/overlay_params.c
@@ -72,6 +72,7 @@ parse_help(const char *str)
fprintf(stderr, "\tposition=top-left|top-right|bottom-left|bottom-right\n");
fprintf(stderr, "\tfps_sampling_period=number-of-milliseconds\n");
fprintf(stderr, "\tno_display=0|1\n");
+ fprintf(stderr, "\toutput_file=/path/to/output.txt\n");
return true;
}