Return mostly correct information so taskmgr doesn't just report zero for "System Cache".

svn path=/trunk/; revision=38381
This commit is contained in:
Andrew Munger 2008-12-27 11:44:21 +00:00
parent 769ff5b164
commit ae171d25d2

View file

@ -1157,7 +1157,10 @@ QSI_DEF(SystemFileCacheInformation)
MiMemoryConsumers[MC_CACHE].PagesUsed * PAGE_SIZE;
Sci->PeakSize =
MiMemoryConsumers[MC_CACHE].PagesUsed * PAGE_SIZE; /* FIXME */
/* Taskmgr multiplies this one by page size right away */
Sci->CurrentSizeIncludingTransitionInPages =
MiMemoryConsumers[MC_CACHE].PagesUsed; /* FIXME: Should include */
/* stanby and free pages, which I don't think we track right now */
Sci->PageFaultCount = 0; /* FIXME */
Sci->MinimumWorkingSet = 0; /* FIXME */
Sci->MaximumWorkingSet = 0; /* FIXME */