#ifndef WATCH_H
#define WATCH_H
//#include <sys\timeb.h>
#include <time.h>
class Watch
{
public:
Watch(void);
void Start();
void Stop();
void Reset();
long GetElapsedTime();
private:
//long _startTime;
//long _stopTime;
struct timespec _startTime;
struct timespec _stopTime;
bool _isRunning;
//long GetTime();
};
long diff(timespec t1, timespec t2);
#endif