Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 31 Oct 2001 14:14:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 31 Oct 2001 14:14:17 -0500 Received: from chaos.analogic.com ([204.178.40.224]:15233 "EHLO chaos.analogic.com") by vger.kernel.org with ESMTP id ; Wed, 31 Oct 2001 14:14:07 -0500 Date: Wed, 31 Oct 2001 14:14:40 -0500 (EST) From: "Richard B. Johnson" Reply-To: root@chaos.analogic.com To: Gerhard Mack cc: Andreas Dilger , Tim Schmielau , vda , linux-kernel@vger.kernel.org Subject: Re: [Patch] Re: Nasty suprise with uptime In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 31 Oct 2001, Gerhard Mack wrote: > Why exactly do we use the jiffie count for calculating uptime? Why not > just record the startup time and compare when needed? > > > Gerhard > Because you get it for free. The counter is necessary for time-outs so you need it. If it starts at zero, you get uptime in HZ. Cheers, Dick Johnson Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips). I was going to compile a list of innovations that could be attributed to Microsoft. Once I realized that Ctrl-Alt-Del was handled in the BIOS, I found that there aren't any. - 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/