Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BufferSize

Updated: October 20, 2013

Applies To: Windows 8, Windows 8.1

Describes the size of each buffer, in KB.

<WindowsPerformanceRecorder>
     <Profiles>
          <SystemCollector>
               <BufferSize>

          <EventCollector>
               <BufferSize>

          <HeapEventCollector
               <BufferSize>

          <Profile>
               <Collectors>
                    <SystemCollectorId>
                         <BufferSize>

                    <EventCollectorId>
                         <BufferSize>

                    <HeapEventCollectorId>
                         <BufferSize>


<BufferSize Operation = "Set" | "Add" | “Remove”
            Value     = unsignedLong>
</BufferSize>

 

Attribute Description Data type Required Default

Operation

Indicates whether elements should be set or added.

This attribute can have one of the following values:

  • Set

  • Add

  • Remove

No

Set

Value

Indicates the size of the buffers, in KB.

unsignedLong

Yes

 

Element Description

EventCollector

Represents an event collector.

EventCollectorId

Represents an event collector identifier.

HeapEventCollector

Represents a heap event collector.

HeapEventCollectorId

Represents a heap event collector identifier.

SystemCollector

Represents a system collector.

SystemCollectorId

Represents a system collector identifier.

This element is used only for in-memory capture.

The following code examples show how this element is used in system collector and event collector definitions.

<SystemCollector
  Id="WPRSystemCollector"
  Name="NT Kernel Logger"
  FileName="WPRKernel.etl">
  <BufferSize
    Value="512"/>
  <Buffers
    Value="3"
    PercentageOfTotalMemory="true"/>
</SystemCollector>

<EventCollector
  Id="WPREventCollector"
  Name="WPR Event Collector"
  FileName="somefilename.etl">
  <BufferSize
    Value="128"/>
  <Buffers
    Value="64"/>
</EventCollector>

Show: