Mercurial > hg > beaglert
annotate include/Clock.h @ 137:aac018615930 ClockSync
MovingAverage now returns a meaningful value also when the buffer is not full
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sun, 13 Sep 2015 21:31:37 +0100 |
parents | e77e2e712fbc |
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 */ |