Source code of Windows XP (NT5)
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.
|
|
/*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
DATASRV.h
Abstract:
Header file for the Windows NT Server 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 _DATASRV_H_
#define _DATASRV_H_
//
// logical disk performance definition structure
//
//
// This is the Srv counter structure presently returned by NT.
//
typedef struct _SRV_DATA_DEFINITION { PERF_OBJECT_TYPE SrvObjectType; PERF_COUNTER_DEFINITION cdTotalBytes; PERF_COUNTER_DEFINITION cdTotalBytesReceived; PERF_COUNTER_DEFINITION cdTotalBytesSent; PERF_COUNTER_DEFINITION cdSessionsTimedOut; PERF_COUNTER_DEFINITION cdSessionsErroredOut; PERF_COUNTER_DEFINITION cdSessionsLoggedOff; PERF_COUNTER_DEFINITION cdSessionsForcedLogOff; PERF_COUNTER_DEFINITION cdLogonErrors; PERF_COUNTER_DEFINITION cdAccessPermissionErrors; PERF_COUNTER_DEFINITION cdGrantedAccessErrors; PERF_COUNTER_DEFINITION cdSystemErrors; PERF_COUNTER_DEFINITION cdBlockingSmbsRejected; PERF_COUNTER_DEFINITION cdWorkItemShortages; PERF_COUNTER_DEFINITION cdTotalFilesOpened; PERF_COUNTER_DEFINITION cdCurrentOpenFiles; PERF_COUNTER_DEFINITION cdCurrentSessions; PERF_COUNTER_DEFINITION cdCurrentOpenSearches; PERF_COUNTER_DEFINITION cdCurrentNonPagedPoolUsage; PERF_COUNTER_DEFINITION cdNonPagedPoolFailures; PERF_COUNTER_DEFINITION cdPeakNonPagedPoolUsage; PERF_COUNTER_DEFINITION cdCurrentPagedPoolUsage; PERF_COUNTER_DEFINITION cdPagedPoolFailures; PERF_COUNTER_DEFINITION cdPeakPagedPoolUsage; PERF_COUNTER_DEFINITION cdContextBlockQueueRate; PERF_COUNTER_DEFINITION cdNetLogon; PERF_COUNTER_DEFINITION cdNetLogonTotal; } SRV_DATA_DEFINITION, *PSRV_DATA_DEFINITION;
typedef struct _SRV_COUNTER_DATA{ PERF_COUNTER_BLOCK CounterBlock; LONGLONG TotalBytes; LONGLONG TotalBytesReceived; LONGLONG TotalBytesSent; DWORD SessionsTimedOut; DWORD SessionsErroredOut; DWORD SessionsLoggedOff; DWORD SessionsForcedLogOff; DWORD LogonErrors; DWORD AccessPermissionErrors; DWORD GrantedAccessErrors; DWORD SystemErrors; DWORD BlockingSmbsRejected; DWORD WorkItemShortages; DWORD TotalFilesOpened; DWORD CurrentOpenFiles; DWORD CurrentSessions; DWORD CurrentOpenSearches; DWORD CurrentNonPagedPoolUsage; DWORD NonPagedPoolFailures; DWORD PeakNonPagedPoolUsage; DWORD CurrentPagedPoolUsage; DWORD PagedPoolFailures; DWORD PeakPagedPoolUsage; DWORD ContextBlockQueueRate; DWORD NetLogon; DWORD NetLogonTotal; } SRV_COUNTER_DATA, * PSRV_COUNTER_DATA;
extern SRV_DATA_DEFINITION SrvDataDefinition;
#endif // _DATASRV_H_
|