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.
 
 
 
 
 
 

148 lines
3.3 KiB

/*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
dataimag.c
Abstract:
a file containing the constant data structures used by the Performance
Monitor data for the Image Details Performance data objects
Created:
Bob Watson 22-Oct-1996
Revision History:
None.
--*/
//
// Include Files
//
#include <windows.h>
#include <winperf.h>
#include <ntprfctr.h>
#include <perfutil.h>
#include "dataimag.h"
// dummy variable for field sizing.
static IMAGE_COUNTER_DATA icd;
//
// Constant structure initializations
// defined in dataimag.h
//
IMAGE_DATA_DEFINITION ImageDataDefinition = {
{ 0,
sizeof (IMAGE_DATA_DEFINITION),
sizeof (PERF_OBJECT_TYPE),
IMAGE_OBJECT_TITLE_INDEX,
0,
741,
0,
PERF_DETAIL_WIZARD,
(sizeof(IMAGE_DATA_DEFINITION) - sizeof (PERF_OBJECT_TYPE))/
sizeof(PERF_COUNTER_DEFINITION),
0,
0,
UNICODE_CODE_PAGE,
{0L,0L},
{0L,0L}
},
{ sizeof(PERF_COUNTER_DEFINITION),
788,
0,
789,
0,
0,
PERF_DETAIL_WIZARD,
PERF_COUNTER_LARGE_RAWCOUNT,
sizeof(icd.ImageAddrNoAccess),
(DWORD)(ULONG_PTR)&((IMAGE_COUNTER_DATA *)0)->ImageAddrNoAccess
},
{ sizeof(PERF_COUNTER_DEFINITION),
790,
0,
791,
0,
0,
PERF_DETAIL_WIZARD,
PERF_COUNTER_LARGE_RAWCOUNT,
sizeof(icd.ImageAddrReadOnly),
(DWORD)(ULONG_PTR)&((IMAGE_COUNTER_DATA *)0)->ImageAddrReadOnly
},
{ sizeof(PERF_COUNTER_DEFINITION),
792,
0,
793,
0,
0,
PERF_DETAIL_WIZARD,
PERF_COUNTER_LARGE_RAWCOUNT,
sizeof(icd.ImageAddrReadWrite),
(DWORD)(ULONG_PTR)&((IMAGE_COUNTER_DATA *)0)->ImageAddrReadWrite
},
{ sizeof(PERF_COUNTER_DEFINITION),
794,
0,
795,
0,
0,
PERF_DETAIL_WIZARD,
PERF_COUNTER_LARGE_RAWCOUNT,
sizeof(icd.ImageAddrWriteCopy),
(DWORD)(ULONG_PTR)&((IMAGE_COUNTER_DATA *)0)->ImageAddrWriteCopy
},
{ sizeof(PERF_COUNTER_DEFINITION),
796,
0,
797,
0,
0,
PERF_DETAIL_WIZARD,
PERF_COUNTER_LARGE_RAWCOUNT,
sizeof(icd.ImageAddrExecute),
(DWORD)(ULONG_PTR)&((IMAGE_COUNTER_DATA *)0)->ImageAddrExecute
},
{ sizeof(PERF_COUNTER_DEFINITION),
798,
0,
799,
0,
0,
PERF_DETAIL_WIZARD,
PERF_COUNTER_LARGE_RAWCOUNT,
sizeof(icd.ImageAddrExecuteReadOnly),
(DWORD)(ULONG_PTR)&((IMAGE_COUNTER_DATA *)0)->ImageAddrExecuteReadOnly
},
{ sizeof(PERF_COUNTER_DEFINITION),
800,
0,
801,
0,
0,
PERF_DETAIL_WIZARD,
PERF_COUNTER_LARGE_RAWCOUNT,
sizeof(icd.ImageAddrExecuteReadWrite),
(DWORD)(ULONG_PTR)&((IMAGE_COUNTER_DATA *)0)->ImageAddrExecuteReadWrite
},
{ sizeof(PERF_COUNTER_DEFINITION),
802,
0,
803,
0,
0,
PERF_DETAIL_WIZARD,
PERF_COUNTER_LARGE_RAWCOUNT,
sizeof(icd.ImageAddrExecuteWriteCopy),
(DWORD)(ULONG_PTR)&((IMAGE_COUNTER_DATA *)0)->ImageAddrExecuteWriteCopy
}
};