summaryrefslogtreecommitdiff
path: root/sysmon/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sysmon/src/main.cc')
-rw-r--r--sysmon/src/main.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysmon/src/main.cc b/sysmon/src/main.cc
index 7cc27ef..fafba8c 100644
--- a/sysmon/src/main.cc
+++ b/sysmon/src/main.cc
@@ -271,7 +271,5 @@ update_stat(void)
static double
get_time(void)
{
- struct timeval tv;
- gettimeofday(&tv, 0);
- return tv.tv_sec + tv.tv_usec / 1000000.0;
+ return winnie_get_time();
}