11 #ifndef PROFILING_HPP__
12 #define PROFILING_HPP__
27 #include <stm/config.h>
152 else if (
next < 524288)
174 #ifdef STM_PROFILETMTRIGGER_ALL
175 typedef CommitTrigger Trigger;
176 #elif defined(STM_PROFILETMTRIGGER_PATHOLOGY)
177 typedef AbortWaitTrigger Trigger;
178 #elif defined(STM_PROFILETMTRIGGER_NONE)
179 typedef EmptyTrigger Trigger;
184 #endif // PROFILING_HPP__
static void onAbort(TxThread *tx)
Definition: profiling.hpp:171
uint32_t begin_wait
Definition: txthread.hpp:87
bool abort_switch
Definition: policies.hpp:78
Definition: stm_fraser.c:61
uint32_t id
Definition: txthread.hpp:50
int abortThresh
Definition: policies.hpp:82
void profile_oncomplete(TxThread *tx)
Definition: profiling.cpp:113
static TM_INLINE void onAbort(TxThread *tx)
Definition: profiling.hpp:91
pol_t pols[POL_MAX]
Definition: policies.cpp:107
uint32_t POL_ID
Definition: policies.hpp:69
Definition: profiling.hpp:121
uint32_t num_ro
Definition: txthread.hpp:56
Definition: profiling.hpp:60
void trigger_common(TxThread *tx)
Definition: profiling.cpp:144
bool isCommitProfile
Definition: policies.hpp:52
bool begin_blocker(TxThread *tx)
Definition: irrevocability.cpp:213
static void onAbort(TxThread *)
Definition: profiling.hpp:113
stm_tx * tx
Definition: stmskip.cc:245
static void onCommitLock(TxThread *)
Definition: profiling.hpp:111
behavior_t curr_policy
Definition: policies.cpp:108
static void onCommitLock(TxThread *tx)
Definition: profiling.hpp:130
static TM_INLINE void onCommitLock(TxThread *tx)
Definition: profiling.hpp:68
uint32_t num_commits
Definition: txthread.hpp:53
uint32_t consec_aborts
Definition: txthread.hpp:71
static void onCommitSTM(TxThread *)
Definition: profiling.hpp:84
int waitThresh
Definition: policies.hpp:83
static unsigned next
Definition: profiling.hpp:127
Definition: txthread.hpp:47
static void onCommitSTM(TxThread *)
Definition: profiling.hpp:112
Definition: profiling.hpp:109
static void onCommitSTM(TxThread *tx)
Definition: profiling.hpp:133