Changeset 20384 in vbox
- Timestamp:
- Jun 8, 2009 8:46:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r20382 r20384 4222 4222 ComPtr <IHost> host; 4223 4223 virtualBox->COMGETTER(Host)(host.asOutParam()); 4224 ULONG uHostMemoryMB; 4225 host->COMGETTER(MemorySize)(&uHostMemoryMB); 4224 ULONG uHostRamMb = 0, uHostRamAvailMb = 0; 4225 host->COMGETTER(MemorySize)(&uHostRamMb); 4226 host->COMGETTER(MemoryAvailable)(&uHostRamAvailMb); 4226 4227 if (uLogHistoryCount) 4227 4228 { … … 4282 4283 if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW) 4283 4284 RTLogRelLogger(loggerRelease, 0, ~0U, "OS Service Pack: %s\n", szTmp); 4284 RTLogRelLogger(loggerRelease, 0, ~0U, "Host RAM: %uMB\n", uHostMemoryMB); 4285 RTLogRelLogger(loggerRelease, 0, ~0U, "Host RAM: %uMB RAM, available: %uMB\n", 4286 uHostRamMb, uHostRamAvailMb); 4285 4287 /* the package type is interesting for Linux distributions */ 4286 4288 char szExecName[RTPATH_MAX];
Note:
See TracChangeset
for help on using the changeset viewer.