Analyzing Processor Activity

Previous Topic Next Topic

Reducing Single-Process Bottlenecks

If you cannot use another computer and you have access to the application source code, you can tune the application to increase efficiency. Start by using a profiler, an analysis tool that you can use to examine the run-time behavior of your programs. Profiling enables you to analyze how the application is spending processor time. The Platform Software Development Kit (SDK) includes tools and methods for profiling and optimizing applications, including instructions for developing performance counters to monitor the inner workings of your application. To tune an application to be less CPU-intensive, use SDK utilities such as Call Attributed Profiler (CAP) or File I/O Synchronization Win32 API Profiler (FIOSAP). You can also use APIMon and Kernprof, which are included on the Windows 2000 Resource Kit companion CD.

If tuning efforts do not reduce the application's load on your processor, or if you do not have access to the application source code, you can:

© 1985-2000 Microsoft Corporation. All rights reserved.