On 12/06/2012 10:05 PM, Laurent Vivier wrote:
Note3: and for those that want to know the real power of their new m68k
machine, I've added in attachement bogomips.c to compute the bogomips
and the equivalent 040 cpu frequency. Mine (on a Q6600 a 2.4 Ghz) is:
$ ./bogomips
Clocking:       132
BogoMips:       104.00
Calibration:    524288

I get the exact same result on real hardware (68060);

root@amiga:~# gcc --version
gcc (Debian 4.6.3-14+m68k.2) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@amiga:~# gcc -Wall -o bogomips bogomips.c
bogomips.c: In function ‘main’:
bogomips.c:21:6: warning: unused variable ‘lps_precision’ [-Wunused-variabl]
bogomips.c:20:23: warning: unused variable ‘loopbit’ [-Wunused-variable]

root@amiga:~# ./bogomips
Clocking: 132
BogoMips: 104.00
Calibration:    524288


dmesg says:
...
Calibrating delay loop... 99.22 BogoMIPS (lpj=496128)
...


--
To UNSUBSCRIBE, email to debian-68k-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50c217c5.7060...@kopteri.net

Reply via email to