tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
stm::toxic_histogram_t Struct Reference

#include <metadata.hpp>

Collaboration diagram for stm::toxic_histogram_t:

Public Member Functions

void onCommit (uint32_t aborts)
 
void dump ()
 
void onHGCommit ()
 
void onHGAbort ()
 
 toxic_histogram_t ()
 

Public Attributes

uint32_t max
 
uint32_t hg_commits
 
uint32_t hg_aborts
 
uint32_t buckets [18]
 

Detailed Description

These are for counting consecutive aborts in a histogram. We use them for measuring toxic transactions. Note that there is special support for counting how many times an hourglass transaction commits or aborts.

Constructor & Destructor Documentation

stm::toxic_histogram_t::toxic_histogram_t ( )
inline

Member Function Documentation

void stm::toxic_histogram_t::dump ( )
inline
void stm::toxic_histogram_t::onCommit ( uint32_t  aborts)
inline
void stm::toxic_histogram_t::onHGAbort ( )
inline
void stm::toxic_histogram_t::onHGCommit ( )
inline

Member Data Documentation

uint32_t stm::toxic_histogram_t::buckets[18]
uint32_t stm::toxic_histogram_t::hg_aborts
uint32_t stm::toxic_histogram_t::hg_commits
uint32_t stm::toxic_histogram_t::max

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