summaryrefslogtreecommitdiff
path: root/sysmon/src/main.cc
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-01-06 07:07:51 -0500
committerRaghuram Subramani <raghus2247@gmail.com>2025-01-06 07:07:51 -0500
commit9770a7347ca8b8e9c50a6b572dad984ffbc6354d (patch)
treea0b7c8b3288f98cb23a8ab54e65e1644e92b882e /sysmon/src/main.cc
parent54ebec99ad42f23f0039ea5f612653e3549aff39 (diff)
refactor
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();
}