diff options
author | Martin Odersky <odersky@gmail.com> | 2012-07-06 13:37:51 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-07-11 17:40:21 +0200 |
commit | 2d35dfcffdf227466b22e3920943a3acc6240e7f (patch) | |
tree | 4b6ad20c594cb3618bd5afc588d1ec2e2d61bc93 /src | |
parent | f08378f766280dc4ad5ff2fadd28f6dcdab057b6 (diff) | |
download | scala-2d35dfcffdf227466b22e3920943a3acc6240e7f.tar.gz scala-2d35dfcffdf227466b22e3920943a3acc6240e7f.tar.bz2 scala-2d35dfcffdf227466b22e3920943a3acc6240e7f.zip |
statistics: print millis instead of micros.
Diffstat (limited to 'src')
-rw-r--r-- | src/reflect/scala/reflect/internal/util/Statistics.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflect/scala/reflect/internal/util/Statistics.scala b/src/reflect/scala/reflect/internal/util/Statistics.scala index 3a31c2858b..e503d812e6 100644 --- a/src/reflect/scala/reflect/internal/util/Statistics.scala +++ b/src/reflect/scala/reflect/internal/util/Statistics.scala @@ -169,7 +169,7 @@ quant) nanos = nanos0 + System.nanoTime() - start timings += 1 } - protected def show(ns: Long) = s"${ns/1000}ms" + protected def show(ns: Long) = s"${ns/1000000}ms" override def toString = s"$timings spans, ${show(nanos)}" } |