Changeset 48808 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Oct 2, 2013 7:48:29 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTMp-1.cpp
r46638 r48808 130 130 } 131 131 132 RTCPUID cCoresOnline = RTMpGetOnlineCoreCount(); 133 if (cCoresOnline > 0) 134 RTTestIPrintf(RTTESTLVL_ALWAYS, "RTMpGetOnlineCoreCount -> %d\n", (int)cCoresOnline); 135 else 136 { 137 RTTestIFailed("RTMpGetOnlineCoreCount -> %d, expected <= %d\n", (int)cCoresOnline, (int)cCpusOnline); 138 cCoresOnline = 1; 139 } 140 RTTESTI_CHECK(cCoresOnline <= cCpusOnline); 141 132 142 RTCPUSET SetOnline; 133 143 pSet = RTMpGetOnlineSet(&SetOnline);
Note:
See TracChangeset
for help on using the changeset viewer.