Partager via


Changing the Size of the Buffer for the Kernel Profiler (Windows CE 5.0)

Send Feedback

By default, when running in buffered mode, the kernel profiler uses a buffer size of approximately half the available system memory. You can specify a larger or smaller size for this buffer.

To change the size of the buffer for the kernel profiler

  • In the Config.bib file, in the MEMORY section, specify the size of the buffer as a dwProfileBufferMax variable.

    The following code example from the MEMORY section of a Config.bib file sets the size of the buffer to 2 MB.

    dwProfileBufferMax  00000000  00200000 FIXUPVAR
    

    The maximum value for the dwProfileBufferMax variable is 256 MB. If the specified amount of system memory is not available, the kernel profiler chooses a smaller buffer size.

See Also

Buffered and Unbuffered Profiling | Controlling the Kernel Profiler

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.