Click here to Skip to main content
15,892,298 members
Articles / Programming Languages / C++

CProfile - A Simple Class to Do Code Profiling and Tracing

Rate me:
Please Sign up or sign in to vote.
4.33/5 (10 votes)
1 May 2003CPOL4 min read 65.8K   700   25  
This simple class allows to profile code sections and optionally print time elapsed and tracing strings in different formats.
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "profile", "profile.vcproj", "{32FA578F-0CB7-481A-B797-BCEA2CD7BEE2}"
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		ConfigName.0 = Debug
		ConfigName.1 = Release
	EndGlobalSection
	GlobalSection(ProjectDependencies) = postSolution
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{32FA578F-0CB7-481A-B797-BCEA2CD7BEE2}.Debug.ActiveCfg = Debug|Win32
		{32FA578F-0CB7-481A-B797-BCEA2CD7BEE2}.Debug.Build.0 = Debug|Win32
		{32FA578F-0CB7-481A-B797-BCEA2CD7BEE2}.Release.ActiveCfg = Release|Win32
		{32FA578F-0CB7-481A-B797-BCEA2CD7BEE2}.Release.Build.0 = Release|Win32
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Nektra S.A
Argentina Argentina
Started the programming journey with the venerable Commodore 64, experimenting with 6510 ASM,BASIC and tapes. In 1990 I began playing with QuickBASIC, MSDOS, Win3.0 in a NECV20 XT clone, floppy-only system. With my first 386 system, I studied Turbo Pascal and C, and began exploring VGA graphics. Discovered Visual Basic under Windows 3.1. Moved to full C and C++ development in the 2000s, after Microsoft moved to .NET.

Comments and Discussions