Changed Linux time function

With CLOCK_MONOTONIC_RAW, the timer should never go back in time.
dev-ui
Piotr Dziwinski 2013-03-19 23:08:39 +01:00
parent 025bedecfb
commit 3bb83e5595
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ SystemDialogResult SystemDialog_Linux(SystemDialogType type, const std::string&
void GetCurrentTimeStamp_Linux(SystemTimeStamp *stamp)
{
clock_gettime(CLOCK_MONOTONIC, &stamp->clockTime);
clock_gettime(CLOCK_MONOTONIC_RAW, &stamp->clockTime);
}
long long GetTimeStampExactResolution_Linux()