tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
anonymous_namespace{cbr.cpp}::Read Struct Reference
Collaboration diagram for anonymous_namespace{cbr.cpp}::Read:

Static Public Member Functions

static bool uses_RO ()
 
static bool uses_TxnRatio ()
 
static int32_t compare (dynprof_t &p, qtable_t *i, uint32_t, int)
 

Detailed Description

To implement our CBR policies, we simply declare a struct that describes how comparisons are to be performed. Then, we can instantiate the above template using these different structs. Metric for comparing the average ro+rw read of a qtable entry with the profile's ro+rw read count

Member Function Documentation

static int32_t anonymous_namespace{cbr.cpp}::Read::compare ( dynprof_t p,
qtable_t i,
uint32_t  ,
int   
)
inlinestatic

Here is the call graph for this function:

static bool anonymous_namespace{cbr.cpp}::Read::uses_RO ( )
inlinestatic
static bool anonymous_namespace{cbr.cpp}::Read::uses_TxnRatio ( )
inlinestatic

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