Class LocalProfiler
Inheritance
LocalProfiler
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class LocalProfiler : IDisposable
Methods
Accumulated(String)
Declaration
public string Accumulated(string label)
Parameters
Type |
Name |
Description |
String |
label |
|
Returns
AllAccumulatedTicks(String)
Declaration
public string AllAccumulatedTicks(string prefix = "Times:")
Parameters
Type |
Name |
Description |
String |
prefix |
|
Returns
AllAccumulatedTimes(String, String)
Declaration
public string AllAccumulatedTimes(string prefix = "Times:", string separator = " ")
Parameters
Returns
AllTicks(String)
Declaration
public string AllTicks(string prefix = "Times:")
Parameters
Type |
Name |
Description |
String |
prefix |
|
Returns
AllTimes(String, String)
Declaration
public string AllTimes(string prefix = "Times:", string separator = " ")
Parameters
Returns
Dispose()
Declaration
DivideAllAccumulated(Int32)
Declaration
public void DivideAllAccumulated(int div)
Parameters
Type |
Name |
Description |
Int32 |
div |
|
Elapsed(String)
Declaration
public string Elapsed(string label)
Parameters
Type |
Name |
Description |
String |
label |
|
Returns
Get(String)
Declaration
public BlockTimer Get(string label)
Parameters
Type |
Name |
Description |
String |
label |
|
Returns
Reset(String)
Declaration
public void Reset(string label)
Parameters
Type |
Name |
Description |
String |
label |
|
ResetAccumulated(String)
Declaration
public void ResetAccumulated(string label)
Parameters
Type |
Name |
Description |
String |
label |
|
ResetAllAccumulated(String)
Declaration
public void ResetAllAccumulated(string label)
Parameters
Type |
Name |
Description |
String |
label |
|
Start(String)
Declaration
public BlockTimer Start(string label)
Parameters
Type |
Name |
Description |
String |
label |
|
Returns
Stop(String)
Declaration
public void Stop(string label)
Parameters
Type |
Name |
Description |
String |
label |
|
StopAll()
Declaration
StopAllAndStartNew(String)
Declaration
public BlockTimer StopAllAndStartNew(string label)
Parameters
Type |
Name |
Description |
String |
label |
|
Returns
StopAndAccumulate(String, Boolean)
Declaration
public void StopAndAccumulate(string label, bool bReset = false)
Parameters
Implements