How to skip a class or library from being profiled?

26 03 2008

Icon Description
We used to run profiler for performance tuning. By using profiler, you can check – function timing, function coverage etc. By default profiler profiles the entire modules. But how can we skip a particular user library or class from profiling?

Icon How Can I Do It?
There is a setting file named profile.ini, where profiler keep its settings.
For skipping a user library just add a line like this.
exclude:myuser.lib

Assume you have a class named CHighPerfomance and want it to be skipped from profiling, then add the following line.
exclude:CHighPerfomance.obj

Icon - Where is it?
The profiler setting file is located at
<VisualStudioDir>\VC98\bin\PROFILER.INI





Handy MSDN.

23 03 2008

Icon Description
In some urgent cases we need to refer function details such as .h, lib, dll name of API etc…, evenif MSDN or internet is not accessable. For that inside visual studio directory a CSV file is provided which describe complete Win32 API function descriptions.

Icon - Where is it?
Its here – <VisualStudioDir>\VC98\Lib\WIN32API.CSV
Open and have a look!