diff --git a/src/kademlia/KadStatistician.java b/src/kademlia/KadStatistician.java index 8fe9a0c..f52da30 100644 --- a/src/kademlia/KadStatistician.java +++ b/src/kademlia/KadStatistician.java @@ -43,7 +43,7 @@ public interface KadStatistician public void setBootstrapTime(long time); /** - * @return How long the system took to bootstrap + * @return How long the system took to bootstrap in milliseconds */ public long getBootstrapTime(); diff --git a/src/kademlia/Statistician.java b/src/kademlia/Statistician.java index 5d1259d..e04d883 100644 --- a/src/kademlia/Statistician.java +++ b/src/kademlia/Statistician.java @@ -70,7 +70,7 @@ public class Statistician implements KadStatistician @Override public long getBootstrapTime() { - return this.bootstrapTime; + return this.bootstrapTime / 1000000L; } @Override