Cutelyst  1.7.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)
explicit

Constructs a new stats object with the given parent.

Member Function Documentation

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

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

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

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

virtual QByteArray Cutelyst::Stats::report ( )
virtual

Returns a text report of collected timmings