atom feed7 messages in org.freebsd.freebsd-archRe: New hw.cpuhz sysctl as per PR i38...
FromSent OnAttachments
Peter PentchevJul 6, 2001 2:38 am 
Arun SharmaJul 6, 2001 11:10 am 
Mike SmithJul 6, 2001 2:00 pm 
Mike SmithJul 6, 2001 2:35 pm 
Lars EggertJul 6, 2001 3:09 pm 
Mike SmithJul 6, 2001 3:26 pm 
Bruce EvansJul 7, 2001 4:19 am 
Subject:Re: New hw.cpuhz sysctl as per PR i386/27627
From:Mike Smith (msm@freebsd.org)
Date:Jul 6, 2001 3:26:30 pm
List:org.freebsd.freebsd-arch

Mike Smith wrote:

CPU speeds aren't constants; this is probably not the right place to put it. It also assumes there's only one CPU, which isn't acceptable.

Being the author of the original patch, I agree that its a hack - but it's better than nothing :-) Plus, it doesn't necessarily assume only one CPU - it does assume they all have the same fixed speed though.

It doesn't seem to serve much useful purpose; the information is already available to the user in the boot-time message buffer, and it's not useful as a number to a running process.

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message