#include #include #include "timer.h" struct _timeb start; void ResetTimer() { _ftime(&start); } double CheckTimer() { double seconds; struct _timeb now; _ftime(&now); seconds = (now.time - start.time) + ((double)(now.millitm - start.millitm))/1000; return seconds; }