[Assorted-commits] SF.net SVN: assorted: [630] numa-bench/trunk/tools/PlotHist.scala
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-03-17 15:49:52
|
Revision: 630 http://assorted.svn.sourceforge.net/assorted/?rev=630&view=rev Author: yangzhang Date: 2008-03-17 08:49:56 -0700 (Mon, 17 Mar 2008) Log Message: ----------- added indifference to memory size (for grouping graphs on scaling) Modified Paths: -------------- numa-bench/trunk/tools/PlotHist.scala Modified: numa-bench/trunk/tools/PlotHist.scala =================================================================== --- numa-bench/trunk/tools/PlotHist.scala 2008-03-16 22:07:36 UTC (rev 629) +++ numa-bench/trunk/tools/PlotHist.scala 2008-03-17 15:49:56 UTC (rev 630) @@ -51,7 +51,7 @@ val scaling: MultiMap[ConfigDescrip, (NumWorkers, Throughput)] = multimap( for ((config, points) <- graphs) yield { val attrmap = Map(pairs(config split " "): _*) - val Seq(_, nworkers, rest) = config split (" ", 3) + val Seq(_, nworkers, _, size, rest) = config split (" ", 5) val maxTime = Iterable.max(points map (_._2)) val tput = nworkers.toDouble * attrmap("opcount").toDouble / (maxTime / 1000.0) (rest, (nworkers.toInt, tput)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |