Re: NtQuerySystemInformation

From
Alex Fedotov ()
To
Anatoly Ivanoff
Date
2001-05-28T22:48:01Z
Area
SU.WINDOWS.NT.PROG
From: "Alex Fedotov" <alexf@3cube.com>

Anatoly Ivanoff wrote:

> Напpимеp:
> InformationClass=0x15 - System Cache Information возвpащает стpyктypy c:
>  CurrentSize      :ULong;
>  PeakSize         :ULong;
>  PageFaultCount   :ULong;
>  MinimumWorkingSet:ULong;
>  MaximumWorkingSet:ULong;
>  Unused           :ULong;

Согласно "Windows NT/2000 Native API reference" by Gary Nebbet,

typedef struct _SYSTEM_CACHE_INFORMATION {
    ULONG SystemCacheWsSize;
    ULONG SystemCacheWsPeakSize;
    ULONG SystemCacheWsFaults;
    ULONG SystemCacheWsMinimum;
    ULONG SystemCacheWsMaximum;
    ULONG TransitionSharedPages;
    ULONG TransitionSharedPagesPeak;
    ULONG Reserved[2];
} SYSTEM_CACHE_INFORMATION, * PSYSTEM_CACHE_INFORMATION;

Members

SystemCacheWsSize
    The size in bytes of the system working set.

SystemCacheWsPeakSize
    The peak size in bytes of the system working set.

SystemCacheWsFaults
    The number of page faults incurred by the system working set.

SystemCacheWsMinimum
    The minimum desirable size in pages of the system working set.

SystemCacheWsMaximum
    The maximum desirable size in pages of the system working set.

TransitionSharedPages
    The sum of the number of pages in the system working set and the number
of shared pages on the Standby list. This value is only valid in Windows
2000.

TransitionSharedPagesPeak
    The peak number of shared pages on the Standby list. This value is only
valid in Windows 2000.

--
Alex Fedotov


--- ifmail v.2.15dev5
 * Origin: 3Cube, Inc. (www.3cube.com) (2:5020/400)