7 lines
164 B
Bash
7 lines
164 B
Bash
|
#!/bin/bash
|
||
|
PREFETCH_MSR=$1
|
||
|
sudo wrmsr -a 0x1a4 $PREFETCH_MSR
|
||
|
sudo rdmsr -a 0x1a4
|
||
|
cargo run --release --bin rpa_patterns > rpa-with-${PREFETCH_MSR}-prefetcher.log
|
||
|
|