cds  1.3.0
Public Member Functions | Data Fields
cds::memory::michael::summary_stat Struct Reference

Summary processor heap statistics. More...

#include <cds/memory/michael/allocator.h>

Public Member Functions

 summary_stat ()
 Constructs empty statistics. All counters are zero.
 
summary_statoperator-= (const summary_stat &stat)
 Difference statistics.
 
void clear ()
 Clears statistics.
 

Data Fields

size_t nAllocFromActive
 Event count of allocation from active superblock.
 
size_t nAllocFromPartial
 Event count of allocation from partial superblock.
 
size_t nAllocFromNew
 Event count of allocation from new superblock.
 
size_t nFreeCount
 Count of free function call.
 
size_t nPageAllocCount
 Count of page (superblock) allocated.
 
size_t nPageDeallocCount
 Count of page (superblock) deallocated.
 
size_t nDescAllocCount
 Count of superblock descriptors.
 
size_t nDescFull
 Count of full superblock.
 
atomic64u_t nBytesAllocated
 Count of allocated bytes (for heap managed memory blocks)
 
atomic64u_t nBytesDeallocated
 Count of deallocated bytes (for heap managed memory blocks)
 
size_t nSysAllocCount
 Count of alloc and alloc_aligned function call (for large memory blocks that allocated directly from OS)
 
size_t nSysFreeCount
 Count of free and free_aligned function call (for large memory blocks that allocated directly from OS)
 
atomic64u_t nSysBytesAllocated
 Count of allocated bytes (for large memory blocks that allocated directly from OS)
 
atomic64_t nSysBytesDeallocated
 Count of deallocated bytes (for large memory blocks that allocated directly from OS)
 
size_t nActiveDescCASFailureCount
 CAS failure counter for updating active field of active block of alloc_from_active Heap internal function.
 
size_t nActiveAnchorCASFailureCount
 CAS failure counter for updating active field of active block of alloc_from_active Heap internal function.
 
size_t nPartialDescCASFailureCount
 CAS failure counter for updating anchor field of partial block of alloc_from_partial Heap internal function.
 
size_t nPartialAnchorCASFailureCount
 CAS failure counter for updating anchor field of partial block of alloc_from_partial Heap internal function.
 

Detailed Description

Summary processor heap statistics.

Summary heap statistics for use with Heap::summaryStat function.

Member Function Documentation

void cds::memory::michael::summary_stat::clear ( )
inline

Clears statistics.

All counters are set to zero.

summary_stat& cds::memory::michael::summary_stat::operator-= ( const summary_stat stat)
inline

Difference statistics.

This operator computes difference between *this and stat and places the difference to this. Returns *this ;

Field Documentation

size_t cds::memory::michael::summary_stat::nActiveAnchorCASFailureCount

CAS failure counter for updating active field of active block of alloc_from_active Heap internal function.

Contention indicator. The less value is better

size_t cds::memory::michael::summary_stat::nActiveDescCASFailureCount

CAS failure counter for updating active field of active block of alloc_from_active Heap internal function.

Contention indicator. The less value is better

size_t cds::memory::michael::summary_stat::nPartialAnchorCASFailureCount

CAS failure counter for updating anchor field of partial block of alloc_from_partial Heap internal function.

Contention indicator. The less value is better

size_t cds::memory::michael::summary_stat::nPartialDescCASFailureCount

CAS failure counter for updating anchor field of partial block of alloc_from_partial Heap internal function.

Contention indicator. The less value is better


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

cds 1.3.0 Developed by Maxim Khiszinsky aka khizmax 2007 - 2012
Autogenerated Sat Dec 29 2012 19:12:37 by Doxygen 1.8.3