view include/Clock.h @ 152:8f98b32d0e23 ClockSync

Last commit on this branch for a while. Overall not very succesful
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 05 Oct 2015 13:06:14 +0100
parents 53e3c0a3295d
children
line wrap: on
line source
#ifndef CLOCK_H_INCLUDED
#define CLOCK_H_INCLUDED
#include <sys/time.h>
#include <stdio.h>

#ifdef USE_JUCE
#else
//#include <BeagleRT.h>
#include <native/timer.h>
#endif /* USE_JUCE */

typedef long long int myClock_t;

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