diff options
Diffstat (limited to 'SCAN-SSA/support/timer.h')
-rw-r--r-- | SCAN-SSA/support/timer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SCAN-SSA/support/timer.h b/SCAN-SSA/support/timer.h index 194569f..5411254 100644 --- a/SCAN-SSA/support/timer.h +++ b/SCAN-SSA/support/timer.h @@ -56,8 +56,8 @@ void stop(Timer *timer, int i) { (timer->stopTime[i].tv_usec - timer->startTime[i].tv_usec);
}
-void printall(Timer *timer) {
- for (int i = 0; i <= 5; i++) {
+void printall(Timer *timer, int maxt) {
+ for (int i = 0; i <= maxt; i++) {
printf(" timer%d_us=%f", i, timer->time[i]);
}
printf("\n");
|