C# Class OpenRA.Support.PerfTimer

Inheritance: IDisposable
Mostrar archivo Open project: pchote/OpenRA Class Usage Examples

Private Properties

Property Type Description
GetFooter string
GetHeader string
Write void

Public Methods

Method Description
Dispose ( ) : void
LogLongTick ( long startStopwatchTicks, long endStopwatchTicks, string name, object item ) : void
PerfTimer ( string name, float thresholdMs ) : System

Private Methods

Method Description
GetFooter ( string indentation ) : string
GetHeader ( string indentation, string label ) : string
Write ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

LogLongTick() public static method

public static LogLongTick ( long startStopwatchTicks, long endStopwatchTicks, string name, object item ) : void
startStopwatchTicks long
endStopwatchTicks long
name string
item object
return void

PerfTimer() public method

public PerfTimer ( string name, float thresholdMs ) : System
name string
thresholdMs float
return System