VirtualBox

Ignore:
Timestamp:
May 30, 2013 12:37:09 PM (12 years ago)
Author:
vboxsync
Message:

Main/PerformanceLinux: switch to the runtime function for determining total/free RAM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/win/PerformanceWin.cpp

    r46321 r46328  
    9090    HMODULE mhNtDll;
    9191
    92     ULONG totalRAM;
     92    ULONG   totalRAM;
    9393};
    9494
     
    311311int CollectorWin::getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available)
    312312{
     313    AssertReturn(totalRAM, VERR_INTERNAL_ERROR);
    313314    uint64_t cb;
    314315    int rc = RTSystemQueryAvailableRam(&cb);
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