Increment() public static method

public static Increment ( string item, double x ) : void
item string
x double
return void
コード例 #1
0
 public void Dispose()
 {
     PerfHistory.Increment(Item, sw.ElapsedTime() * 1000);
 }
コード例 #2
0
ファイル: PerfSample.cs プロジェクト: huwpascoe/OpenRA
 public void Dispose()
 {
     PerfHistory.Increment(item, 1000.0 * Math.Max(0, Stopwatch.GetTimestamp() - ticks) / Stopwatch.Frequency);
 }
コード例 #3
0
 public void Dispose()
 {
     PerfHistory.Increment(Item, sw.Elapsed.TotalMilliseconds);
 }