test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
ora::TransactionMonitoringData Struct Reference

#include <Monitoring.h>

Public Member Functions

void stop (bool commit_status=true)
 
 TransactionMonitoringData (boost::posix_time::ptime start)
 

Public Attributes

boost::posix_time::ptime m_start
 
bool m_status
 
boost::posix_time::ptime m_stop
 

Detailed Description

Definition at line 13 of file Monitoring.h.

Constructor & Destructor Documentation

ora::TransactionMonitoringData::TransactionMonitoringData ( boost::posix_time::ptime  start)
explicit

Definition at line 8 of file Monitoring.cc.

8  :
9  m_start(start),
10  m_stop(boost::posix_time::neg_infin),
11  m_status(false){
12 }
tuple start
Check for commandline option errors.
Definition: dqm_diff.py:58
boost::posix_time::ptime m_stop
Definition: Monitoring.h:17
boost::posix_time::ptime m_start
Definition: Monitoring.h:16

Member Function Documentation

void ora::TransactionMonitoringData::stop ( bool  commit_status = true)

Definition at line 14 of file Monitoring.cc.

14  {
15  m_stop = boost::posix_time::microsec_clock::universal_time();
16  m_status = commit_status;
17 }
boost::posix_time::ptime m_stop
Definition: Monitoring.h:17

Member Data Documentation

boost::posix_time::ptime ora::TransactionMonitoringData::m_start

Definition at line 16 of file Monitoring.h.

Referenced by ora::SessionMonitoringData::report().

bool ora::TransactionMonitoringData::m_status

Definition at line 18 of file Monitoring.h.

Referenced by ora::SessionMonitoringData::report().

boost::posix_time::ptime ora::TransactionMonitoringData::m_stop

Definition at line 17 of file Monitoring.h.

Referenced by ora::SessionMonitoringData::report().