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

#include <profiling.hpp>

Collaboration diagram for stm::AbortWaitTrigger:

Static Public Member Functions

static TM_INLINE void onCommitLock (TxThread *tx)
 
static void onCommitSTM (TxThread *)
 
static TM_INLINE void onAbort (TxThread *tx)
 

Detailed Description

A simple trigger: request collection of profiles after 16 consecutive aborts, or on a begin-time wait of >=2048

Member Function Documentation

static TM_INLINE void stm::AbortWaitTrigger::onAbort ( TxThread tx)
inlinestatic

Part 3: the thing that gets inlined into stm abort, and gets called on every abort

Here is the call graph for this function:

Here is the caller graph for this function:

static TM_INLINE void stm::AbortWaitTrigger::onCommitLock ( TxThread tx)
inlinestatic

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

Here is the call graph for this function:

static void stm::AbortWaitTrigger::onCommitSTM ( TxThread )
inlinestatic

This trigger does nothing when an STM transaction commits


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