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

#include <policies.hpp>

Collaboration diagram for stm::dynprof_t:

Public Member Functions

 dynprof_t ()
 
dynprof_toperator= (const dynprof_t *profile)
 
void dump ()
 
void clear ()
 

Static Public Member Functions

static void doavg (dynprof_t &dest, dynprof_t *list, int num)
 

Public Attributes

int read_ro
 
int read_rw_nonraw
 
int read_rw_raw
 
int write_nonwaw
 
int write_waw
 
int pad
 
uint64_t txn_time
 
uint64_t timecounter
 

Detailed Description

Data type for holding the dynamic transaction profiles that we collect. This is pretty sloppy for now, and the 'dump' command is really not going to be important once we get out of the debug phase. We may also determine that we need more information than we currently have.

Constructor & Destructor Documentation

stm::dynprof_t::dynprof_t ( )
inline

simple ctor to prevent compiler warnings

Member Function Documentation

void stm::dynprof_t::clear ( )
inline

Clear a dynprof_t

Here is the caller graph for this function:

static void stm::dynprof_t::doavg ( dynprof_t dest,
dynprof_t list,
int  num 
)
inlinestatic

If we have lots of profiles, compute their average value for each field

Here is the call graph for this function:

Here is the caller graph for this function:

void stm::dynprof_t::dump ( )
inline

Print a dynprof_t

Here is the caller graph for this function:

dynprof_t& stm::dynprof_t::operator= ( const dynprof_t profile)
inline

Operator for copying profiles

Member Data Documentation

int stm::dynprof_t::pad
int stm::dynprof_t::read_ro
int stm::dynprof_t::read_rw_nonraw
int stm::dynprof_t::read_rw_raw
uint64_t stm::dynprof_t::timecounter
uint64_t stm::dynprof_t::txn_time
int stm::dynprof_t::write_nonwaw
int stm::dynprof_t::write_waw

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