You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
3.6 KiB
109 lines
3.6 KiB
/*++
|
|
|
|
Copyright (c) 1996 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
DATACACH.h
|
|
|
|
Abstract:
|
|
|
|
Header file for the Windows NT Cache Performance counters.
|
|
|
|
This file contains definitions to construct the dynamic data
|
|
which is returned by the Configuration Registry. Data from
|
|
various system API calls is placed into the structures shown
|
|
here.
|
|
|
|
Author:
|
|
|
|
Bob Watson 28-Oct-1996
|
|
|
|
Revision History:
|
|
|
|
|
|
--*/
|
|
|
|
#ifndef _DATACACH_H_
|
|
#define _DATACACH_H_
|
|
|
|
//
|
|
// Cache Performance Object
|
|
//
|
|
|
|
typedef struct _CACHE_DATA_DEFINITION {
|
|
PERF_OBJECT_TYPE CacheObjectType;
|
|
PERF_COUNTER_DEFINITION cdDataMaps;
|
|
PERF_COUNTER_DEFINITION cdSyncDataMaps;
|
|
PERF_COUNTER_DEFINITION cdAsyncDataMaps;
|
|
PERF_COUNTER_DEFINITION cdDataMapHits;
|
|
PERF_COUNTER_DEFINITION cdDataMapHitsBase;
|
|
PERF_COUNTER_DEFINITION cdDataMapPins;
|
|
PERF_COUNTER_DEFINITION cdDataMapPinsBase;
|
|
PERF_COUNTER_DEFINITION cdPinReads;
|
|
PERF_COUNTER_DEFINITION cdSyncPinReads;
|
|
PERF_COUNTER_DEFINITION cdAsyncPinReads;
|
|
PERF_COUNTER_DEFINITION cdPinReadHits;
|
|
PERF_COUNTER_DEFINITION cdPinReadHitsBase;
|
|
PERF_COUNTER_DEFINITION cdCopyReads;
|
|
PERF_COUNTER_DEFINITION cdSyncCopyReads;
|
|
PERF_COUNTER_DEFINITION cdAsyncCopyReads;
|
|
PERF_COUNTER_DEFINITION cdCopyReadHits;
|
|
PERF_COUNTER_DEFINITION cdCopyReadHitsBase;
|
|
PERF_COUNTER_DEFINITION cdMdlReads;
|
|
PERF_COUNTER_DEFINITION cdSyncMdlReads;
|
|
PERF_COUNTER_DEFINITION cdAsyncMdlReads;
|
|
PERF_COUNTER_DEFINITION cdMdlReadHits;
|
|
PERF_COUNTER_DEFINITION cdMdlReadHitsBase;
|
|
PERF_COUNTER_DEFINITION cdReadAheads;
|
|
PERF_COUNTER_DEFINITION cdFastReads;
|
|
PERF_COUNTER_DEFINITION cdSyncFastReads;
|
|
PERF_COUNTER_DEFINITION cdAsyncFastReads;
|
|
PERF_COUNTER_DEFINITION cdFastReadResourceMiss;
|
|
PERF_COUNTER_DEFINITION cdFastReadNotPossibles;
|
|
PERF_COUNTER_DEFINITION cdLazyWriteFlushes;
|
|
PERF_COUNTER_DEFINITION cdLazyWritePages;
|
|
PERF_COUNTER_DEFINITION cdDataFlushes;
|
|
PERF_COUNTER_DEFINITION cdDataPages;
|
|
} CACHE_DATA_DEFINITION, * PCACHE_DATA_DEFINITION;
|
|
|
|
typedef struct _CACHE_COUNTER_DATA {
|
|
PERF_COUNTER_BLOCK CounterBlock;
|
|
DWORD DataMaps;
|
|
DWORD SyncDataMaps;
|
|
DWORD AsyncDataMaps;
|
|
DWORD DataMapHits;
|
|
DWORD DataMapHitsBase;
|
|
DWORD DataMapPins;
|
|
DWORD DataMapPinsBase;
|
|
DWORD PinReads;
|
|
DWORD SyncPinReads;
|
|
DWORD AsyncPinReads;
|
|
DWORD PinReadHits;
|
|
DWORD PinReadHitsBase;
|
|
DWORD CopyReads;
|
|
DWORD SyncCopyReads;
|
|
DWORD AsyncCopyReads;
|
|
DWORD CopyReadHits;
|
|
DWORD CopyReadHitsBase;
|
|
DWORD MdlReads;
|
|
DWORD SyncMdlReads;
|
|
DWORD AsyncMdlReads;
|
|
DWORD MdlReadHits;
|
|
DWORD MdlReadHitsBase;
|
|
DWORD ReadAheads;
|
|
DWORD FastReads;
|
|
DWORD SyncFastReads;
|
|
DWORD AsyncFastReads;
|
|
DWORD FastReadResourceMiss;
|
|
DWORD FastReadNotPossibles;
|
|
DWORD LazyWriteFlushes;
|
|
DWORD LazyWritePages;
|
|
DWORD DataFlushes;
|
|
DWORD DataPages;
|
|
} CACHE_COUNTER_DATA, * PCACHE_COUNTER_DATA;
|
|
|
|
extern CACHE_DATA_DEFINITION CacheDataDefinition;
|
|
|
|
#endif _DATACACH_H_
|
|
|