Mercurial > hg > beaglert
comparison 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 |
comparison
equal
deleted
inserted
replaced
137:aac018615930 | 138:53e3c0a3295d |
---|---|
1 #ifndef CLOCK_H_INCLUDED | 1 #ifndef CLOCK_H_INCLUDED |
2 #define CLOCK_H_INCLUDED | 2 #define CLOCK_H_INCLUDED |
3 #include <sys/time.h> | 3 #include <sys/time.h> |
4 #include <stdio.h> | 4 #include <stdio.h> |
5 | |
6 #ifdef USE_JUCE | |
7 #else | |
8 //#include <BeagleRT.h> | |
9 #include <native/timer.h> | |
10 #endif /* USE_JUCE */ | |
5 | 11 |
6 typedef long long int myClock_t; | 12 typedef long long int myClock_t; |
7 | 13 |
8 namespace Clock | 14 namespace Clock |
9 { | 15 { |