VirtualBox

Changeset 10882 in vbox


Ignore:
Timestamp:
Jul 25, 2008 9:18:02 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33704
Message:

Removed wrapper method for getpagesize()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/linux/PerformanceLinux.cpp

    r10881 r10882  
    4242private:
    4343    int getRawProcessStats(RTPROCESS process, uint64_t *cpuUser, uint64_t *cpuKernel, unsigned long *memPagesUsed);
    44     long getPageSize() { return getpagesize(); };
    4544};
    4645
     
    131130    if (RT_SUCCESS(rc))
    132131    {
    133         Assert(getPageSize() >= 1024);
    134         *used = nPagesUsed * (getPageSize() / 1024);
     132        Assert(getpagesize() >= 1024);
     133        *used = nPagesUsed * (getpagesize() / 1024);
    135134    }
    136135    return rc;
Note: See TracChangeset for help on using the changeset viewer.

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