File: benchmark-epilogue.sh

package info (click to toggle)
libatomic-queue 1.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,336 kB
  • sloc: cpp: 1,704; javascript: 368; makefile: 126; ansic: 91; python: 82; sh: 60
file content (7 lines) | stat: -rwxr-xr-x 231 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/bin/bash

set +e # Ignore failures.

sudo cpupower frequency-set --related --governor powersave >/dev/null

[[ -f .sched_rt_runtime_us.txt ]] && sudo tee /proc/sys/kernel/sched_rt_runtime_us >/dev/null <.sched_rt_runtime_us.txt