Mercurial > hg > beaglert
diff include/Clock.h @ 135:e77e2e712fbc ClockSync
To work with the ClockSync plugin
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sat, 12 Sep 2015 20:05:55 +0100 |
parents | |
children | 53e3c0a3295d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/Clock.h Sat Sep 12 20:05:55 2015 +0100 @@ -0,0 +1,12 @@ +#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 */ \ No newline at end of file