1 #this script is intended to help recover the running graphs when
2 #the nightly tester decides to eat them.
4 #zgrep -E "(=========)|(TEST-RESULT-llc-time)" *-Olden-tests.txt* |perl this > file
5 #zgrep -E "(=========)|(TEST-RESULT-compile.*bc)" *-Olden-tests.tx* |perl this >file
8 if (/(\d*-\d*-\d*)-.*=========.*\/(.*)\' Program
/) {
13 } elsif (/(\d*-\d*-\d*)-.*TEST-RESULT-.*: program (\d*\.\d*)/) {
16 $$data{$curD}{$curP} = $2;
18 } elsif (/(\d*-\d*-\d*)-.*TEST-RESULT-.*: (\d*)/) {
21 $$data{$curD}{$curP} = $2;
25 @progs = ("bh", "em3d", "mst", "power", "tsp", "bisort", "health", "perimeter", "treeadd", "voronoi");
27 foreach $date (sort keys %dates) {
29 foreach $prog (@progs) {
30 if ($$data{$date}{$prog}) {
31 print " $$data{$date}{$prog}";