C# Class TTreeProfiler.Profiler

Mostrar archivo Open project: andrevdm/ttree

Public Methods

Method Description
Add ( string group, string desc, Action method ) : void
AddCombine ( string group, int percent ) : void
PrintResults ( ) : void
Profile ( ) : void

Private Methods

Method Description
BuildCombinedResult ( IEnumerable descs, double>.Dictionary combined ) : bool
DrawBar ( double percent, int len ) : string
PrintCombinedResults ( double>.Dictionary combined ) : void
PrintResults ( string grp ) : void
ProcessCombinedResult ( ) : void

Method Details

Add() public method

public Add ( string group, string desc, Action method ) : void
group string
desc string
method Action
return void

AddCombine() public method

public AddCombine ( string group, int percent ) : void
group string
percent int
return void

PrintResults() public method

public PrintResults ( ) : void
return void

Profile() public method

public Profile ( ) : void
return void