Re: BogoMIPS and magical values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Denis:
Have you read this? It could be useful
http://lkml.indiana.edu/hypermail/linux/kernel/0504.1/2130.html

On Wed, Dec 17, 2008 at 10:06 AM, Denis Kirjanov <kirjanov@xxxxxxxxx> wrote:
> Hi!
>
> The function calibrate_delay() from init/main.c comtains the following line:
> printk(KERN_CONT "%lu.%02lu BogoMIPS (lpj=%lu)\n",
>             loops_per_jiffy/(500000/HZ),
>             (loops_per_jiffy/(5000/HZ)) % 100, loops_per_jiffy);
>
> Please explain how bogoMIPS is computed. Why loops_per_jiffy is divided by
> 500000.
>
> Thanks in advance.
>
> --
> Regards,
> Denis
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux