From adc730fc156b2e38ca8590eb57da611d1d10827b Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Wed, 5 May 2021 20:20:27 +0000 Subject: [PATCH] fix: correct experiment scripts to use new header --- runtime/experiments/bimodal/run.sh | 2 +- runtime/experiments/concurrency/run.sh | 2 +- runtime/experiments/payload/run.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/experiments/bimodal/run.sh b/runtime/experiments/bimodal/run.sh index ce7b072..051562c 100755 --- a/runtime/experiments/bimodal/run.sh +++ b/runtime/experiments/bimodal/run.sh @@ -39,7 +39,7 @@ run_samples() { # Scrape the perf window size from the source if possible # TODO: Make a util function - local -r perf_window_path="$(path_join "$__run_sh__base_path" ../../include/perf_window.h)" + local -r perf_window_path="$(path_join "$__run_sh__base_path" ../../include/perf_window_t.h)" local -i perf_window_buffer_size if ! perf_window_buffer_size=$(grep "#define PERF_WINDOW_BUFFER_SIZE" < "$perf_window_path" | cut -d\ -f3); then printf "Failed to scrape PERF_WINDOW_BUFFER_SIZE from ../../include/perf_window.h\n" diff --git a/runtime/experiments/concurrency/run.sh b/runtime/experiments/concurrency/run.sh index b745a70..72bd0ae 100755 --- a/runtime/experiments/concurrency/run.sh +++ b/runtime/experiments/concurrency/run.sh @@ -36,7 +36,7 @@ run_samples() { # Scrape the perf window size from the source if possible # TODO: Make a util function - local -r perf_window_path="$(path_join "$__run_sh__base_path" ../../include/perf_window.h)" + local -r perf_window_path="$(path_join "$__run_sh__base_path" ../../include/perf_window_t.h)" local -i perf_window_buffer_size if ! perf_window_buffer_size=$(grep "#define PERF_WINDOW_BUFFER_SIZE" < "$perf_window_path" | cut -d\ -f3); then printf "Failed to scrape PERF_WINDOW_BUFFER_SIZE from ../../include/perf_window.h\n" diff --git a/runtime/experiments/payload/run.sh b/runtime/experiments/payload/run.sh index c4b31be..5876118 100755 --- a/runtime/experiments/payload/run.sh +++ b/runtime/experiments/payload/run.sh @@ -40,7 +40,7 @@ run_samples() { local hostname="$1" # Scrape the perf window size from the source if possible - local -r perf_window_path="$(path_join "$__run_sh__base_path" ../../include/perf_window.h)" + local -r perf_window_path="$(path_join "$__run_sh__base_path" ../../include/perf_window_t.h)" local -i perf_window_buffer_size if ! perf_window_buffer_size=$(grep "#define PERF_WINDOW_BUFFER_SIZE" < "$perf_window_path" | cut -d\ -f3); then printf "Failed to scrape PERF_WINDOW_BUFFER_SIZE from ../../include/perf_window.h\n"