Changeset 72550 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Jun 13, 2018 6:00:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/cpu/rdtsc.cpp
r72549 r72550 115 115 uValue = strtoul(pszValue, &pszNext, 0); 116 116 if (pszNext && *pszNext != '\0') 117 { 117 118 if (*pszNext == 'M'&& pszNext[1] == '\0') 118 119 uValue *= _1M; … … 126 127 return RTEXITCODE_SYNTAX; 127 128 } 129 } 128 130 break; 129 131 } … … 259 261 break; 260 262 time_t uSecNow; 261 if ( time(&uSecNow) == -1 262 || cMinSeconds == -1 263 if ( time(&uSecNow) == (time_t)-1 264 || uSecNow == (time_t)-1 265 || uSecStart == (time_t)-1 263 266 || uSecNow - uSecStart >= cMinSeconds) 264 267 break;
Note:
See TracChangeset
for help on using the changeset viewer.