From 4ce2398d965016bd2e359b168770f856a48b4d7e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 26 May 2023 09:36:01 +0200 Subject: port GEMV CPU baseline to dfatool --- GEMV/support/timer.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'GEMV/support') diff --git a/GEMV/support/timer.h b/GEMV/support/timer.h index 2ea4119..dab58ca 100755 --- a/GEMV/support/timer.h +++ b/GEMV/support/timer.h @@ -60,3 +60,10 @@ void stop(Timer *timer, int i) { } void print(Timer *timer, int i, int REP) { printf("%f\t", timer->time[i] / (1000 * REP)); } + +void printall(Timer *timer, int maxt) { + for (int i = 0; i <= maxt; i++) { + printf(" timer%d_us=%f", i, timer->time[i]); + } + printf("\n"); +} -- cgit v1.2.3