It a sound library, JACK. I dunno, I'll try commenting the code, see what
happens...
Thank,
/Palle
--On fredag, januari 09, 2004 17.42.15 -0600 Dan Nelson
<[EMAIL PROTECTED]> wrote:
In the last episode (Jan 10), Palle Girgensohn said:
How can I programatically find out the CPU frequency?
I'm
On Sat, Jan 10, 2004 at 12:12:20AM +0100, Palle Girgensohn wrote:
>
> $ dmesg | grep -i hz
> Timecounter "i8254" frequency 1193182 Hz
> CPU: Pentium II/Pentium II Xeon/Celeron (349.20-MHz 686-class CPU)
>
>
> Better ideas?
Only slightly better, but:
grep -w ^CPU: /var/run/dmesg.boot
/sbin/dm
On Jan 9, 2004, at 6:12 PM, Palle Girgensohn wrote:
How can I programatically find out the CPU frequency?
[ ... ]
Better ideas?
Here's a chunk of code from an old homework assignment from my days at
CMU. :-)
http://www.pkix.net/~chuck/clockspeed/
This uses an iterative method to achieve result
In the last episode (Jan 10), Palle Girgensohn said:
> How can I programatically find out the CPU frequency?
>
> I'm trying to port a program from Linux, and it uses /proc/cpuinfo.
>
> $ cat /compat/linux/proc/cpuinfo
> cpu MHz : 349.20
>
> Pretty neat, but it does not exist in FreeBSD,