Skip to content

Commit

Permalink
Added printing of important information.
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyihe committed Apr 22, 2019
1 parent b33c779 commit e7282d1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions benchmark/TPCC_bench.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,28 @@ int main(int argc, const char *const *argv) {

db_params_id dbid = db_params_id::Default;
int ret_code = 0;

std::cout << "TPCC_HASH_INDEX: " <<
#if TPCC_HASH_INDEX
1
#else
0
#endif
<< std::endl;
std::cout << "TPCC_OBSERVE_C_BALANCE: " <<
#if TPCC_OBSERVE_C_BALANCE
1
#else
0
#endif
<< std::endl;
std::cout << "MALLOC: " <<
#ifdef MALLOC
MALLOC
#else
"undefined."
#endif
<< std::endl;

Clp_Parser *clp = Clp_NewParser(argc, argv, arraysize(options), options);

Expand Down

0 comments on commit e7282d1

Please sign in to comment.