C# Класс WikiFunctions.Profiler

Provides basic performance profiling
Показать файл Открыть проект

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

Метод Описание
AddLog ( string s ) : void

Adds a line to the log

Flush ( ) : void

Flushes profiling log on disk

Profile ( string message ) : void

Outputs time difference between previous time mark and now to the profiling log

Profiler ( ) : System.IO

Profiler ( string filename, bool append ) : System.IO

Creates a profiler object

Start ( string message ) : void

Starts measuring time

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

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

Adds a line to the log
public AddLog ( string s ) : void
s string
Результат void

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

Flushes profiling log on disk
public Flush ( ) : void
Результат void

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

Outputs time difference between previous time mark and now to the profiling log
public Profile ( string message ) : void
message string description of the time interval
Результат void

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

public Profiler ( ) : System.IO
Результат System.IO

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

Creates a profiler object
public Profiler ( string filename, bool append ) : System.IO
filename string Name of file to save profiling log to
append bool True if the file should not be overwritten
Результат System.IO

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

Starts measuring time
public Start ( string message ) : void
message string a message to associate with these measure
Результат void