Skip to content

Commit 8ef5c98

Browse files
[docs] Fix benchmarking tips (llvm#94724)
This PR fixes an incorrect line for setting scaling_governer in benchmarking tips.
1 parent be18daa commit 8ef5c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/Benchmarking.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Linux
4949

5050
for i in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
5151
do
52-
echo performance > /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
52+
echo performance > $i
5353
done
5454

5555
* Use https://github.com/lpechacek/cpuset to reserve cpus for just the

0 commit comments

Comments
 (0)