1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +00:00

Merge pull request #112 from bjackman/speed-up-perturb

shutils: Speed up cpuidle_wake_all_cpus
This commit is contained in:
setrofim 2017-04-21 11:44:25 +01:00 committed by GitHub
commit 98cf7d00c7

View File

@ -54,7 +54,7 @@ cpufreq_trace_all_frequencies() {
cpuidle_wake_all_cpus() {
CPU_PATHS=/sys/devices/system/cpu/cpu[0-9]*
MASK=0x1; for F in $CPU_PATHS; do
$BUSYBOX taskset $MASK true
$BUSYBOX taskset $MASK true &
MASK=$($BUSYBOX printf '0x%x' $((MASK * 2)))
done
}