Renaming member variables of the stopwatch to make this compile under windows.

Closes #6
This commit is contained in:
Manuel Kraemer 2012-06-13 11:09:08 -07:00
parent ae2e3c18d1
commit acad7e9c6d

View File

@ -95,10 +95,10 @@ public:
#else
void Start()
{
__int64 CreationTime, ExitTime;
__int64 CreationTime, ExitTime, KernelTime, UserTime;
GetProcessTimes(GetCurrentProcess(), (FILETIME*) &CreationTime, (FILETIME*) &ExitTime,
(FILETIME*) &m_system, (FILETIME*) &m_user);
GetSystemTimeAsFileTime((FILETIME*) &m_elapsed);
(FILETIME*) &KernelTime, (FILETIME*) &UserTime);
GetSystemTimeAsFileTime((FILETIME*) &_elapsed);
}
void Stop()