C# Класс BuildingCoder.JtTimer.TimeRegistry

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AddTime() публичный статический метод

Add new duration for specified key.
public static AddTime ( string key, double duration ) : void
key string
duration double
Результат void

WriteResults() публичный статический метод

Write the report of the results to a text file.
public static WriteResults ( string description, double totalTime ) : void
description string
totalTime double
Результат void