研究メモ

TPCCベンチマーク
ShuffleDeck関数に以下を追加。
またNO_ONLYなどの定義をbase.hにて定義。

#ifdef NO_ONLY
for(count=0; count<23; count++) deck[count] = NEWORDER;
#endif
#ifdef PAY_ONLY
for(count=0; count<23; count++) deck[count] = PAYMENT;
#endif
#ifdef OS_ONLY
for(count=0; count<23;count++) deck[count] = ORDER_STATUS;
#endif
#ifdef DELI_ONLY
for(count=0; count<23;count++) deck[count] = DELIVERY;
#endif
#ifdef SL_ONLY
for(count=0; count<23;count++) deck[count] = STOCK_LEVEL;
#endif