From de4727d6d1233240eb0d91a4e677f2ac10c47243 Mon Sep 17 00:00:00 2001 From: Jacob He Date: Wed, 22 Aug 2018 15:01:14 +0800 Subject: [PATCH] Update README.md: update AMDVLK README.md for some GPUProfiler setting names are changed --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11ccea8..dffefe4 100644 --- a/README.md +++ b/README.md @@ -242,11 +242,11 @@ You can use the following [Runtime Settings](#runtime-settings) to generate .csv | Setting Name | Value | Comment | | -------------------------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `GpuProfilerMode` | 0: disable
1: enable with sqtt off
2: enable with sqtt for thread trace
3: enable with sqtt for RGP | Enables and sets the SQTT mode for the GPU performance profiler layer. Actual capture of performance data must be specified via frame number with GpuProfilerConfig_StartFrame or by pressing shift-F11. | -| `GpuProfilerLogDirectory` | <directory-path> | The directory path is relative to $AMD_DEBUG_DIR or $TMPDIR or /var/tmp/, default value is "amdpal/". Your application must have write permissions to the directory. The profiling logs are output to a subdirectory that is named in the format like <AppName>_<yyyy-MM-dd>_<HH:mm:ss>. | -| `GpuProfilerGranularity` | 0: per-draw
1: per-cmdbuf | Defines what is measured/profiled. *Per-draw* times individual commands (such as draw, dispatch, etc.) inside command buffers, while *per-cmdbuf* only profiles entire command buffers in aggregate. | +| `GpuProfilerConfig_LogDirectory` | <directory-path> | The directory path is relative to $AMD_DEBUG_DIR or $TMPDIR or /var/tmp/, default value is "amdpal/". Your application must have write permissions to the directory. The profiling logs are output to a subdirectory that is named in the format like <AppName>_<yyyy-MM-dd>_<HH:mm:ss>. | +| `GpuProfilerPerfCounterConfig_Granularity` | 0: per-draw
1: per-cmdbuf | Defines what is measured/profiled. *Per-draw* times individual commands (such as draw, dispatch, etc.) inside command buffers, while *per-cmdbuf* only profiles entire command buffers in aggregate. | | `GpuProfilerConfig_StartFrame` | Positive integer | First frame to capture data for. If StartFrame and FrameCount are not set, all frames will be profiled. | | `GpuProfilerConfig_FrameCount` | Positive integer | Number of frames to capture data for. | -| `GpuProfilerRecordPipelineStats` | 0, 1 | Gathers pipeline statistic query data per entry if enabled. | +| `GpuProfilerConfig_RecordPipelineStats` | 0, 1 | Gathers pipeline statistic query data per entry if enabled. | You can use the script [timingReport.py](https://github.com/GPUOpen-Drivers/pal/tree/master/tools/gpuProfilerTools/timingReport.py) to analyze the profiling log: ```