Skip to content
Snippets Groups Projects
Commit 8bfa50ba authored by Michi Mutsuzaki's avatar Michi Mutsuzaki
Browse files

Merge pull request #86 from minghan/upstream

Fixed bug in CoreWorkload
parents 20f88905 ae1c9a92
No related branches found
No related tags found
No related merge requests found
......@@ -570,15 +570,15 @@ public class CoreWorkload extends Workload
//do the transaction
long st=System.currentTimeMillis();
long st=System.nanoTime();
db.read(table,keyname,fields,new HashMap<String,ByteIterator>());
db.update(table,keyname,values);
long en=System.currentTimeMillis();
long en=System.nanoTime();
Measurements.getMeasurements().measure("READ-MODIFY-WRITE", (int)(en-st));
Measurements.getMeasurements().measure("READ-MODIFY-WRITE", (int)((en-st)/1000));
}
public void doTransactionScan(DB db)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment