From 4052d7b4c0e1a59419f07642b9a33088f5745d28 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 14 May 2025 13:43:55 +0200 Subject: BFS: AspectC++ (and behaviour model) support --- include/timer_base.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/timer_base.h') diff --git a/include/timer_base.h b/include/timer_base.h index fed8bec..dcc73b7 100644 --- a/include/timer_base.h +++ b/include/timer_base.h @@ -31,6 +31,11 @@ void stop(Timer *timer, int i) (timer->stopTime[i].tv_usec - timer->startTime[i].tv_usec); } +void zero(Timer *timer, int i) +{ + timer->time[0] = 0; +} + #else #define dfatool_printf(fmt, ...) do {} while (0) @@ -50,4 +55,10 @@ void stop(Timer *timer, int i) (void)i; } +void zero(Timer *timer, int i) +{ + (void)timer; + (void)i; +} + #endif -- cgit v1.2.3