Re: Determine clock speed
From: Josh Lessard (NOjlessardSPAM_at_rogers.com)
Date: 01/28/05
- Next message: all mail refused: "Re: question about IPC shared memory"
- Previous message: Emmanuel Florac: "Re: Creation of solaris package larger than 2GB fails"
- In reply to: swamp boy: "Re: Determine clock speed"
- Next in thread: Peter C. Tribble: "Re: Determine clock speed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 Jan 2005 16:46:18 -0500
swamp boy wrote:
> processor_info_t pi;
> if( 0 == processor_info( 0, &pi ) )
> {
> cpuSpeedMHz = pi.pi_clock;
> }
>
Thanks to everyone who replied. The above code did just the trick.
- Next message: all mail refused: "Re: question about IPC shared memory"
- Previous message: Emmanuel Florac: "Re: Creation of solaris package larger than 2GB fails"
- In reply to: swamp boy: "Re: Determine clock speed"
- Next in thread: Peter C. Tribble: "Re: Determine clock speed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]