annotate include/Clock.h @ 135:e77e2e712fbc ClockSync

To work with the ClockSync plugin
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 12 Sep 2015 20:05:55 +0100
parents
children 53e3c0a3295d
rev   line source
giuliomoro@135 1 #ifndef CLOCK_H_INCLUDED
giuliomoro@135 2 #define CLOCK_H_INCLUDED
giuliomoro@135 3 #include <sys/time.h>
giuliomoro@135 4 #include <stdio.h>
giuliomoro@135 5
giuliomoro@135 6 typedef long long int myClock_t;
giuliomoro@135 7
giuliomoro@135 8 namespace Clock
giuliomoro@135 9 {
giuliomoro@135 10 myClock_t getTimeUs();
giuliomoro@135 11 }
giuliomoro@135 12 #endif /* CLOCK_H_INCLUDED */