Cutelyst  1.8.0
Public Member Functions | List of all members
Cutelyst::Stats Class Reference

Public Member Functions

 Stats (Application *app)
virtual void profileEnd (const QString &action)
virtual void profileStart (const QString &action)
virtual QByteArray report ()

Detailed Description

Definition at line 31 of file stats.h.

Constructor & Destructor Documentation

Cutelyst::Stats::Stats ( Application app)

Constructs a new stats object with the given parent.

Member Function Documentation

virtual void Cutelyst::Stats::profileEnd ( const QString &  action)

Called after an action is executed to stop counting it's time

virtual void Cutelyst::Stats::profileStart ( const QString &  action)

Called before an action is executed to start counting it's time

virtual QByteArray Cutelyst::Stats::report ( )

Returns a text report of collected timmings