Created
April 27, 2011 20:28
-
-
Save shiftycow/945124 to your computer and use it in GitHub Desktop.
timing script for parallel homework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
use strict; | |
print "processors,time,average temp,min temp,max temp\n"; | |
my @threads = (1,2,3,4); | |
my @scheduling = (1,2,3,4); | |
foreach (@threads) | |
{ | |
my $p = $_; | |
foreach(@schedules) | |
{ | |
my $schedule = $_; | |
print `./a.out -t $p -s $schedule`; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment