devFormat

This commit is contained in:
negoyal 2021-10-28 11:13:12 -07:00
parent 518065c3ed
commit 88e66533ad
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ public:
if (enabled && res) {
auto bitFlipPercentage = static_cast<BitFlipper*>(res)->getBitFlipPercentage();
if (bitFlipPercentage > 0.0) {
auto bitFlipProb = bitFlipPercentage/100;
auto bitFlipProb = bitFlipPercentage / 100;
if (deterministicRandom()->random01() < bitFlipProb) {
pdata = (char*)arena.allocate4kAlignedBuffer(length);
memcpy(pdata, data, length);

View File

@ -56,7 +56,7 @@ struct MakoWorkload : TestWorkload {
commits("Commits"), totalOps("Operations") {
// init parameters from test file
// Number of rows populated
rowCount = getOption(options, LiteralStringRef("rows"), (uint64_t )10000);
rowCount = getOption(options, LiteralStringRef("rows"), (uint64_t)10000);
// Test duration in seconds
testDuration = getOption(options, LiteralStringRef("testDuration"), 30.0);
warmingDelay = getOption(options, LiteralStringRef("warmingDelay"), 0.0);