Skip to content

Commit

Permalink
the umdprofiler regkey switch to device-based and modularized user se…
Browse files Browse the repository at this point in the history
…tting

switching the umdprofiler regkey to device-based and modularized user setting
  • Loading branch information
Michael-Ma72 authored and hanlong1 committed Nov 21, 2022
1 parent 0d75b1e commit 39b9ffb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tools/MediaDriverTools/UMDPerfProfiler/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ Introduction
Usage
• Step1: Build and install the latest internal-release version driver

• Step2: Update igfx_user_feature file
Copy the igfx_user_feature.txt into /etc/ directory.
• Step2: Update igfx_user_feature_next file(before device-based driver use igfx_user_feature file)
Copy the igfx_user_feature_next.txt/igfx_user_feature.txt into /etc/ directory.
You will see some keys with default values in igfx_user_feature.txt.
- Perf Profiler Buffer Size – Size of Perf profiler buffer, if not set will use the default value.
- Perf Profiler Enable - Enable/Disable UMD Perf Profiler, 1 – Enable, 0 – Disable
- Perf Profiler Output File Name – The name of Perf Profiler output, if not set will use the default value.
- Perf Profiler Multi Process Support - Enable/Disable multi session data capture, 1 – Enable, 0 – Disable

• Step3: Run your test case
When finish your test case, you will see a bin file under your working directory which is named as set by “Perf Profiler Output File Name” in igfx_user_feature. If you didn’t set this key, the default name should be “linux_perf_out.bin”
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[config]
Perf Profiler Enable=1
Perf Profiler Output File Name=linux_perf_out.bin
Perf Profiler Multi Process Support=0
Perf Profiler Register 8=1835148
Perf Profiler Buffer Size=10000000

[report]

0 comments on commit 39b9ffb

Please sign in to comment.