From b3235ccc79c0783e95c1c5524b8b421d2d048cf7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 25 May 2023 09:00:26 +0200 Subject: port SEL cpu baseline to dfatool --- SEL/support/timer.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'SEL/support') diff --git a/SEL/support/timer.h b/SEL/support/timer.h index b53d95f..4d597b9 100755 --- a/SEL/support/timer.h +++ b/SEL/support/timer.h @@ -57,3 +57,10 @@ void stop(Timer *timer, int i) { } void print(Timer *timer, int i, int REP) { printf("Time (ms): %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