aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timer.c b/src/timer.c
index f808fb02f..f9dfb1ab6 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -80,7 +80,7 @@ void timer_sync(Timer *timer)
my_usleep(sleep);
}
-int timer_get_runtime_ms(Timer *timer)
+uint64_t timer_get_runtime_us(Timer *timer)
{
- return (now() - timer->start_time)/1000;
+ return now() - timer->start_time;
}