Changeset 10880 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jul 25, 2008 8:30:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/linux/PerformanceLinux.cpp
r10879 r10880 28 28 #include "Performance.h" 29 29 30 #ifndef PAGESIZE 31 #define PAGESIZE _SC_PAGESIZE 32 #endif 33 30 34 namespace pm { 31 35 … … 41 45 private: 42 46 int getRawProcessStats(RTPROCESS process, uint64_t *cpuUser, uint64_t *cpuKernel, unsigned long *memPagesUsed); 43 long getPageSize() { return sysconf( _SC_PAGESIZE); };47 long getPageSize() { return sysconf(PAGESIZE); }; 44 48 }; 45 49
Note:
See TracChangeset
for help on using the changeset viewer.