diff options
author | Martin Odersky <odersky@gmail.com> | 2014-01-26 10:13:11 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-01-26 18:52:33 +0100 |
commit | 8b1cc2270c67157f60111a853680fd4f20418d59 (patch) | |
tree | 8527e023059546f2a8dc80e14237e3fab0555d64 /src/dotty/tools/dotc/core/Names.scala | |
parent | b2dd6a8a67a70783e68da1f33c33f18c6641e5bb (diff) | |
download | dotty-8b1cc2270c67157f60111a853680fd4f20418d59.tar.gz dotty-8b1cc2270c67157f60111a853680fd4f20418d59.tar.bz2 dotty-8b1cc2270c67157f60111a853680fd4f20418d59.zip |
Some more statistic sampling
Diffstat (limited to 'src/dotty/tools/dotc/core/Names.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Names.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/Names.scala b/src/dotty/tools/dotc/core/Names.scala index 65cbf6b99..30f82e05e 100644 --- a/src/dotty/tools/dotc/core/Names.scala +++ b/src/dotty/tools/dotc/core/Names.scala @@ -269,6 +269,7 @@ object Names { * Assume they are already encoded. */ def termName(cs: Array[Char], offset: Int, len: Int): TermName = { + util.Stats.record("termName") val h = hashValue(cs, offset, len) & (table.size - 1) synchronized { val next = table(h) |