taskmgr: Remove unused variable PageSize which is not really used from PerfDataGetPhysicalMemorySystemCacheK.
This commit is contained in:
parent
e9c1750204
commit
370cbe5e5b
|
@ -807,16 +807,13 @@ ULONG PerfDataGetPhysicalMemoryAvailableK(void)
|
||||||
ULONG PerfDataGetPhysicalMemorySystemCacheK(void)
|
ULONG PerfDataGetPhysicalMemorySystemCacheK(void)
|
||||||
{
|
{
|
||||||
ULONG SystemCache;
|
ULONG SystemCache;
|
||||||
ULONG PageSize;
|
|
||||||
|
|
||||||
EnterCriticalSection(&PerfDataCriticalSection);
|
EnterCriticalSection(&PerfDataCriticalSection);
|
||||||
|
|
||||||
SystemCache = SystemCacheInfo.CurrentSize;
|
SystemCache = SystemCacheInfo.CurrentSize;
|
||||||
PageSize = SystemBasicInfo.uPageSize;
|
|
||||||
|
|
||||||
LeaveCriticalSection(&PerfDataCriticalSection);
|
LeaveCriticalSection(&PerfDataCriticalSection);
|
||||||
|
|
||||||
/* SystemCache = SystemCache * (PageSize / 1024); */
|
|
||||||
SystemCache = SystemCache / 1024;
|
SystemCache = SystemCache / 1024;
|
||||||
|
|
||||||
return SystemCache;
|
return SystemCache;
|
||||||
|
|
Loading…
Reference in New Issue