- Timestamp:
- May 30, 2013 8:43:46 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTSystemQueryOsInfo.cpp
r44528 r46318 66 66 RTTestIPrintf(RTTESTLVL_ALWAYS, "SERVICE_PACK: \"%s\", rc=%Rrc\n", szInfo, rc); 67 67 68 uint64_t cbTotal; 69 rc = RTSystemQueryTotalRam(&cbTotal); 70 RTTestIPrintf(RTTESTLVL_ALWAYS, "Total RAM: %'RU64 Bytes (%RU64 KB, %RU64 MB)\n", 71 cbTotal, cbTotal / _1K, cbTotal / _1M); 72 73 uint64_t cbAvailable; 74 rc = RTSystemQueryAvailableRam(&cbAvailable); 75 RTTestIPrintf(RTTESTLVL_ALWAYS, "Available RAM: %'RU64 Bytes (%RU64 KB, %RU64 MB)\n", 76 cbAvailable, cbAvailable / _1K, cbAvailable / _1M); 77 68 78 /* 69 79 * Check that unsupported stuff is terminated correctly.
Note:
See TracChangeset
for help on using the changeset viewer.