tlds
Transactional Operations for Linked Data Structures
|
#include <policies.hpp>
Public Member Functions | |
dynprof_t () | |
dynprof_t & | operator= (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 |
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.
|
inline |
simple ctor to prevent compiler warnings
|
inline |
If we have lots of profiles, compute their average value for each field
|
inline |
Operator for copying profiles
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 |