Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Defines an instance of a counter set.
Syntax
typedef struct _PERF_COUNTERSET_INSTANCE {
GUID CounterSetGuid;
ULONG dwSize;
ULONG InstanceId;
ULONG InstanceNameOffset;
ULONG InstanceNameSize;
} PERF_COUNTERSET_INSTANCE, *PPERF_COUNTERSET_INSTANCE;
Members
CounterSetGuid
GUID that identifies the counter set to which this instance belongs.
dwSize
Size, in bytes, of the instance block. The instance block contains this structure, followed by one or more PERF_COUNTER_INFO blocks, and ends with the instance name.
InstanceId
Identifier that uniquely identifies this instance.
The provider specified the identifier when calling PerfCreateInstance.
InstanceNameOffset
Byte offset from the beginning of this structure to the null-terminated Unicode instance name.
The provider specified the instance name when calling PerfCreateInstance.
InstanceNameSize
Size, in bytes, of the instance name. The size includes the null-terminator.
Remarks
The Offset member of PERF_COUNTER_INFO contains the byte offset from the beginning of the PERF_COUNTERSET_INSTANCE block to the counter's raw counter value.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | perflib.h |