arm4::util::QArmSimpleTransaction Class Reference

Class defining an interface to measure response times of so-called transactions. More...

List of all members.

Public Member Functions

 QArmSimpleTransaction (const QString &name, const QArmCorrelator &parentCorr=QArmCorrelator::Null, const QVector< QString > &contextNames=NullVector, QObject *parentObj=0)
 QArmSimpleTransaction (const QString &name, const QVector< QString > &contextNames, QObject *parentObj=0)
 ~QArmSimpleTransaction ()

Detailed Description

Class defining an interface to measure response times of so-called transactions.

A transaction is identified by a name and can have a parent transaction. The constructor creates such a transaction. With the methods start() and stop() response time measurements can be executed. It is possible to measure a series of response times by calling start()/stop() multiple times.


Constructor & Destructor Documentation

arm4::util::QArmSimpleTransaction::QArmSimpleTransaction ( const QString &  name,
const QArmCorrelator parentCorr = QArmCorrelator::Null,
const QVector< QString > &  contextNames = NullVector,
QObject *  parentObj = 0 
)

Creates a transaction measurement instance with instance specific data.

Parameters:
name Name of the transaction definition.
parentCorr parent correlator to be used for all measurements of this transaction instance
contextNames context names to be defined for this transaction type (definition).
parentObj parent QObject pointer
arm4::util::QArmSimpleTransaction::QArmSimpleTransaction ( const QString &  name,
const QVector< QString > &  contextNames,
QObject *  parentObj = 0 
)

Creates a transaction measurement instance with instance specific data.

Parameters:
name Name of the transaction definition.
contextNames context names to be defined for this transaction type (definition).
parentObj parent QObject pointer
arm4::util::QArmSimpleTransaction::~QArmSimpleTransaction (  ) 

Destructor.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables