To enable performance counters for your application, there are two ways you must modify the Registry.
The following sections explain how you can manually enable performance counters for use as you develop and tune your application.
If you include performance counters with your finished product, you'll want to include enough information in your application's OEMSETUP.INF file so that the necessary modifications to the Registry are made automatically when the application is installed. For more information about this process, see "Installing Your Application," later in this chapter.