]> AND Private Git Repository - loba.git/blobdiff - Experimentations/extract-all-inv
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Move idle duration, and supernumerary iterations in "Useful metrics".
[loba.git] / Experimentations / extract-all-inv
index dfa4c60e9af24548cc7c371fa3341512021e7f5d..41e6ece91a0bd2b6a2768e63b3f422af0179cf02 100755 (executable)
@@ -124,7 +124,7 @@ for plat in "${PLATFORMS[@]}"; do
                                                target_position=${params_pos[$target_i]};
                                                        outfilesuffix=$(outfile  "${target_param[@]}")
                                                topo_data_out="$plat_output/data_$topo-$outfilesuffix.tex"
                                                target_position=${params_pos[$target_i]};
                                                        outfilesuffix=$(outfile  "${target_param[@]}")
                                                topo_data_out="$plat_output/data_$topo-$outfilesuffix.tex"
-                                               variable=$(awk '/'"$target_param"'/{print $'"$target_position"'}' "$infile")
+                                               variable=$(tail -17 "$infile" | awk '/'"$target_param"'/{print $'"$target_position"'}')
                                                log "Reading $target_param from $infile : $variable"
                                                mediantexline=$(echo -e "$mediantexline&$variable\t")
                                                echo  -e "$algo$bk\t$variable\n" >> "$topo_data_out"
                                                log "Reading $target_param from $infile : $variable"
                                                mediantexline=$(echo -e "$mediantexline&$variable\t")
                                                echo  -e "$algo$bk\t$variable\n" >> "$topo_data_out"