accurate timing on arm
perform_benchmark.cpp modifed for arm