Changeset 28737 in vbox for trunk/src/VBox/Additions/common/VBoxService
- Timestamp:
- Apr 26, 2010 9:27:40 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceStats.cpp
r28736 r28737 208 208 req.guestStats.u32PageFileSize = (uint32_t)(memStatus.ullTotalPageFile / _4K) - req.guestStats.u32PhysMemTotal; 209 209 req.guestStats.u32MemoryLoad = memStatus.dwMemoryLoad; 210 211 210 req.guestStats.u32StatCaps = VBOX_GUEST_STAT_PHYS_MEM_TOTAL | VBOX_GUEST_STAT_PHYS_MEM_AVAIL | VBOX_GUEST_STAT_PAGE_FILE_SIZE 211 | VBOX_GUEST_STAT_MEMORY_LOAD; 212 212 #ifdef VBOX_WITH_MEMBALLOON 213 213 req.guestStats.u32PhysMemBalloon = VBoxServiceBalloonQueryPages(_4K); 214 214 req.guestStats.u32StatCaps |= VBOX_GUEST_STAT_PHYS_MEM_BALLOON; 215 215 #else 216 216 req.guestStats.u32PhysMemBalloon = 0; 217 217 #endif 218 218 … … 353 353 354 354 req.guestStats.u32PageSize = getpagesize(); 355 356 357 355 req.guestStats.u32StatCaps = VBOX_GUEST_STAT_PHYS_MEM_TOTAL \ 356 | VBOX_GUEST_STAT_PHYS_MEM_AVAIL \ 357 | VBOX_GUEST_STAT_PAGE_FILE_SIZE; 358 358 #ifdef VBOX_WITH_MEMBALLOON 359 359 req.guestStats.u32PhysMemBalloon = VBoxServiceBalloonQueryPages(_4K); … … 534 534 | VBOX_GUEST_STAT_PAGE_FILE_SIZE; 535 535 #ifdef VBOX_WITH_MEMBALLOON 536 537 536 req.guestStats.u32PhysMemBalloon = VBoxServiceBalloonQueryPages(_4K); 537 req.guestStats.u32StatCaps |= VBOX_GUEST_STAT_PHYS_MEM_BALLOON; 538 538 #else 539 539 req.guestStats.u32PhysMemBalloon = 0; 540 540 #endif 541 541
Note:
See TracChangeset
for help on using the changeset viewer.