Changeset 19308 in vbox
- Timestamp:
- May 3, 2009 7:24:41 PM (16 years ago)
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstLdr-4.cpp
r16933 r19308 180 180 break; 181 181 } 182 DECLCALLBACKPTR(int, pfnDisasmTest1)(void) = (DECLCALLBACKPTR(int, )(void))(uintptr_t)Value; /* eeeh. */182 DECLCALLBACKPTR(int, pfnDisasmTest1)(void) = (DECLCALLBACKPTR(int, RT_NOTHING)(void))(uintptr_t)Value; /* eeeh. */ 183 183 RTPrintf("tstLdr-4: pfnDisasmTest1=%p / add-symbol-file %s %#x\n", pfnDisasmTest1, pszFilename, aLoads[i].pvBits); 184 184 -
trunk/src/VBox/Runtime/testcase/tstPrfRT.cpp
r14831 r19308 79 79 * RTTimeNanoTS, RTTimeProgramNanoTS, RTTimeMilliTS, and RTTimeProgramMilliTS. 80 80 */ 81 ITERATE( , RTTimeNanoTS();,, 1000000);81 ITERATE(RT_NOTHING, RTTimeNanoTS();, RT_NOTHING, 1000000); 82 82 PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTTimeNanoTS"); 83 83 84 ITERATE( , RTTimeProgramNanoTS();,, 1000000);84 ITERATE(RT_NOTHING, RTTimeProgramNanoTS();, RT_NOTHING, 1000000); 85 85 PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTTimeProgramNanoTS"); 86 86 87 ITERATE( , RTTimeMilliTS();,, 1000000);87 ITERATE(RT_NOTHING, RTTimeMilliTS();, RT_NOTHING, 1000000); 88 88 PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTTimeMilliTS"); 89 89 90 ITERATE( , RTTimeProgramMilliTS();,, 1000000);90 ITERATE(RT_NOTHING, RTTimeProgramMilliTS();, RT_NOTHING, 1000000); 91 91 PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTTimeProgramMilliTS"); 92 92 … … 95 95 */ 96 96 RTTIMESPEC Time; 97 ITERATE( , RTTimeNow(&Time);,, 1000000);97 ITERATE(RT_NOTHING, RTTimeNow(&Time);, RT_NOTHING, 1000000); 98 98 PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTTimeNow"); 99 99 … … 101 101 * RTLogDefaultInstance() 102 102 */ 103 ITERATE( , RTLogDefaultInstance();,, 1000000);103 ITERATE(RT_NOTHING, RTLogDefaultInstance();, RT_NOTHING, 1000000); 104 104 PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTLogDefaultInstance"); 105 105 … … 107 107 * RTThreadSelf and RTThreadNativeSelf 108 108 */ 109 ITERATE( , RTThreadSelf();,, 1000000);109 ITERATE(RT_NOTHING, RTThreadSelf();, RT_NOTHING, 1000000); 110 110 PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTThreadSelf"); 111 111 112 ITERATE( , RTThreadNativeSelf();,, 1000000);112 ITERATE(RT_NOTHING, RTThreadNativeSelf();, RT_NOTHING, 1000000); 113 113 PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTThreadNativeSelf"); 114 114
Note:
See TracChangeset
for help on using the changeset viewer.