tlds
Transactional Operations for Linked Data Structures
|
#include <profiling.hpp>
Static Public Member Functions | |
static TM_INLINE void | onCommitLock (TxThread *tx) |
static void | onCommitSTM (TxThread *) |
static TM_INLINE void | onAbort (TxThread *tx) |
A simple trigger: request collection of profiles after 16 consecutive aborts, or on a begin-time wait of >=2048
Part 3: the thing that gets inlined into stm abort, and gets called on every abort
Part 2: the thing that gets inlined into commit for STMs that have long blocking at begin time (TML, CGL, Serial, MCS, Ticket), and gets called on every commit
|
inlinestatic |
This trigger does nothing when an STM transaction commits