C# Class QFramework.QTest

用来测试程序耗时
Show file Open project: liangxiegame/QFramework Class Usage Examples

Public Properties

Property Type Description
watches Stopwatch>.Dictionary

Public Methods

Method Description
TimeBegan ( string name ) : Stopwatch
TimeStop ( Stopwatch watch ) : long
TimeStop ( string name ) : long

Method Details

TimeBegan() public static method

public static TimeBegan ( string name ) : Stopwatch
name string
return System.Diagnostics.Stopwatch

TimeStop() public static method

public static TimeStop ( Stopwatch watch ) : long
watch System.Diagnostics.Stopwatch
return long

TimeStop() public static method

public static TimeStop ( string name ) : long
name string
return long

Property Details

watches public static property

public static Dictionary watches
return Stopwatch>.Dictionary