|
tlds
Transactional Operations for Linked Data Structures
|
#include <metadata.hpp>
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] |
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.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| 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 |