BufferSize
Applies To: Windows 8, Windows 8.1
Describes the size of each buffer, in KB.
Element Hierarchy
<WindowsPerformanceRecorder>
<Profiles>
<SystemCollector>
<BufferSize>
<EventCollector>
<BufferSize>
<HeapEventCollector
<BufferSize>
<Profile>
<Collectors>
<SystemCollectorId>
<BufferSize>
<EventCollectorId>
<BufferSize>
<HeapEventCollectorId>
<BufferSize>
Syntax
<BufferSize Operation = "Set" | "Add" | “Remove”
Value = unsignedLong>
</BufferSize>
Attributes and Elements
Attributes
Attribute | Description | Data type | Required | Default |
---|---|---|---|---|
Operation |
Indicates whether elements should be set or added. |
This attribute can have one of the following values:
|
No |
Set |
Value |
Indicates the size of the buffers, in KB. |
unsignedLong |
Yes |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
Represents an event collector. |
|
Represents an event collector identifier. |
|
Represents a heap event collector. |
|
Represents a heap event collector identifier. |
|
Represents a system collector. |
|
Represents a system collector identifier. |
Remarks
This element is used only for in-memory capture.
Example
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>
See Also
Reference
Buffers
SystemCollector
EventCollector
HeapEventCollector