C# 클래스 KEngine.Profiler

파일 보기 프로젝트 열기: mr-kelly/KEngine

공개 프로퍼티들

프로퍼티 타입 설명
bEnable bool

공개 메소드들

메소드 설명
BeginSample ( string strName ) : void
BeginWatch ( Enum emKey ) : void

BeginWatch(string)的任意枚举版

BeginWatch ( string key ) : void

使用Stopwatch, debug模式下无行为

EndSample ( ) : void
EndWatch ( Enum emKey ) : void

EndWatch的任意枚举版

EndWatch ( string key, string name = null ) : void

结束性能监测,输出监测的时间消耗

메소드 상세

BeginSample() 공개 정적인 메소드

public static BeginSample ( string strName ) : void
strName string
리턴 void

BeginWatch() 공개 정적인 메소드

BeginWatch(string)的任意枚举版
public static BeginWatch ( Enum emKey ) : void
emKey System.Enum
리턴 void

BeginWatch() 공개 정적인 메소드

使用Stopwatch, debug模式下无行为
public static BeginWatch ( string key ) : void
key string
리턴 void

EndSample() 공개 정적인 메소드

public static EndSample ( ) : void
리턴 void

EndWatch() 공개 정적인 메소드

EndWatch的任意枚举版
public static EndWatch ( Enum emKey ) : void
emKey System.Enum
리턴 void

EndWatch() 공개 정적인 메소드

结束性能监测,输出监测的时间消耗
public static EndWatch ( string key, string name = null ) : void
key string
name string
리턴 void

프로퍼티 상세

bEnable 공개적으로 정적으로 프로퍼티

public static bool bEnable
리턴 bool