cds  2.3.2
cds::algo::flat_combining::stat< Counter > Struct Template Reference

Flat combining internal statistics. More...

#include <cds/algo/flat_combining/kernel.h>

Inheritance diagram for cds::algo::flat_combining::stat< Counter >:
cds::container::fcdeque::stat< Counter > cds::container::fcpqueue::stat< Counter > cds::container::fcqueue::stat< Counter > cds::container::fcstack::stat< Counter > cds::intrusive::fcqueue::stat< Counter > cds::intrusive::fcstack::stat< Counter >

Public Types

typedef Counter counter_type
 Event counter type.
 

Public Member Functions

double combining_factor () const
 Returns current combining factor. More...
 

Data Fields

counter_type m_nOperationCount
 How many operations have been performed.
 
counter_type m_nCombiningCount
 Combining call count.
 
counter_type m_nCompactPublicationList
 Count of publication list compacting.
 
counter_type m_nDeactivatePubRecord
 How many publication records were deactivated during compacting.
 
counter_type m_nActivatePubRecord
 Count of publication record activating.
 
counter_type m_nPubRecordCreated
 Count of created publication records.
 
counter_type m_nPubRecordDeleted
 Count of deleted publication records.
 
counter_type m_nPassiveWaitCall
 Count of passive waiting call (kernel::wait_for_combining())
 
counter_type m_nPassiveWaitIteration
 Count of iteration inside passive waiting.
 
counter_type m_nPassiveWaitWakeup
 Count of forcing wake-up of passive wait cycle.
 
counter_type m_nInvokeExclusive
 Count of call kernel::invoke_exclusive()
 
counter_type m_nWakeupByNotifying
 How many times the passive thread be waked up by a notification.
 
counter_type m_nPassiveToCombiner
 How many times the passive thread becomes the combiner.
 

Detailed Description

template<typename Counter = cds::atomicity::event_counter>
struct cds::algo::flat_combining::stat< Counter >

Flat combining internal statistics.

Member Function Documentation

◆ combining_factor()

template<typename Counter = cds::atomicity::event_counter>
double cds::algo::flat_combining::stat< Counter >::combining_factor ( ) const
inline

Returns current combining factor.

Combining factor is how many operations perform in one combine pass: combining_factor := m_nOperationCount / m_nCombiningCount


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:14 by Doxygen 1.8.13