Although the Start button makes starting and stopping Shark quite simple, sometimes it can be impractical, or even impossible to use. For example, how can you press the start button on a headless server? Profiling application launch can be hard to accomplish by hand as well. And what if you are only interested in profiling one particular “hot” loop, buried somewhere deep within your application?
This section discusses various advanced ways to control what Shark profiles, when it profiles, and how the resulting profile relates to your target execution.
Process Attach
Process Launch
Batch Mode
Windowed Time Facility (WTF)
Unresponsive Application Measurements
Command Line Shark
Interprocess Remote Control
Network/iPhone Profiling
Last updated: 2008-04-14