Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 23 Apr 2001 05:53:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 23 Apr 2001 05:52:57 -0400 Received: from [202.54.26.202] ([202.54.26.202]:39127 "EHLO hindon.hss.co.in") by vger.kernel.org with ESMTP id ; Mon, 23 Apr 2001 05:52:42 -0400 X-Lotus-FromDomain: HSS From: alad@hss.hns.com To: linux-kernel@vger.kernel.org Message-ID: <65256A37.0034E7B4.00@sandesh.hss.hns.com> Date: Mon, 23 Apr 2001 15:01:34 +0530 Subject: xtime.tv_usec update in timer interrupt Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, In update_wall_one_tick() function, we have following xtime.tv_usec += tick + time_adjust_step. where tick = (1000000 + hz/2)/hz. In systems where we have TSC why we cannot use that to update xtime.tv_usec. It should give better time estimate. and the values that are retured in sys_gettimeofday would also be more accurate . Amol - 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/