MINOR: clock: replace the timeval start_time with start_time_ns
Now that "now" is no more a timeval, there's no point keeping a copy
of it as a timeval, let's also switch start_time to nanoseconds, it
simplifies operations.
diff --git a/src/activity.c b/src/activity.c
index d99bf10..4f72690 100644
--- a/src/activity.c
+++ b/src/activity.c
@@ -1087,7 +1087,7 @@
} while (0)
/* retrieve uptime */
- up = now_ns - tv_to_ns(&start_time);
+ up = now_ns - start_time_ns;
up_sec = ns_to_sec(up);
up_usec = (up / 1000U) % 1000000U;