common::Profile Class Reference
[Profile module]

Klasa, której obiekt możesz dla wygody utworzyć zamiast wywoływać Begin i End profilera. More...

#include <Profiler.hpp>

List of all members.

Public Member Functions

 Profile (Profiler &profiler, const tstring &Name)
 ~Profile ()

Detailed Description

Klasa, której obiekt możesz dla wygody utworzyć zamiast wywoływać Begin i End profilera.

Tworzenie tego obiektu wywołuje Profiler::Begin, a usuwanie - Profiler::End. Obiekt automatyczny utworzony na stosie sam się usunie przy wyjściu z funkcji. Dlatego warto tworzyć obiekt tej klasy jako zmienną lokalną o byle jakiej nazwie i nieużywaną nigdzie dalej na początku każdej profilowanej funkcji.


Constructor & Destructor Documentation

common::Profile::Profile ( Profiler &  profiler,
const tstring &  Name 
)
common::Profile::~Profile (  ) 

The documentation for this class was generated from the following file:

Generated on Wed Dec 16 20:44:55 2009 for CommonLib by  doxygen 1.6.1