diff options
author | Robin Nehls <nehls@mi.fu-berlin.de> | 2011-05-21 17:08:09 +0200 |
---|---|---|
committer | Robin Nehls <nehls@mi.fu-berlin.de> | 2011-05-21 17:08:09 +0200 |
commit | 00ab79216f644efa29153e1d93a852040a6284af (patch) | |
tree | 058edc0b15acb809ea1bc9ac66d9319cdb9a7d8f | |
parent | d8d4f48375bdef25d0bf445796eca300e47c9a07 (diff) | |
download | manycore-00ab79216f644efa29153e1d93a852040a6284af.tar.gz manycore-00ab79216f644efa29153e1d93a852040a6284af.tar.bz2 manycore-00ab79216f644efa29153e1d93a852040a6284af.zip |
added new handy cmd lines for cacheRows2
-rw-r--r-- | handy_cmdlines | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/handy_cmdlines b/handy_cmdlines index 26195cb..092e626 100644 --- a/handy_cmdlines +++ b/handy_cmdlines @@ -1,2 +1,5 @@ -for i in $(seq 1 1000) ; do ./mem64 ; done | sort | uniq -c | awk '{ sum += ($1 * $2) } END { print sum }' -for i in $(seq 1 1000) ; do ./mem32 ; done | awk '{ sum += $1 ; counter+=1 ; print sum/counter }' +for i in $(seq 1 1000) ; do ./test ; done | sort | uniq -c | awk '{ sum += ($1 * $2) } END { print sum }' +for i in $(seq 1 1000) ; do ./test ; done | awk '{ sum += $1 ; counter+=1 ; print sum/counter }' + +gcc cacheRows2.c -o cacheRows2 ; mkdir -p out ; for i in $(seq -w 1 10) ; do ./cacheRows2 10000 40 1000 output.dat ; Rscript plot2.r ; mv output.png out/$i.png ; mv output.dat out/$i.dat ; done +gcc cacheRows2.c -o cacheRows2 ; echo "Offset Ticks" > output.dat ; for i in $(seq 1 100) ; do ./cacheRows2 10000 40 1000 - >> output.dat ; echo RUN $i done ; done ; echo 'Done ... now generating graph (this may take a while)' ; Rscript plot2.r |