共用方式為


HeapEventCollectorId

Applies To: Windows 8, Windows 8.1

Represents an identifier for a collector of heap events for the profile.

Element Hierarchy

<WindowsPerformanceRecorder>
     <Profiles>
          <Profile>
               <Collectors>
                    <HeapEventCollectorId>

Syntax

<HeapEventCollectorId Value = IdType>

  <!-- Child elements -->
  BufferSize,
  Buffers,
  StackCaching,
  HeapEventProviders

</HeapEventCollectorId>

Attributes and Elements

Attributes

Attribute Description Data type Required Default

Value

Uniquely identifies the heap event collector.

String that must have at least one character and cannot contain colons (:) or spaces.

Yes

Child Elements

Element Description Requirement

BufferSize

Describes the size of each buffer, in KB.

Required, exactly 1.

Buffers

Describes either the number of buffers to be allocated when starting a session or the percentage of total memory to be allocated for the session, depending on the value of the PercentageOfTotalMemory attribute.

Required, exactly 1.

StackCaching

Describes stack caching attributes of collectors.

HeapEventProviders

Represents a collection of heap event provider identifiers and heap event providers.

Required, exactly 1.

Parent Elements

Element Description

Profile

Represents a collection of problem categories and collectors.

See Also

Other Resources

Elements