Class BlockTimer
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
BlockTimer(String, Boolean)
Declaration
public BlockTimer(string label, bool bStart)
Parameters
Fields
Accumulated
Declaration
public TimeSpan Accumulated
Field Value
Label
Declaration
Field Value
Watch
Declaration
Field Value
Type |
Description |
Stopwatch |
|
Properties
AccumulatedString
Declaration
public string AccumulatedString { get; }
Property Value
Running
Declaration
public bool Running { get; }
Property Value
Methods
Accumulate(Boolean)
Declaration
public void Accumulate(bool bReset = false)
Parameters
Type |
Name |
Description |
Boolean |
bReset |
|
Reset()
Declaration
Start()
Declaration
Stop()
Declaration
Declaration
public static string TimeFormatString(TimeSpan span)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides