Method | Description | |
---|---|---|
AddTime ( string key, double duration ) : void |
Add new duration for specified key.
|
|
WriteResults ( string description, double totalTime ) : void |
Write the report of the results to a text file.
|
Method | Description | |
---|---|---|
GetPercent ( double value, double totalTime ) : double |
Return the percentage based on total time.
|
public static AddTime ( string key, double duration ) : void | ||
key | string | |
duration | double | |
return | void |
public static WriteResults ( string description, double totalTime ) : void | ||
description | string | |
totalTime | double | |
return | void |