C# 클래스 Nez.Analysis.Stopwatch

Stopwatch is used to measure the general performance of Silverlight functionality. Silverlight does not currently provide a high resolution timer as is available in many operating systems, so the resolution of this timer is limited to milliseconds. This class is best used to measure the relative performance of functions over many iterations.
파일 보기 프로젝트 열기: prime31/Nez

공개 메소드들

메소드 설명
StartNew ( ) : Stopwatch

Creates a new instance of the class and starts the watch immediately.

reset ( ) : void

Completely resets and deactivates the timer.

start ( ) : void

Begins the timer.

stop ( ) : void

Stops the current timer.

비공개 메소드들

메소드 설명
getCurrentElapsedTicks ( ) : long
getCurrentTicks ( ) : long

메소드 상세

StartNew() 공개 정적인 메소드

Creates a new instance of the class and starts the watch immediately.
public static StartNew ( ) : Stopwatch
리턴 Stopwatch

reset() 공개 메소드

Completely resets and deactivates the timer.
public reset ( ) : void
리턴 void

start() 공개 메소드

Begins the timer.
public start ( ) : void
리턴 void

stop() 공개 메소드

Stops the current timer.
public stop ( ) : void
리턴 void