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:
commit
98cf7d00c7
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user