Mercurial > hg > beaglert
view include/Clock.h @ 138:53e3c0a3295d ClockSync
Added xenomai version of Clock, now includes header
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sun, 13 Sep 2015 21:33:01 +0100 |
parents | e77e2e712fbc |
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 */