view 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
line wrap: on
line source
#ifndef CLOCK_H_INCLUDED
#define CLOCK_H_INCLUDED
#include <sys/time.h>
#include <stdio.h>

typedef long long int myClock_t;

namespace Clock
{
  myClock_t getTimeUs();
}
#endif /* CLOCK_H_INCLUDED */