Fix Mhz -> MHz in Dhrystone benchmark report generation
This commit is contained in:
parent
7beb9887a6
commit
8968b5a3fa
|
@ -45,7 +45,7 @@ class DhrystoneBench extends AnyFunSuite {
|
||||||
val coremarkIterations = intFind.findFirstIn("Iterations \\: (\\d+.?)+".r.findAllIn(str).toList.last).get.toDouble
|
val coremarkIterations = intFind.findFirstIn("Iterations \\: (\\d+.?)+".r.findAllIn(str).toList.last).get.toDouble
|
||||||
val coremarkHzs = intFind.findFirstIn("DCLOCKS_PER_SEC=(\\d+.?)+".r.findAllIn(str).toList.last).get.toDouble
|
val coremarkHzs = intFind.findFirstIn("DCLOCKS_PER_SEC=(\\d+.?)+".r.findAllIn(str).toList.last).get.toDouble
|
||||||
val coremarkPerMhz = 1e6 * coremarkIterations / coremarkTicks
|
val coremarkPerMhz = 1e6 * coremarkIterations / coremarkTicks
|
||||||
report ++= s"$name -> $dmips DMIPS/Mhz $coremarkPerMhz Coremark/Mhz\n"
|
report ++= s"$name -> $dmips DMIPS/MHz $coremarkPerMhz Coremark/MHz\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue