equal
deleted
inserted
replaced
30 def total: Entry = Entry("TOTAL", entries.iterator.map(_.count).sum) |
30 def total: Entry = Entry("TOTAL", entries.iterator.map(_.count).sum) |
31 |
31 |
32 def print: String = |
32 def print: String = |
33 { |
33 { |
34 (if (kind == "time_thread") "time profile (single thread)" else kind + " profile") + |
34 (if (kind == "time_thread") "time profile (single thread)" else kind + " profile") + |
35 (entries ::: List(total)).map(_.print).mkString(":\n", "\n", "\n") |
35 (entries ::: List(total)).map(_.print).mkString(":\n", "\n", "") |
36 } |
36 } |
37 } |
37 } |
38 |
38 |
39 def account(reports: List[Report]): List[Report] = |
39 def account(reports: List[Report]): List[Report] = |
40 { |
40 { |