Files
openalpr-base/src/openalpr/support/timing.h
2014-03-24 10:46:30 +01:00

23 lines
327 B
C++

#ifndef TIMING_H
#define TIMING_H
#include <iostream>
// Support for OS X
#ifdef __MACH__
#include <mach/clock.h>
#include <mach/mach.h>
#endif
// Support for Windows
#ifdef WINDOWS
#include <windows.h>
#define timespec timeval
#endif
void getTime(timespec* time);
double diffclock(timespec time1,timespec time2);
#endif