[llvm] 8ef5c98 - [docs] Fix benchmarking tips (#94724)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 01:05:55 PDT 2024


Author: uint256_t
Date: 2024-06-07T17:05:50+09:00
New Revision: 8ef5c98e9f9276f09c590e22ab88a20ae86f3859

URL: https://github.com/llvm/llvm-project/commit/8ef5c98e9f9276f09c590e22ab88a20ae86f3859
DIFF: https://github.com/llvm/llvm-project/commit/8ef5c98e9f9276f09c590e22ab88a20ae86f3859.diff

LOG: [docs] Fix benchmarking tips (#94724)

This PR fixes an incorrect line for setting scaling_governer in
benchmarking tips.

Added: 
    

Modified: 
    llvm/docs/Benchmarking.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/Benchmarking.rst b/llvm/docs/Benchmarking.rst
index 7deb221446067..cd7b835e47c53 100644
--- a/llvm/docs/Benchmarking.rst
+++ b/llvm/docs/Benchmarking.rst
@@ -49,7 +49,7 @@ Linux
 
    for i in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
    do
-     echo performance > /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
+     echo performance > $i
    done
 
 * Use https://github.com/lpechacek/cpuset to reserve cpus for just the


        


More information about the llvm-commits mailing list