Zero  0.1.0
Macros | Functions | Variables
tpcb_input.cpp File Reference

: Implementation of the (common) inputs for the TPCB trxs More...

#include <cassert>
#include "tpcb_input.h"

Macros

#define ONLY_LOCAL_TCPB
 

Functions

acct_update_input_t create_acct_update_input (int sf, int specificBr, int tspread)
 
populate_db_input_t create_populate_db_input (int sf, int specificSub, int tspread)
 
mbench_insert_only_input_t create_mbench_insert_only_input (int sf, int specificBr, int tspread)
 
mbench_delete_only_input_t create_mbench_delete_only_input (int sf, int specificBr, int tspread)
 
mbench_probe_only_input_t create_mbench_probe_only_input (int sf, int specificBr, int tspread)
 
mbench_insert_delete_input_t create_mbench_insert_delete_input (int sf, int specificBr, int tspread)
 
mbench_insert_probe_input_t create_mbench_insert_probe_input (int sf, int specificBr, int tspread)
 
mbench_delete_probe_input_t create_mbench_delete_probe_input (int sf, int specificBr, int tspread)
 
mbench_mix_input_t create_mbench_mix_input (int sf, int specificBr, int tspread)
 

Variables

const int LOCAL_TPCB = 100
 
skewer_t b_skewer
 
skewer_t t_skewer
 
skewer_t a_skewer
 
bool _change_load = false
 
volatile unsigned long balance = 0
 

Detailed Description

: Implementation of the (common) inputs for the TPCB trxs

Macro Definition Documentation

§ ONLY_LOCAL_TCPB

#define ONLY_LOCAL_TCPB

Function Documentation

§ create_acct_update_input()

acct_update_input_t create_acct_update_input ( int  sf,
int  specificBr,
int  tspread 
)

§ create_mbench_delete_only_input()

mbench_delete_only_input_t create_mbench_delete_only_input ( int  sf,
int  specificBr,
int  tspread 
)

§ create_mbench_delete_probe_input()

mbench_delete_probe_input_t create_mbench_delete_probe_input ( int  sf,
int  specificBr,
int  tspread 
)

§ create_mbench_insert_delete_input()

mbench_insert_delete_input_t create_mbench_insert_delete_input ( int  sf,
int  specificBr,
int  tspread 
)

§ create_mbench_insert_only_input()

mbench_insert_only_input_t create_mbench_insert_only_input ( int  sf,
int  specificBr,
int  tspread 
)

§ create_mbench_insert_probe_input()

mbench_insert_probe_input_t create_mbench_insert_probe_input ( int  sf,
int  specificBr,
int  tspread 
)

§ create_mbench_mix_input()

mbench_mix_input_t create_mbench_mix_input ( int  sf,
int  specificBr,
int  tspread 
)

§ create_mbench_probe_only_input()

mbench_probe_only_input_t create_mbench_probe_only_input ( int  sf,
int  specificBr,
int  tspread 
)

§ create_populate_db_input()

populate_db_input_t create_populate_db_input ( int  sf,
int  specificSub,
int  tspread 
)

Variable Documentation

§ _change_load

bool _change_load = false

§ a_skewer

skewer_t a_skewer

§ b_skewer

skewer_t b_skewer

Exported variables

§ balance

volatile unsigned long balance = 0

§ LOCAL_TPCB

const int LOCAL_TPCB = 100

§ t_skewer

skewer_t t_skewer