]> arthur.barton.de Git - netdata.git/blobdiff - src/clocks.h
Merge pull request #1855 from ktsaou/master
[netdata.git] / src / clocks.h
index 895f09ab4dbeac2b7caba20fed887a9df6b69b88..c410a0521661e329a0751789379bf1487534a79d 100644 (file)
@@ -13,6 +13,7 @@ typedef int clockid_t;
 #endif
 
 typedef unsigned long long usec_t;
+typedef long long susec_t;
 
 typedef usec_t heartbeat_t;
 
@@ -94,6 +95,7 @@ extern usec_t now_boottime_usec(void);
 
 extern usec_t timeval_usec(struct timeval *ts);
 extern usec_t dt_usec(struct timeval *now, struct timeval *old);
+extern susec_t dt_usec_signed(struct timeval *now, struct timeval *old);
 
 extern void heartbeat_init(heartbeat_t *hb);