From da03c930cfd5e841f64ee5220564934f36f26c1a Mon Sep 17 00:00:00 2001 From: Rafael Folco Date: Wed, 21 Aug 2024 16:29:18 -0400 Subject: [PATCH] Add clocksource for arm --- bash/library/bench-base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/library/bench-base b/bash/library/bench-base index 939ce15..cb7025e 100644 --- a/bash/library/bench-base +++ b/bash/library/bench-base @@ -102,12 +102,12 @@ function validate_clocksource() { if pushd ${clocksource_dir} > /dev/null; then clocksource=$(cat current_clocksource) available_clocksources=$(cat available_clocksource) - supported_clocksources="tsc kvm-clock hyperv_clocksource_tsc_page" + supported_clocksources="tsc kvm-clock hyperv_clocksource_tsc_page arch_sys_counter" popd > /dev/null case "${clocksource}" in - "tsc"|"kvm-clock"|"hyperv_clocksource_tsc_page") + "tsc"|"kvm-clock"|"hyperv_clocksource_tsc_page"|"arch_sys_counter") echo "Verified clocksource is ${clocksource}" return 0 ;;