Added epoch time to json output

This commit is contained in:
Matt Hill
2014-05-20 21:06:35 -05:00
parent df0288febd
commit 7947474ee3
3 changed files with 10 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
#define TIMING_H
#include <iostream>
#include <ctime>
// Support for OS X
#ifdef __MACH__
@@ -19,4 +20,6 @@
void getTime(timespec* time);
double diffclock(timespec time1,timespec time2);
int getEpochTime();
#endif