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
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
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
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
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:
> > >
> > >
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
>
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
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;
>
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, &
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
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
= 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,
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
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)
{
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
15 matches
Mail list logo