C# Класс BuildingCoder.JtTimer

Performance timer for profiling purposes. For a full description, please refer to http://thebuildingcoder.typepad.com/blog/2010/03/performance-profiling.html
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
JtTimer ( string what_are_we_testing_here ) : System

Performance timer

Report ( string description ) : void

Write and display a report of the timing results in a text file.

Restart ( string what_are_we_testing_here ) : void

Restart the measurement from scratch.

Приватные методы

Метод Описание
IDisposable ( ) : void

Automatic disposal when the the using statement block finishes: the timer is stopped and the time is registered.

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

JtTimer() публичный Метод

Performance timer
public JtTimer ( string what_are_we_testing_here ) : System
what_are_we_testing_here string /// Key describing code to be timed
Результат System

Report() публичный Метод

Write and display a report of the timing results in a text file.
public Report ( string description ) : void
description string
Результат void

Restart() публичный Метод

Restart the measurement from scratch.
public Restart ( string what_are_we_testing_here ) : void
what_are_we_testing_here string
Результат void