Statistician

- Setup the bootstrap time to be in milliseconds instead of nanoseconds
This commit is contained in:
Joshua Kissoon 2014-05-08 00:14:57 +05:30
parent 32a6d7875b
commit 1ff0fb8284
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public interface KadStatistician
public void setBootstrapTime(long time); 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(); public long getBootstrapTime();

View File

@ -70,7 +70,7 @@ public class Statistician implements KadStatistician
@Override @Override
public long getBootstrapTime() public long getBootstrapTime()
{ {
return this.bootstrapTime; return this.bootstrapTime / 1000000L;
} }
@Override @Override