From: gartaud on

Hello

I'm trying to obtain the System Cache value using PerfMon but cannot find
the right performance counter (on Windows XP SP3 32-bit with 4GB of physical
memory).

Somehow Cache Bytes or System Cache Resident Bytes do not give me the
expected result. They are off by about a factor 10.

What is the latest definition of "System Cache" in the Task Manager?

Thanks!


From: Pavel Lebedinsky [MSFT] on

> I'm trying to obtain the System Cache value using PerfMon but cannot find
> the right performance counter (on Windows XP SP3 32-bit with 4GB of
> physical
> memory).
>
> Somehow Cache Bytes or System Cache Resident Bytes do not give me the
> expected result. They are off by about a factor 10.
>
> What is the latest definition of "System Cache" in the Task Manager?

See "Memory Performance Information" on MSDN:

http://msdn.microsoft.com/en-us/library/aa965225(VS.85).aspx

There is no perfmon counter that exactly matches System Cache in XP's
task manager. You can however get this value programmatically
(PERFORMANCE_INFORMATION.SystemCache).

--
Pavel Lebedinsky/Windows Fundamentals Test
This posting is provided "AS IS" with no warranties, and confers no rights.


 | 
Pages: 1
Prev: detect hiberante in .net
Next: C++ Win32 forum?