sptk2 logo
SPTK Home Page

sptk::CCallStatistic Struct Reference
[Database Support]

Structure to store statistical data about query calls. More...

#include <CDatabaseDriver.h>

List of all members.

Public Member Functions

 CCallStatistic ()
 Default constructor.
 CCallStatistic (double duration, unsigned calls, const std::string &sql)
 Constructor.
 CCallStatistic (const CCallStatistic &cs)
 Copy constructor.

Public Attributes

double m_duration
 Total calls duration, sec.
unsigned m_calls
 Total number of calls.
std::string m_sql
 The last used query sql.


Detailed Description

Structure to store statistical data about query calls.

Constructor & Destructor Documentation

sptk::CCallStatistic::CCallStatistic ( double  duration,
unsigned  calls,
const std::string &  sql 
) [inline]

Constructor.

Parameters:
duration double, Total calls duration, sec
calls unsigned, Total number of calls
sql const std::string&, The last used query sql

References m_calls, m_duration, and m_sql.


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

Mon Mar 5 11:56:07 2012: SPTK 3.5.7