diff options
author | Nathan Harmata <nharmata@google.com> | 2015-07-27 21:28:19 +0000 |
---|---|---|
committer | Laszlo Csomor <laszlocsomor@google.com> | 2015-07-28 07:52:33 +0000 |
commit | 72ec843dc4bff25a339b8b747db5a0d1af34406d (patch) | |
tree | 682984c0063cbfac13e10c8f3d8c1445e04befd4 | |
parent | b01b1fd5e1bdd2b3911164debc8946688ec223fa (diff) |
Fix conversion from nanoseconds so that it actually targets milliseconds. The incorrect conversion was introduced recently.
--
MOS_MIGRATED_REVID=99218016
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java index 3c0c0f2bff..d8a590fefb 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java @@ -657,7 +657,7 @@ public final class BlazeRuntime { long stopTime = Profiler.nanoTimeMaybe(); long duration = stopTime - startTime; if (duration > 0) { - LOG.info("Spent " + (duration / 1000) + " ms loading persistent action cache"); + LOG.info("Spent " + (duration / (1000 * 1000)) + " ms loading persistent action cache"); } Profiler.instance().logSimpleTask(startTime, ProfilerTask.INFO, "Loading action cache"); } |