007
08.02.2007, 21:24 Uhr
Olli
|
Das ist das hoechste was ich so hinbekommen habe:
Quellcode: | #83 cc -O -DHZ=60 -DREG=register -c dhry_1.c #84 cc -O -DREG=register -c dhry_2.c #85 cc -o dhry dhry_1.o dhry_2.o #86 echo 30000 | ./dhry | awk '/Lang/ || /^Micro/ {print} /per Sec/ {mips=$4/1757;print;printf("Dhrystone MIPS:%38.04f\n",mips)}' Dhrystone Benchmark, Version 2.1 (Language: C) Microseconds for one run through Dhrystone: 1652.8 Dhrystones per Second: 605.0 Dhrystone MIPS: 0.3443 #87 echo 30000 | ./dhry | awk '/Lang/ || /^Micro/ {print} /per Sec/ {mips=$4/1757;print;printf("Dhrystone MIPS:%38.04f\n",mips)}' Dhrystone Benchmark, Version 2.1 (Language: C) Microseconds for one run through Dhrystone: 1652.2 Dhrystones per Second: 605.2 Dhrystone MIPS: 0.3445
|
-- P8000 adventures: http://pofo.de/blog/?/categories/1-P8000 |