diff options
author | Simon Rettberg | 2024-05-08 18:39:33 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-08 18:39:33 +0200 |
commit | 946985eb5f13873f44074a9771a7b016555c1f6c (patch) | |
tree | adf792d4d40331cf7b654d914481f92f891def32 | |
parent | Merge branch 'master' of git.openslx.org:bwlp/master-sync-shared (diff) | |
download | master-sync-shared-946985eb5f13873f44074a9771a7b016555c1f6c.tar.gz master-sync-shared-946985eb5f13873f44074a9771a7b016555c1f6c.tar.xz master-sync-shared-946985eb5f13873f44074a9771a7b016555c1f6c.zip |
Util: Fix tickCount()
-rw-r--r-- | src/main/java/org/openslx/util/Util.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/util/Util.java b/src/main/java/org/openslx/util/Util.java index 5300cfa..2ebd4e1 100644 --- a/src/main/java/org/openslx/util/Util.java +++ b/src/main/java/org/openslx/util/Util.java @@ -147,7 +147,7 @@ public class Util */ public static long tickCount() { - return System.nanoTime() / 1000; + return System.nanoTime() / 1000_000; } private static final String[] UNITS = new String[] { "B", "KB", "MB", "GB", "TB", "PB", "???" }; |