Skip to content

Commit

Permalink
Screw doing math on MS on Log4J timestamps, will just get it from log…
Browse files Browse the repository at this point in the history
…ger, although I did notice Log4J timestamps are pretty accurate.
  • Loading branch information
AndrewQuijano committed Apr 26, 2024
1 parent ad54bf3 commit 3ef174f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/weka/finito/client.java
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,13 @@ public void run() {

// For every other level, the level-site will reach out to you
while(!classification_complete) {
long start_wait = System.nanoTime();
logger.info("[Client] Client is now waiting for next level-site");
++level;
Socket level_site = level_site_listener.accept();
logger.info("[Client] Level-site just got features and just connected back for encrypted integer comparison");
long end_wait = System.nanoTime();
double wait_time = (double) (end_wait - start_wait);
logger.info(String.format("[Client] Next Level-site just got features and just connected back for encrypted integer comparison in %f ms", wait_time));
evaluate_with_level_site(level_site, level);
}
}
Expand Down

0 comments on commit 3ef174f

Please sign in to comment.