X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=newstable.pl;fp=newstable.pl;h=cbfbbd7da0594d2ab3b80800f418729e5a84e888;hb=7f1b6bd9e0070ddc074215defc46d64abef645ac;hp=233d317e1f660fcc3b97a432dd4204ec8594fb89;hpb=3b542afc856d736dfd2ff0eed081f647de07af4c;p=clump.git diff --git a/newstable.pl b/newstable.pl index 233d317..cbfbbd7 100644 --- a/newstable.pl +++ b/newstable.pl @@ -17,7 +17,7 @@ my @cpus; my @newstable; -my $side = 8; # there are $side * $side CPUs +my $side = 4; # there are $side * $side CPUs for my $line (0 .. ($side - 1)) { $cpus[$line] = [ ($line * $side) .. (($line + 1) * $side - 1) ] @@ -34,10 +34,10 @@ for my $cpu (0 .. ($side * $side - 1)) { } for my $direction (0 .. $#diffs) { - print "$direction: flag_or_news = {"; - printf 'latest_news[%2d]', $newstable[0][$direction]; + print "$direction: news_out = {"; + printf 'news_in[%2d]', $newstable[0][$direction]; for my $cpu (1 .. ($side * $side - 1)) { - printf ', latest_news[%2d]', $newstable[$cpu][$direction]; + printf ', news_in[%2d]', $newstable[$cpu][$direction]; } say '};' }