[lkml]   [2004]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: finding out the value of HZ from userspace
    Peter Williams <> writes:

    > This horrible hack of converting all tick values to 100 (from 1000)
    > for export to user space because a large number of user space programs
    > assume that HZ is 100 would NOT be necessary if there was a mechanism
    > whereby user space programs could find out how many ticks there are in
    > a second instead of having to make assumptions.

    Already exists for a long time - AT_CLKTCK. glibc has a nice wrapper
    for it too (sysconf)


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:01    [W:0.052 / U:9.004 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site