Re: CPU Frequency Scaling

2008-03-09 Thread Erik Trulsson
On Sun, Mar 09, 2008 at 01:28:17PM +0200, Marcel Cuculici wrote: > Hello everyone! My system hardware is Asus P5B with Intel Core Duo 2 e6600. > I installed on it freeBSD 7.0 Release yesterday, but I don`t understand > something. In Gnome there is CPU Frequency Scaling Monitor Witch it

CPU Frequency Scaling

2008-03-09 Thread Marcel Cuculici
Hello everyone! My system hardware is Asus P5B with Intel Core Duo 2 e6600. I installed on it freeBSD 7.0 Release yesterday, but I don`t understand something. In Gnome there is CPU Frequency Scaling Monitor Witch it`s set to Performance, and the Cpu freq. is 2.39 Ghz, I can change it MANUALLY to

Re: Getting the CPU frequency in C

2007-09-09 Thread Mel
On Monday 10 September 2007 00:52:08 Martin Tournoij wrote: > Thought you could only fetch the sysctl values defined in sys/sysctl.h > with sysctl()/sysctlbyname(), apparently not... No, I believe those are guaranteed to be available (more to the point: made available through /boot/kernel/kernel

Re: Getting the CPU frequency in C

2007-09-09 Thread Martin Tournoij
On Mon 10 Sep 2007 00:09, Erik Trulsson wrote: > On Mon, Sep 10, 2007 at 12:04:45AM +0200, Martin Tournoij wrote: > > On Sun 09 Sep 2007 22:09, Erik Trulsson wrote: > > > On Sun, Sep 09, 2007 at 10:50:25PM +0200, Martin Tournoij wrote: > > > > I'm t

Re: Getting the CPU frequency in C

2007-09-09 Thread Erik Trulsson
On Mon, Sep 10, 2007 at 12:04:45AM +0200, Martin Tournoij wrote: > On Sun 09 Sep 2007 22:09, Erik Trulsson wrote: > > On Sun, Sep 09, 2007 at 10:50:25PM +0200, Martin Tournoij wrote: > > > I'm trying to get the CPU frequency in C: > > > > > >

Re: Getting the CPU frequency in C

2007-09-09 Thread Mel
On Monday 10 September 2007 00:04:45 Martin Tournoij wrote: > On Sun 09 Sep 2007 22:09, Erik Trulsson wrote: > > On Sun, Sep 09, 2007 at 10:50:25PM +0200, Martin Tournoij wrote: > > > I'm trying to get the CPU frequency in C: > > > > > > #include >

Re: Getting the CPU frequency in C

2007-09-09 Thread Martin Tournoij
On Sun 09 Sep 2007 22:09, Erik Trulsson wrote: > On Sun, Sep 09, 2007 at 10:50:25PM +0200, Martin Tournoij wrote: > > I'm trying to get the CPU frequency in C: > > > > #include > > #include > > #include > > #include > > #include > &g

Re: Getting the CPU frequency in C

2007-09-09 Thread Erik Trulsson
On Sun, Sep 09, 2007 at 10:50:25PM +0200, Martin Tournoij wrote: > I'm trying to get the CPU frequency in C: > > #include > #include > #include > #include > #include > #include > > int main() > { > int mib[2]; > size_t size; >

Getting the CPU frequency in C

2007-09-09 Thread Martin Tournoij
I'm trying to get the CPU frequency in C: #include #include #include #include #include #include int main() { int mib[2]; size_t size; struct clockinfo clockrate; mib[0] = CTL_KERN; mib[1] = KERN_CLOCKRATE; size = sizeof clockrate; sysctl(mib, 2, &

RE: CPU Frequency on FreeBSD 5.4 and MSVS 2005 R2

2006-01-31 Thread Tamouh H.
ower Button (fixed) > > Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 > > > > > > The frequency should be 900MHz. The BIOS does not state CPU > frequency, nor the boot sequence. > > > > In fact, if I reboot the FreeBSD virtual

Re: CPU Frequency on FreeBSD 5.4 and MSVS 2005 R2

2006-01-31 Thread Nikolas Britton
I-safe" frequency 3579545 Hz quality 1000 > > > The frequency should be 900MHz. The BIOS does not state CPU frequency, nor > the boot sequence. > > In fact, if I reboot the FreeBSD virtual machine, the frequency would be > different (sometimes 460MHz , othe

CPU Frequency on FreeBSD 5.4 and MSVS 2005 R2

2006-01-30 Thread Tamouh H.
= 796700672 (759 MB) npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 The frequency should be 900MHz. The BIOS does not state CPU frequency, nor the boot sequence. In fact,

Re: CPU frequency

2004-06-16 Thread Julian M. Mason
My 5.2.1-RELEASE install offers a 'mount_linprocfs' command; running # mount_linprocfs none /proc gives me a very linux-esque /proc filesystem, including /proc/cpuinfo, which includes CPU frequency. --Mac On Tue, Jun 15, 2004 at 11:32:01PM -0500, Dan Nelson wrote: > In the last

Re: CPU frequency

2004-06-15 Thread Dan Nelson
In the last episode (Jun 16), CAVELIER Grgory said: > How can I get the CPU frequency from a C program ??? > Under Linux, I used the /proc filesystem but how can I do this with > FreeBSD (I have version 5.2.1) Try #include #include #include #include int main(void) {

CPU frequency

2004-06-15 Thread CAVELIER Grégory
How can I get the CPU frequency from a C program ??? Under Linux, I used the /proc filesystem but how can I do this with FreeBSD (I have version 5.2.1) Thank you GaLi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd