projects
/
iotcloud.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
94177d5
)
Changes
author
Ali Younis
<ayounis@uci.edu>
Wed, 17 May 2017 20:06:22 +0000
(13:06 -0700)
committer
Ali Younis
<ayounis@uci.edu>
Wed, 17 May 2017 20:06:22 +0000
(13:06 -0700)
version2/src/java/iotcloud/Test.java
patch
|
blob
|
history
diff --git
a/version2/src/java/iotcloud/Test.java
b/version2/src/java/iotcloud/Test.java
index 403c2beb368b4645ffa3b8418fab02820ce22996..7c1e206e5e56be5c102687605323567379e65a9d 100644
(file)
--- a/
version2/src/java/iotcloud/Test.java
+++ b/
version2/src/java/iotcloud/Test.java
@@
-59,6
+59,8
@@
public class Test {
t1.initTable();
System.out.println("T1 Ready");
t1.initTable();
System.out.println("T1 Ready");
+ long initTimeNet = timer.getTime();
+
// Make the Keys
System.out.println("Setting up keys");
startTime = System.nanoTime();
// Make the Keys
System.out.println("Setting up keys");
startTime = System.nanoTime();
@@
-70,7
+72,7
@@
public class Test {
}
endTime = System.nanoTime();
long keysDt = endTime - startTime;
}
endTime = System.nanoTime();
long keysDt = endTime - startTime;
- long keysNet = timer.getTime();
+ long keysNet = timer.getTime()
- initTimeNet
;
System.out.println("Total Key Create Time: " + keysDt / 1000000);
System.out.println("Total Key Create Time Network: " + keysNet / 1000000);
System.out.println("Total Key Create Time: " + keysDt / 1000000);
System.out.println("Total Key Create Time Network: " + keysNet / 1000000);