Class TimingLogger
Assembly: RedLoader.dll
Syntax
public class TimingLogger : IDisposable
Constructors
TimingLogger(string, bool)
Declaration
public TimingLogger(string name, bool printOnDispose = true)
Parameters
Type |
Name |
Description |
string |
name |
|
bool |
printOnDispose |
|
Methods
Dispose()
Declaration
Restart(string)
Declaration
public void Restart(string operationName = null)
Parameters
Type |
Name |
Description |
string |
operationName |
|
Start()
Declaration
StartNew(string, bool)
Declaration
public static TimingLogger StartNew(string name, bool printOnDispose = true)
Parameters
Type |
Name |
Description |
string |
name |
|
bool |
printOnDispose |
|
Returns
Stop(string)
Declaration
public void Stop(string operationName = null)
Parameters
Type |
Name |
Description |
string |
operationName |
|
Implements