public class Test {
- public static final int NUMBER_OF_TESTS = 2;
+ public static final int NUMBER_OF_TESTS = 2;
public static void main(String[] args) throws ServerException {
if (args[0].equals("2")) {
List<TransactionStatus> transStatusList = new ArrayList<TransactionStatus>();
// Setup the 2 clients
+ startTime = System.nanoTime();
Table t1 = new Table("http://dc-6.calit2.uci.edu/test.iotcloud/", "reallysecret", 321, -1);
t1.initTable();
System.out.println("T1 Ready");
+ endTime = System.nanoTime();
+ long keysPrep = endTime - startTime;
long initTimeNet = timer.getTime();
long keysDt = endTime - startTime;
long keysNet = timer.getTime() - initTimeNet;
- System.out.println("Total Key Create Time: " + keysDt / 1000000);
+ System.out.println("Total Preparation Time: " + keysPrep / 1000000);
System.out.println("Total Key Create Time Network: " + keysNet / 1000000);
System.out.println("Total Key Create Time no Network: " + (keysDt - keysNet) / 1000000);
System.out.println();