Overview
 	LeakyBin: Application Performance Counter Demo Application

LeakyBin is a sample application that illustrates how an application program can provide performance data to the Windows NT Performance Registry and have that data displayed in Perfmon.

When started, LeakyBin will allocate blocks of memory repeatedly until stopped or the system runs out of virtual memory. While doing this LeakyBinwill display the current system virutal memory statistics in the mainwindow and if enabled output it's use of the GlobalAlloc, GlobalReAlloc and GlobalFree function calls to the Windows NT Performance Registry. The memory allocations of this application can be monitored using Perfmon alongwith other related system performance counters for easy side by sidecomparison.

Menu Items:

File

Test

Help


Menu Items
File

Exit

Releases all allocated memory and terminates the program.


Menu Items
Test

Start Leaking

Starts periodic memory allocations without releasing and allocated memory blocks.

This option in only enabled if memory is not being allocated at the time.

Stop Leaking

Stops memory allocations, but does not release any memory blocks.

This option is only available while memory is being allocated.

Reset Memory

Releases all allocated memory blocks.


Menu Items
Help

Displays information about the program.