PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddk.h

typedef struct _PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION {
  PPHYSICAL_COUNTER_EVENT_BUFFER_OVERFLOW_HANDLER OverflowHandler;
  ULONG                                           CustomEventBufferEntrySize;
  ULONG                                           EventThreshold;
} PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION, *PPHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddk-physical_counter_event_buffer_configuration)

PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION structure

Description

The PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION structure describes the configuration for event buffers on the platform.

Members

OverflowHandler

A pointer to the driver-supplied *PPHYSICAL_COUNTER_EVENT_BUFFER_OVERFLOW_HANDLER routine that will be called when the event buffer entries reach a threshold in the event buffer.

CustomEventBufferEntrySize

The size of the event buffer entries, for custom event buffer sizes. Set to zero.

EventThreshold

The number of events to be recorded before the OverflowHandler callback routine is invoked. This value is used as a maximum threshold. The actual number of events will depend on the number of actors using event buffer profiling.

Remarks

Most processors have performance monitor units that contain a number of hardware counters for measuring various aspects of system performance. The PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION structure is used within the PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure to describe the configuration for event buffer resources.

See also

PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE

PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR