t2.update();
System.out.println("T2 Ready");
+
+
+ long initTimeNet = timer.getTime();
+
+
// Make the Keys
System.out.println("Setting up keys");
startTime = System.nanoTime();
}
endTime = System.nanoTime();
long keysDt = endTime - startTime;
- long keysNet = timer.getTime();
+ long keysNet = timer.getTime() - initTimeNet;
// Do Updates for the keys
System.out.println("Setting Key-Values...");
}
endTime = System.nanoTime();
long writesDt = endTime - startTime;
- long writesNet = timer.getTime() - keysNet;
+ long writesNet = timer.getTime() - keysNet - initTimeNet;
System.out.println("Updating Clients...");
startTime = System.nanoTime();
t2.update();
endTime = System.nanoTime();
long updatesDt = endTime - startTime;
- long updatesNet = timer.getTime() - keysNet - writesNet;
+ long updatesNet = timer.getTime() - keysNet - writesNet - initTimeNet;
System.out.println("Total Key Create Time: " + keysDt / 1000000);
t2.update();
System.out.println("T2 Ready");
+
+ long initTimeNet = timer.getTime();
+
+
// Make the Keys
System.out.println("Setting up keys");
startTime = System.nanoTime();
}
endTime = System.nanoTime();
long keysDt = endTime - startTime;
- long keysNet = timer.getTime();
+ long keysNet = timer.getTime() - initTimeNet;
// Do Updates for the keys
System.out.println("Setting Key-Values...");
}
endTime = System.nanoTime();
long writesDt = endTime - startTime;
- long writesNet = timer.getTime() - keysNet;
+ long writesNet = timer.getTime() - keysNet - initTimeNet;
System.out.println("Updating Clients...");
startTime = System.nanoTime();
t2.update();
endTime = System.nanoTime();
long updatesDt = endTime - startTime;
- long updatesNet = timer.getTime() - keysNet - writesNet;
+ long updatesNet = timer.getTime() - keysNet - writesNet - initTimeNet;
System.out.println("Total Key Create Time: " + keysDt / 1000000);