Parcourir la source

- processors nowadays may have more than a single digit number of cores...

Olivier Aumage il y a 10 ans
Parent
commit
67a1eee341
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      tools/starpu_workers_activity.in

+ 2 - 2
tools/starpu_workers_activity.in

@@ -137,7 +137,7 @@ EOF
 cnt=0
 for worker in $workers
 do
-	grep "^$worker" $inputfile > .tmp.$worker
+	grep "^$worker\s" $inputfile > .tmp.$worker
 
 	starty=$(echo "$heigth + ($heigth * $cnt)"|bc -l)
 
@@ -150,7 +150,7 @@ set key off
 
 set yrange [0:100]
 
-set ylabel "$(cut -f2- $names |grep "^$worker" | cut -f2)"
+set ylabel "$(cut -f2- $names |grep "^$worker$" | cut -f2)"
 
 plot ".tmp.$worker" using (\$2/1000):(100) with filledcurves y1=0.0 lt rgb "#000000" notitle,\
 	 ".tmp.$worker" using (\$2/1000):((100*(\$4+\$5))/\$3) with filledcurves y1=0.0 lt rgb "#ff0000" notitle,\