Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public static WriteResults ( string description, double totalTime ) : void | ||
description | string | |
totalTime | double | |
Результат | void |