VirtualBox

Ignore:
Timestamp:
Apr 26, 2010 9:27:40 AM (15 years ago)
Author:
vboxsync
Message:

Tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceStats.cpp

    r28736 r28737  
    208208    req.guestStats.u32PageFileSize      = (uint32_t)(memStatus.ullTotalPageFile / _4K) - req.guestStats.u32PhysMemTotal;
    209209    req.guestStats.u32MemoryLoad        = memStatus.dwMemoryLoad;
    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;
     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;
    212212#ifdef VBOX_WITH_MEMBALLOON
    213213    req.guestStats.u32PhysMemBalloon    = VBoxServiceBalloonQueryPages(_4K);
    214214    req.guestStats.u32StatCaps         |= VBOX_GUEST_STAT_PHYS_MEM_BALLOON;
    215215#else
    216         req.guestStats.u32PhysMemBalloon    = 0;
     216    req.guestStats.u32PhysMemBalloon    = 0;
    217217#endif
    218218
     
    353353
    354354    req.guestStats.u32PageSize = getpagesize();
    355         req.guestStats.u32StatCaps  = VBOX_GUEST_STAT_PHYS_MEM_TOTAL \
    356                                                             | VBOX_GUEST_STAT_PHYS_MEM_AVAIL \
    357                                                             | VBOX_GUEST_STAT_PAGE_FILE_SIZE;
     355    req.guestStats.u32StatCaps  = VBOX_GUEST_STAT_PHYS_MEM_TOTAL \
     356                                | VBOX_GUEST_STAT_PHYS_MEM_AVAIL \
     357                                | VBOX_GUEST_STAT_PAGE_FILE_SIZE;
    358358#ifdef VBOX_WITH_MEMBALLOON
    359359    req.guestStats.u32PhysMemBalloon  = VBoxServiceBalloonQueryPages(_4K);
     
    534534                                   | VBOX_GUEST_STAT_PAGE_FILE_SIZE;
    535535#ifdef VBOX_WITH_MEMBALLOON
    536                 req.guestStats.u32PhysMemBalloon  = VBoxServiceBalloonQueryPages(_4K);
    537                 req.guestStats.u32StatCaps       |= VBOX_GUEST_STAT_PHYS_MEM_BALLOON;
     536        req.guestStats.u32PhysMemBalloon  = VBoxServiceBalloonQueryPages(_4K);
     537        req.guestStats.u32StatCaps       |= VBOX_GUEST_STAT_PHYS_MEM_BALLOON;
    538538#else
    539                 req.guestStats.u32PhysMemBalloon  = 0;
     539        req.guestStats.u32PhysMemBalloon  = 0;
    540540#endif
    541541
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette