C# 클래스 GameEngine.Info.DiagnosticInfo

Class that allows for diagnostics to be recorded and organised through named values. Provides numerous methods that allow for each diagnostic timer to be started, stopped and reset in order to provide complete control.
파일 보기 프로젝트 열기: MichaelAquilina/Some-2D-RPG 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void
DiagnosticInfo ( string description ) : System
GetTiming ( string name ) : System.TimeSpan
RemoveTiming ( string name ) : bool
Reset ( string name ) : bool
ResetAll ( ) : void
RestartTiming ( string name ) : void
ShowAll ( bool sort = true ) : string
ShowTop ( int top, bool sort = true ) : string
StartTiming ( string name ) : void
StopTiming ( string name ) : void
ToString ( ) : string

비공개 메소드들

메소드 설명
CompareWatches ( string key1, string key2 ) : int

메소드 상세

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

DiagnosticInfo() 공개 메소드

public DiagnosticInfo ( string description ) : System
description string
리턴 System

GetTiming() 공개 메소드

public GetTiming ( string name ) : System.TimeSpan
name string
리턴 System.TimeSpan

RemoveTiming() 공개 메소드

public RemoveTiming ( string name ) : bool
name string
리턴 bool

Reset() 공개 메소드

public Reset ( string name ) : bool
name string
리턴 bool

ResetAll() 공개 메소드

public ResetAll ( ) : void
리턴 void

RestartTiming() 공개 메소드

public RestartTiming ( string name ) : void
name string
리턴 void

ShowAll() 공개 메소드

public ShowAll ( bool sort = true ) : string
sort bool
리턴 string

ShowTop() 공개 메소드

public ShowTop ( int top, bool sort = true ) : string
top int
sort bool
리턴 string

StartTiming() 공개 메소드

public StartTiming ( string name ) : void
name string
리턴 void

StopTiming() 공개 메소드

public StopTiming ( string name ) : void
name string
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string