//
// MyTime.h: Cross platform time functions
//
#ifndef __MyTime__H
#define __MyTime__H
#ifdef WIN32
#include <windows.h>
#define MyTime DWORD
inline MyTime GetMyTime() { return GetTickCount(); }
inline int GetMyAccuracy() { return 1000; }
#else
#include <time.h>
#define MyTime clock_t
inline MyTime GetMyTime() { return clock(); }
inline int GetMyAccuracy() { return CLOCKS_PER_SEC; }
#endif
#endif // MyTime__h