|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
The Shutdown option waits for any currently profiled process to end or detach, and then it turns the profiler off and closes the profiling data file. The Shutdown option must be the last command of a profiling run.
If a time-out parameter is not specified, the Shutdown option will wait indefinitely. If a time-out parameter is specified, the option returns after the specified number of seconds without turning the profiler off or closing the data file.
The Shutdown option must be the only option specified on the command line.