1 #ifndef INCLUDE_ORA_MONITORING_H
2 #define INCLUDE_ORA_MONITORING_H
7 #include "boost/date_time/posix_time/posix_time.hpp"
15 void stop(
bool commit_status=
true);
tuple start
Check for commandline option errors.
TransactionMonitoringData(boost::posix_time::ptime start)
std::map< std::string, SessionMonitoringData * > m_sessions
size_t stopTransaction(bool commit_status=true)
boost::posix_time::ptime m_stop
static const std::string & outFileName()
std::string m_connectionString
SessionMonitoringData * startSession(const std::string &connectionString)
void report(std::ostream &out) const
boost::posix_time::ptime m_stop
SessionMonitoringData(boost::posix_time::ptime start, const std::string &connectionString)
TransactionMonitoringData * m_currentTransaction
static std::atomic< bool > s_enabled
void report(std::ostream &out)
boost::posix_time::ptime m_start
void stop(bool commit_status=true)
size_t numberOfTransactions() const
std::map< std::string, TransactionMonitoringData * > m_transactions
boost::posix_time::ptime m_start