tlds
Transactional Operations for Linked Data Structures
|
#include <profiling.hpp>
Static Public Member Functions | |
static void | onCommitLock (TxThread *tx) |
static void | onCommitSTM (TxThread *tx) |
static void | onAbort (TxThread *tx) |
Static Public Attributes | |
static unsigned | next = 1 |
This is the trigger we are currently favoring: request collection of profiles on 16 consecutive aborts, or when thread 2's commit count matches an exponentially decaying pattern.
|
inlinestatic |
Part 3: the thing that gets inlined into stm abort, and gets called on every abort. It's the same as in AbortWaitTrigger
|
inlinestatic |
|
inlinestatic |
|
static |
Track the next time to run a trigger. "time" means the next number of commits in thread2 that necessitates a trigger.