summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perform/pio_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perform/pio_timer.c b/perform/pio_timer.c
index cee7f6d..6a30027 100644
--- a/perform/pio_timer.c
+++ b/perform/pio_timer.c
@@ -124,7 +124,7 @@ set_time(pio_time *pt, timer_type t, int start_stop)
struct timeval sys_t;
gettimeofday(&sys_t, NULL);
- pt->total_time[t] =
+ pt->total_time[t] +=
((double)sys_t.tv_sec +
((double)sys_t.tv_usec) / MILLISECOND) -
((double)pt->sys_timer[t].tv_sec +