Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / histogram / benchmark / disable_cpu_scaling.sh
1 #!/bin/bash
2
3 # Copyright Hans Dembinski 2019
4 # Distributed under the Boost Software License, Version 1.0.
5 # See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
6
7 for cpu in /sys/devices/system/cpu/cpu? ; do echo performance > $cpu/cpufreq/scaling_governor; done