Click here to Skip to main content
15,886,362 members
Articles / Programming Languages / C#

Simplified Performance Counters for Timed Operations

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
20 Mar 2010CC (ASA 2.5)3 min read 31.2K   273   20  
A generalized code block which can be used in a common scenario for simple performance benchmarking.

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OperationPerformanceCounter", "OperationPerformanceCounter.csproj", "{A6A69034-4F85-4B5D-86D3-8D6A761C3460}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x86 = Debug|x86
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{A6A69034-4F85-4B5D-86D3-8D6A761C3460}.Debug|x86.ActiveCfg = Debug|x86
		{A6A69034-4F85-4B5D-86D3-8D6A761C3460}.Debug|x86.Build.0 = Debug|x86
		{A6A69034-4F85-4B5D-86D3-8D6A761C3460}.Release|x86.ActiveCfg = Release|x86
		{A6A69034-4F85-4B5D-86D3-8D6A761C3460}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	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 Creative Commons Attribution-ShareAlike 2.5 License


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions