Преглед на файлове

Pass stability option to sort tool, not grep :)

Samuel Thibault преди 11 години
родител
ревизия
e1e5feddca
променени са 2 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 3 3
      tools/starpu_paje_draw_histogram.in
  2. 3 3
      tools/starpu_paje_state_stats.in

+ 3 - 3
tools/starpu_paje_draw_histogram.in

@@ -109,9 +109,9 @@ for file in $inputfiles; do
 	exit 5
     fi
 # Sorting traces
-    grep -s -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' $file > start.trace
-    grep -s -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' -v $file > end.trace
-    sort -V --key=2,2 end.trace > endSorted.trace
+    grep -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' $file > start.trace
+    grep -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' -v $file > end.trace
+    sort -s -V --key=2,2 end.trace > endSorted.trace
     cat start.trace endSorted.trace > outputSorted.trace
 
 # Transferring to .csv

+ 3 - 3
tools/starpu_paje_state_stats.in

@@ -110,9 +110,9 @@ for file in $inputfiles; do
 	exit 5
     fi
 # Sorting traces
-    grep -s -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' $file > start.trace
-    grep -s -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' -v $file > end.trace
-    sort -V --key=2,2 end.trace > endSorted.trace
+    grep -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' $file > start.trace
+    grep -e '^\(\(%\)\|\(\(1\|2\|3\|4\|5\|6\|7\|8\|9\)\>\)\)' -v $file > end.trace
+    sort -s -V --key=2,2 end.trace > endSorted.trace
     cat start.trace endSorted.trace > outputSorted.trace
 
 # Transferring to .csv