Changeset 62725 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Jul 30, 2016 12:13:16 AM (9 years ago)
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/ntGetTimerResolution.cpp
r62592 r62725 31 31 #define _WIN32_WINNT 0x0500 32 32 #include <iprt/win/windows.h> 33 #include <iprt/types.h> 33 34 #include <stdio.h> 34 35 … … 41 42 int main() 42 43 { 43 ULONG Min = ~0;44 ULONG Max = ~0;45 ULONG Cur = ~0;44 ULONG Min = UINT32_MAX; 45 ULONG Max = UINT32_MAX; 46 ULONG Cur = UINT32_MAX; 46 47 NtQueryTimerResolution(&Max, &Min, &Cur); 47 48 printf("NtQueryTimerResolution -> Max=%08luns Min=%08luns Cur=%08luns\n", Min * 100, Max * 100, Cur * 100); -
trunk/src/VBox/Runtime/testcase/tstRTProcWait.cpp
r62477 r62725 50 50 DECLCALLBACK(int) SpawnerThread(RTTHREAD Thread, void *pvUser) 51 51 { 52 RT_NOREF1(Thread); 52 53 PSPAWNERARGS pArgs = (PSPAWNERARGS)pvUser; 53 54 pArgs->Process = NIL_RTPROCESS; -
trunk/src/VBox/Runtime/testcase/tstRTR0SemMutexDriver.cpp
r62721 r62725 70 70 static DECLCALLBACK(int) tstThreadFn(RTTHREAD hThreadSelf, void *pvUser) 71 71 { 72 RT_NOREF1(hThreadSelf) 72 73 uint32_t u32 = (uint32_t)(uintptr_t)pvUser; 73 74 TSTRTR0SEMMUTEX enmDo = (TSTRTR0SEMMUTEX)RT_LOWORD(u32); -
trunk/src/VBox/Runtime/testcase/tstRTR0ThreadPreemptionDriver.cpp
r62721 r62725 197 197 */ 198 198 RTTHREAD ahThreads[RTCPUSET_MAX_CPUS]; 199 uint32_t cThreads = RTMpGetCount();200 199 RTCPUSET OnlineSet; 201 200 RTMpGetOnlineSet(&OnlineSet); -
trunk/src/VBox/Runtime/testcase/tstRTR0TimerDriver.cpp
r62477 r62725 51 51 { 52 52 #ifndef VBOX 53 RT_NOREF3(argc, argv, envp); 53 54 RTPrintf("tstRTR0Timer: SKIPPED\n"); 54 55 return RTEXITCODE_SKIPPED; 56 55 57 #else 58 RT_NOREF1(envp); 59 56 60 /* 57 61 * Init.
Note:
See TracChangeset
for help on using the changeset viewer.