Commit 8474f553 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

cleaning up

parent 64343222
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@ object FnordMetric {


  def now : Long =
    System.nanoTime / 1000000
    System.currentTimeMillis


  def log(msg: String) = {
+3 −0
Original line number Diff line number Diff line
@@ -14,6 +14,9 @@ class ValuesInInstruction(key: MetricKey, time0: Long, time1: Long) extends Abst
    val values = metric.values_in(time1 * 1000, time0 * 1000)
    val resp = new StringBuffer

    if (values.size == 0)
      return "null"

    for (ind <- (0 until values.size)) {
      resp.append(values(ind)._1)
      resp.append(":")