RE: how to list the current HZ value?

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

 



-----Original Message-----
From: Robert P. J. Day [mailto:rpjday@xxxxxxxxxxxxxx] 
>  nope.  on an x86 system, all that tells me is the *default* tick
>  rate, not the *actual* one.

So guessing this isnt the c program you were going to use 
#include <stdio.h>
#include <asm/param.h>

int main(int argc, char *argv[])
{
   printf("%d\n", HZ);

   return 0;
}

If not - shouldnt this value still be available in kernel headers
somewhere?


Adrian

--
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