This example demonstrates how to:
Run an application with the profiler agent
Use the profiler API to control profiling programmatically
Use the profiler API to analyze captured memory snapshots