hbirr@svn.reactos.com wrote:
Fixed a bug within the calculation of the memory load.
Updated files: trunk/reactos/lib/kernel32/mem/global.c
Hi! Is PageSize == 4096? Why is NumberOfPhysicalPages used instead? Thanks, James
James Tabor wrote:
hbirr@svn.reactos.com wrote:
Fixed a bug within the calculation of the memory load.
Updated files: trunk/reactos/lib/kernel32/mem/global.c
Hi! Is PageSize == 4096? Why is NumberOfPhysicalPages used instead? Thanks, James _______________________________________________ Ros-dev mailing list Ros-dev@reactos.com http://reactos.com:8080/mailman/listinfo/ros-dev
I've reverted a bug from r16134:
*Modified: trunk/reactos/lib/kernel32/mem/global.c*
--- trunk/reactos/lib/kernel32/mem/global.c 2005-06-20 04:07:34 UTC (rev 16133) +++ trunk/reactos/lib/kernel32/mem/global.c 2005-06-20 04:07:49 UTC (rev 16134) @@ -407,38 +407,38 @@
*/ lpBuffer->dwMemoryLoad = (SysBasicInfo.NumberOfPhysicalPages - SysPerfInfo.AvailablePages) * 100 /
- SysBasicInfo.NumberOfPhysicalPages;
+ SysBasicInfo.PageSize;
- Hartmut