diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-26 09:36:01 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-26 09:52:53 +0200 |
commit | 4ce2398d965016bd2e359b168770f856a48b4d7e (patch) | |
tree | 45b630d8477a5b073a9c2420d10cb5bf222a22f8 /GEMV/support | |
parent | f54775fd3cfe4cdb5ea11a252a14c892d6cebcbb (diff) |
port GEMV CPU baseline to dfatool
Diffstat (limited to 'GEMV/support')
-rwxr-xr-x | GEMV/support/timer.h | 7 |
1 files changed, 7 insertions, 0 deletions
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");
+}
|