projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e89ca27
)
use the NT5+ behavior of displaying the system cache size. fixes bug 856
author
Thomas Bluemel
<thomas@reactsoft.com>
Sat, 1 Oct 2005 14:38:10 +0000
(14:38 +0000)
committer
Thomas Bluemel
<thomas@reactsoft.com>
Sat, 1 Oct 2005 14:38:10 +0000
(14:38 +0000)
svn path=/trunk/; revision=18190
reactos/subsys/system/taskmgr/perfdata.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/system/taskmgr/perfdata.c
b/reactos/subsys/system/taskmgr/perfdata.c
index
ab730aa
..
6555c62
100644
(file)
--- a/
reactos/subsys/system/taskmgr/perfdata.c
+++ b/
reactos/subsys/system/taskmgr/perfdata.c
@@
-806,15
+806,12
@@
ULONG PerfDataGetPhysicalMemorySystemCacheK(void)
EnterCriticalSection(&PerfDataCriticalSection);
- SystemCache = SystemCacheInfo.CurrentSize;
PageSize = SystemBasicInfo.PageSize;
+ SystemCache = SystemCacheInfo.CurrentSizeIncludingTransitionInPages * PageSize;
LeaveCriticalSection(&PerfDataCriticalSection);
- /* SystemCache = SystemCache * (PageSize / 1024); */
- SystemCache = SystemCache / 1024;
-
- return SystemCache;
+ return SystemCache / 1024;
}
ULONG PerfDataGetSystemHandleCount(void)