Changeset 10919 in vbox for trunk/src/VBox/Main/linux
- Timestamp:
- Jul 28, 2008 6:41:31 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33765
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/linux/PerformanceLinux.cpp
r10882 r10919 22 22 */ 23 23 24 #include <unistd.h>25 24 #include <stdio.h> 26 25 #include <iprt/alloc.h> 27 26 #include <iprt/err.h> 27 #include <iprt/param.h> 28 28 #include <iprt/string.h> 29 29 #include "Performance.h" … … 131 131 { 132 132 Assert(getpagesize() >= 1024); 133 *used = nPagesUsed * ( getpagesize()/ 1024);133 *used = nPagesUsed * (PAGE_SIZE / 1024); 134 134 } 135 135 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.