devFormat
This commit is contained in:
parent
518065c3ed
commit
88e66533ad
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue