summaryrefslogtreecommitdiffstats
path: root/src/clocks.h
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2017-07-27 09:55:47 +0000
committerLennart Weller <lhw@ring0.de>2017-07-27 09:55:47 +0000
commita133c9c3b637b1dbe7b5b053f7e2572c1950cead (patch)
tree2207939a88e96bca329457f40a9d9d18ab659dc1 /src/clocks.h
parentNew upstream version 1.6.0+dfsg (diff)
downloadnetdata-19559404798ad11eaca763453385d0c6dd9bf898.tar.xz
netdata-19559404798ad11eaca763453385d0c6dd9bf898.zip
New upstream version 1.7.0+dfsgupstream/1.7.0+dfsg
Diffstat (limited to 'src/clocks.h')
-rw-r--r--src/clocks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clocks.h b/src/clocks.h
index 197b5431..ca571525 100644
--- a/src/clocks.h
+++ b/src/clocks.h
@@ -55,6 +55,8 @@ typedef usec_t heartbeat_t;
#define USEC_PER_SEC 1000000ULL
#define MSEC_PER_SEC 1000ULL
+#define USEC_PER_MS 1000ULL
+
#ifndef HAVE_CLOCK_GETTIME
/* Fallback function for POSIX.1-2001 clock_gettime() function.
*