cds  2.3.2
cds::intrusive::treiber_stack::stat< Counter > Struct Template Reference

Stack internal statistics. May be useful for debugging or profiling. More...

#include <cds/intrusive/treiber_stack.h>

Public Types

typedef Counter counter_type
 Counter type.
 

Data Fields

counter_type m_PushCount
 Push call count.
 
counter_type m_PopCount
 Pop call count.
 
counter_type m_PushRace
 Count of push race conditions encountered.
 
counter_type m_PopRace
 Count of pop race conditions encountered.
 
counter_type m_ActivePushCollision
 Count of active push collision for elimination back-off.
 
counter_type m_ActivePopCollision
 Count of active pop collision for elimination back-off.
 
counter_type m_PassivePushCollision
 Count of passive push collision for elimination back-off.
 
counter_type m_PassivePopCollision
 Count of passive pop collision for elimination back-off.
 
counter_type m_EliminationFailed
 Count of unsuccessful elimination back-off.
 

Detailed Description

template<typename Counter = cds::atomicity::event_counter>
struct cds::intrusive::treiber_stack::stat< Counter >

Stack internal statistics. May be useful for debugging or profiling.

Template argument Counter defines type of counter. Default is cds::atomicity::event_counter. You may use stronger type of counter like as cds::atomicity::item_counter, or even an integral type, for example, int


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

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:49 by Doxygen 1.8.13