Merge pull request #1 from Boromatic/master

Update StopWatch.cpp
This commit is contained in:
Jonathan Naylor 2016-01-21 11:58:23 +00:00
commit 6262f9ee73

View file

@ -77,7 +77,7 @@ unsigned int CStopWatch::elapsed()
} else {
long temp = -m_start.tv_nsec / 1000000L;
temp += (now.tv_sec - m_start.tv_sec) * 1000L;
temp += m_start.tv_nsec / 1000000L;
temp += now.tv_nsec / 1000000L;
return temp;
}
}