Storage Engine API
mongo::LockStatCounters< CounterType > Struct Template Reference

Bundle of locking statistics values. More...

#include <lock_stats.h>

Detailed Description

template<typename CounterType>
struct mongo::LockStatCounters< CounterType >

Bundle of locking statistics values.

Public Member Functions

template<typename OtherType >
void append (const LockStatCounters< OtherType > &other)
 
void reset ()
 

Public Attributes

CounterType numAcquisitions
 
CounterType numWaits
 
CounterType combinedWaitTimeMicros
 
CounterType numDeadlocks
 

Member Function Documentation

◆ append()

template<typename CounterType>
template<typename OtherType >
void mongo::LockStatCounters< CounterType >::append ( const LockStatCounters< OtherType > &  other)
inline

◆ reset()

template<typename CounterType>
void mongo::LockStatCounters< CounterType >::reset ( )
inline

Member Data Documentation

◆ combinedWaitTimeMicros

template<typename CounterType>
CounterType mongo::LockStatCounters< CounterType >::combinedWaitTimeMicros

◆ numAcquisitions

template<typename CounterType>
CounterType mongo::LockStatCounters< CounterType >::numAcquisitions

◆ numDeadlocks

template<typename CounterType>
CounterType mongo::LockStatCounters< CounterType >::numDeadlocks

◆ numWaits

template<typename CounterType>
CounterType mongo::LockStatCounters< CounterType >::numWaits

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