C# 클래스 BuildingCoder.JtTimer

Performance timer for profiling purposes. For a full description, please refer to http://thebuildingcoder.typepad.com/blog/2010/03/performance-profiling.html
상속: IDisposable
파일 보기 프로젝트 열기: jeremytammik/the_building_coder_samples 1 사용 예제들

공개 메소드들

메소드 설명
JtTimer ( string what_are_we_testing_here ) : System

Performance timer

Report ( string description ) : void

Write and display a report of the timing results in a text file.

Restart ( string what_are_we_testing_here ) : void

Restart the measurement from scratch.

비공개 메소드들

메소드 설명
IDisposable ( ) : void

Automatic disposal when the the using statement block finishes: the timer is stopped and the time is registered.

메소드 상세

JtTimer() 공개 메소드

Performance timer
public JtTimer ( string what_are_we_testing_here ) : System
what_are_we_testing_here string /// Key describing code to be timed
리턴 System

Report() 공개 메소드

Write and display a report of the timing results in a text file.
public Report ( string description ) : void
description string
리턴 void

Restart() 공개 메소드

Restart the measurement from scratch.
public Restart ( string what_are_we_testing_here ) : void
what_are_we_testing_here string
리턴 void