Skip to content

Commit

Permalink
chore: add scripts to set perf_event_paranoid
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Apr 16, 2024
1 parent 060b729 commit d79a028
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/benchmark_start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
3 changes: 3 additions & 0 deletions scripts/benchmark_stop.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

echo 4 | sudo tee /proc/sys/kernel/perf_event_paranoid

0 comments on commit d79a028

Please sign in to comment.