3 #if defined(CDSLIB_SYNC_INJECTING_MONITOR_H) && !defined(CDSUNIT_PRINT_INJECTING_MONITOR_STAT_H)
4 #define CDSUNIT_PRINT_INJECTING_MONITOR_STAT_H
7 static inline ostream& operator <<( ostream& o, cds::sync::injecting_monitor_traits::empty_stat const& /*s*/ )
14 #if defined(CDSLIB_SYNC_POOL_MONITOR_H) && !defined(CDSUNIT_PRINT_POOL_MONITOR_STAT_H)
15 #define CDSUNIT_PRINT_POOL_MONITOR_STAT_H
18 static inline ostream& operator <<( ostream& o, cds::sync::pool_monitor_traits::empty_stat const& /*s*/ )
23 static inline ostream& operator <<( ostream& o, cds::sync::pool_monitor_traits::stat<> const& s )
25 return o << "cds::sync::pool_monitor statistics:\n"
26 << "\t\t m_nLockCount: " << s.m_nLockCount.get() << "\n"
27 << "\t\t m_nUnlockCount: " << s.m_nUnlockCount.get() << "\n"
28 << "\t\t m_nMaxLocked: " << s.m_nMaxLocked.get() << "\n"
29 << "\t\t m_nLockContention: " << s.m_nLockContention.get() << "\n"
30 << "\t\t m_nUnlockContention: " << s.m_nUnlockContention.get() << "\n"
31 << "\t\t m_nLockAllocation: " << s.m_nLockAllocation.get() << "\n"
32 << "\t\t m_nLockDeallocation: " << s.m_nLockDeallocation.get() << "\n"
33 << "\t\t m_nMaxAllocated: " << s.m_nMaxAllocated.get() << "\n";