summaryrefslogtreecommitdiff
path: root/src/kpi/dlt-kpi.h
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2019-01-08 16:45:04 +0900
committerSaya Sugiura <ssugiura@jp.adit-jv.com>2019-05-06 15:55:01 +0900
commitdf6fc2a1ce9f3a1778e9c8e14c800cd2ad96e96e (patch)
tree6356575d4f9e6461769f7b40b72829366feb37b4 /src/kpi/dlt-kpi.h
parent4fe69b0927f4c5d0cb3b3ae4fa64500db22b13d0 (diff)
downloadDLT-daemon-df6fc2a1ce9f3a1778e9c8e14c800cd2ad96e96e.tar.gz
POSIX: Replace usleep with nanosleep
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src/kpi/dlt-kpi.h')
-rw-r--r--src/kpi/dlt-kpi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kpi/dlt-kpi.h b/src/kpi/dlt-kpi.h
index ff647d4..4cefb73 100644
--- a/src/kpi/dlt-kpi.h
+++ b/src/kpi/dlt-kpi.h
@@ -40,6 +40,9 @@
#define COMMAND_LINE_SIZE 1024
+#define NANOSEC_PER_MILLISEC 1000000
+#define NANOSEC_PER_SEC 1000000000
+
/* STRUCTURES */
typedef struct
{