summaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-04-30 23:55:57 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-05 16:22:47 +0200
commit1ca194d352688224d26755a0edebbab6a1841ad9 (patch)
tree3bb83d7d6bc3cc9c117757431256a6e11976d180 /signal-composer-binding/signal.hpp
parentc5eeda8be950fa638beb9eec196b6d1e8fec746a (diff)
Use Nanosecond precision by default
This is the default precision returned by the kernel when calling get_clocktime(), so this avoid useless division to get a less precise time. Also signaling event should have this kind of precision to be able to correctly debugging system on signals heavy load. Change-Id: I010b98305cff7387787fd8f8a1e8a0f9107a170a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'signal-composer-binding/signal.hpp')
-rw-r--r--signal-composer-binding/signal.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/signal-composer-binding/signal.hpp b/signal-composer-binding/signal.hpp
index 815c7d9..091d060 100644
--- a/signal-composer-binding/signal.hpp
+++ b/signal-composer-binding/signal.hpp
@@ -24,7 +24,7 @@
#include "observer-pattern.hpp"
-#define MICRO 1000000
+#define NANO 1000000000
class Composer;