Share via


Processing Profiler Output with Microsoft Excel

OverviewDetails

Feature Only in Professional and Enterprise Editions   Profiling is supported only in Visual C++ Professional and Enterprise Editions. For more information, see .

PROFILER.XLM is a sample Microsoft Excel version 4.0 macro that processes the tab-delimited file and graphs the results. The macro is in the \Program Files\Microsoft Visual Studio\VC98\bin directory.

Note   The profiler sample code is installed when you install Visual C++. If the Microsoft Excel macro and other sample code are not on your disk, run Setup again to reinstall the sample code.

The PROFILER.XLM macro is composed of four submacros. The first two macros, in columns A and B, are helper macros that copy and preprocess the data for use by the second pair of macros, in columns C and D. The macro in column C, labeled CreateColumnChart, creates a graph showing the number of times that each function or line was executed. The macro in column D is CreateColumnTimeChart; it works like CreateColumnChart, but operates on timing information.