C# Class Universe.Framework.Utilities.Profiler

Keeps track of data and builds a graph out of the given data
ファイルを表示 Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method Description
AddStat ( string Name, double value ) : void
DrawGraph ( string StatName ) : FastBitmap
DrawGraph ( string StatName, double MaxVal ) : FastBitmap
GetStat ( string Name ) : ProfilerValueManager

Private Methods

Method Description
DrawLine ( double y, double ScaleFactor ) : bool
IsInGraphBar ( int x, int y, double Stats, double scaleFactor ) : bool

Method Details

AddStat() public method

public AddStat ( string Name, double value ) : void
Name string
value double
return void

DrawGraph() public method

public DrawGraph ( string StatName ) : FastBitmap
StatName string
return FastBitmap

DrawGraph() public method

public DrawGraph ( string StatName, double MaxVal ) : FastBitmap
StatName string
MaxVal double
return FastBitmap

GetStat() public method

public GetStat ( string Name ) : ProfilerValueManager
Name string
return ProfilerValueManager