Skip to content

Commit

Permalink
Add clocksource for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfolco committed Aug 21, 2024
1 parent e4ad968 commit da03c93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bash/library/bench-base
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit da03c93

Please sign in to comment.