diff --git a/util/memloadgen.cc b/util/memloadgen.cc index 9ff4c5c..ad53f7b 100644 --- a/util/memloadgen.cc +++ b/util/memloadgen.cc @@ -184,7 +184,7 @@ int main(int argc, char * argv[]) uint64_t trans = mgen->get_transactions(); uint64_t bps = (uint64_t)((double)((trans - prev_trans) * transaction_size) / ((double)(cur_ts - prev_ts) / (double)S2NS)); - ntr(NTR_DEP_USER1, NTR_LEVEL_INFO, "bps = %ld ~= %ldM\n", bps, bps / 1024 / 1024); + ntr(NTR_DEP_USER1, NTR_LEVEL_INFO, "%ldB,%ldM\n", bps, bps / 1024 / 1024); ofile << bps << std::endl; prev_ts = cur_ts;