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

#include <policies.hpp>

Collaboration diagram for stm::qtable_t:

Public Member Functions

 qtable_t ()
 

Public Attributes

int alg_name
 
dynprof_t p
 
int txn_ratio
 
int pct_ro
 
int thr
 

Detailed Description

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.

Constructor & Destructor Documentation

stm::qtable_t::qtable_t ( )
inline

Member Data Documentation

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


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