tlds
Transactional Operations for Linked Data Structures
|
#include <policies.hpp>
Public Member Functions | |
qtable_t () | |
Public Attributes | |
int | alg_name |
dynprof_t | p |
int | txn_ratio |
int | pct_ro |
int | thr |
This is for storing our CBR-style qtable
The qtable tells us for a particular workload characteristic, what algorithm did best at each thread count.
|
inline |
int stm::qtable_t::alg_name |
Selection Fields
NB: These fields are for choosing the output: For a given behavior, choose the algorithm that maximizes throughput.
dynprof_t stm::qtable_t::p |
Transaction Behavior Summary
NB: The profile holds a characterization of the transactions of the workload, with regard to reads and writes, and the time spent on a transaction. Depending on which variant of ProfileApp was used to create this profile, it will either hold average values, or max values.
NB: We assume that a summary of transactions in the single-thread execution is appropriate for the behavior of transactions in a multithreaded execution.
int stm::qtable_t::pct_ro |
The percentage of transactions that are Read-Only
int stm::qtable_t::thr |
int stm::qtable_t::txn_ratio |
Workload Behavior Summary The ratio of transactional work to nontransactional work