Zero  0.1.0
Classes | Enumerations | Functions | Variables
tpcb_input.h File Reference

Declaration of the (common) inputs for the TPC-C trxs. More...

#include "skewer.h"
#include "util/random_input.h"

Go to the source code of this file.

Classes

struct  acct_update_input_t
 
struct  populate_db_input_t
 
struct  mbench_insert_only_input_t
 
struct  mbench_delete_only_input_t
 
struct  mbench_probe_only_input_t
 
struct  mbench_insert_delete_input_t
 
struct  mbench_insert_probe_input_t
 
struct  mbench_delete_probe_input_t
 
struct  mbench_mix_input_t
 

Enumerations

enum  { TPCB_TELLERS_PER_BRANCH = 10 }
 
enum  { TPCB_ACCOUNTS_PER_BRANCH = 100000 }
 
enum  { TPCB_ACCOUNTS_CREATED_PER_POP_XCT = 10000 }
 

Functions

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

Variables

const int XCT_TPCB_ACCT_UPDATE = 0
 
const int XCT_TPCB_POPULATE_DB = 39
 
const int XCT_TPCB_MBENCH_INSERT_ONLY = 41
 
const int XCT_TPCB_MBENCH_DELETE_ONLY = 42
 
const int XCT_TPCB_MBENCH_PROBE_ONLY = 43
 
const int XCT_TPCB_MBENCH_INSERT_DELETE = 44
 
const int XCT_TPCB_MBENCH_INSERT_PROBE = 45
 
const int XCT_TPCB_MBENCH_DELETE_PROBE = 46
 
const int XCT_TPCB_MBENCH_MIX = 47
 
skewer_t b_skewer
 
skewer_t t_skewer
 
skewer_t a_skewer
 
bool _change_load
 

Detailed Description

Declaration of the (common) inputs for the TPC-C trxs.

Author
: Ryan Johnson, Feb 2009
: Ippokratis Pandis, Feb 2009

Enumeration Type Documentation

§ anonymous enum

anonymous enum
Enumerator
TPCB_TELLERS_PER_BRANCH 

§ anonymous enum

anonymous enum
Enumerator
TPCB_ACCOUNTS_PER_BRANCH 

§ anonymous enum

anonymous enum
Enumerator
TPCB_ACCOUNTS_CREATED_PER_POP_XCT 

Function Documentation

§ create_acct_update_input()

acct_update_input_t create_acct_update_input ( int  SF,
int  specificBr = 0,
int  tspread = 0 
)

§ create_mbench_delete_only_input()

mbench_delete_only_input_t create_mbench_delete_only_input ( int  SF,
int  specificBr = 0,
int  tspread = 0 
)

§ create_mbench_delete_probe_input()

mbench_delete_probe_input_t create_mbench_delete_probe_input ( int  SF,
int  specificBr = 0,
int  tspread = 0 
)

§ create_mbench_insert_delete_input()

mbench_insert_delete_input_t create_mbench_insert_delete_input ( int  SF,
int  specificBr = 0,
int  tspread = 0 
)

§ create_mbench_insert_only_input()

mbench_insert_only_input_t create_mbench_insert_only_input ( int  SF,
int  specificBr = 0,
int  tspread = 0 
)

§ create_mbench_insert_probe_input()

mbench_insert_probe_input_t create_mbench_insert_probe_input ( int  SF,
int  specificBr = 0,
int  tspread = 0 
)

§ create_mbench_mix_input()

mbench_mix_input_t create_mbench_mix_input ( int  SF,
int  specificBr = 0,
int  tspread = 0 
)

§ create_mbench_probe_only_input()

mbench_probe_only_input_t create_mbench_probe_only_input ( int  SF,
int  specificBr = 0,
int  tspread = 0 
)

§ create_populate_db_input()

populate_db_input_t create_populate_db_input ( int  SF,
int  specificBr = 0,
int  tspread = 0 
)

Variable Documentation

§ _change_load

bool _change_load

§ a_skewer

skewer_t a_skewer

§ b_skewer

skewer_t b_skewer

Exported variables

§ t_skewer

skewer_t t_skewer

§ XCT_TPCB_ACCT_UPDATE

const int XCT_TPCB_ACCT_UPDATE = 0

§ XCT_TPCB_MBENCH_DELETE_ONLY

const int XCT_TPCB_MBENCH_DELETE_ONLY = 42

§ XCT_TPCB_MBENCH_DELETE_PROBE

const int XCT_TPCB_MBENCH_DELETE_PROBE = 46

§ XCT_TPCB_MBENCH_INSERT_DELETE

const int XCT_TPCB_MBENCH_INSERT_DELETE = 44

§ XCT_TPCB_MBENCH_INSERT_ONLY

const int XCT_TPCB_MBENCH_INSERT_ONLY = 41

§ XCT_TPCB_MBENCH_INSERT_PROBE

const int XCT_TPCB_MBENCH_INSERT_PROBE = 45

§ XCT_TPCB_MBENCH_MIX

const int XCT_TPCB_MBENCH_MIX = 47

§ XCT_TPCB_MBENCH_PROBE_ONLY

const int XCT_TPCB_MBENCH_PROBE_ONLY = 43

§ XCT_TPCB_POPULATE_DB

const int XCT_TPCB_POPULATE_DB = 39