lkml.org 
[lkml]   [2002]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: Why HZ on i386 is 100 ?
    On Apr 17, 2002  08:37 +1000, Herbert Xu wrote:
    > Why are we still measuring uptime using the tick variable? Ticks != time.
    > Surely we should be recording the boot time somewhere (probably on a
    > file system), and then comparing that with the current time?

    Er, because the 'tick' is a valid count of the actual time that the
    system has been running, while the "boot time" is totally meaningless.
    What if the system has no RTC, or the RTC is wrong until later in the
    boot sequence when it can be set by the user/ntpd? What if you pass
    daylight savings time? Does your uptime increase/decrease by an hour?

    Cheers, Andreas
    --
    Andreas Dilger
    http://www-mddsp.enel.ucalgary.ca/People/adilger/
    http://sourceforge.net/projects/ext2resize/

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:25    [W:0.024 / U:31.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site