diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-04-30 23:55:57 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-05 16:22:47 +0200 |
commit | 1ca194d352688224d26755a0edebbab6a1841ad9 (patch) | |
tree | 3bb83d7d6bc3cc9c117757431256a6e11976d180 /signal-composer-binding/signal.hpp | |
parent | c5eeda8be950fa638beb9eec196b6d1e8fec746a (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.hpp | 2 |
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; |