Re: Determine clock speed
From: Dragan Cvetkovic (me_at_privacy.net)
Date: 01/28/05
- Next message: swamp boy: "Re: Determine clock speed"
- Previous message: Josh Lessard: "Determine clock speed"
- In reply to: Josh Lessard: "Determine clock speed"
- Next in thread: swamp boy: "Re: Determine clock speed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 Jan 2005 16:13:37 -0500
Josh Lessard <NOjlessardSPAM@rogers.com> writes:
> How can I determine, in software, the clock speed in MHz of the SPARC
> machine I'm using? Is there a system call/C function I can use to find
> this information?
You can use 'psrinfo -v' to print it. You can also use 'kstat -m cpu_info'
command or use kstat() programmable interface to get the info. There are
probably some other ways as well.
Dragan
-- Dragan Cvetkovic, To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer !!! Sender/From address is bogus. Use reply-to one !!!
- Next message: swamp boy: "Re: Determine clock speed"
- Previous message: Josh Lessard: "Determine clock speed"
- In reply to: Josh Lessard: "Determine clock speed"
- Next in thread: swamp boy: "Re: Determine clock speed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|