xtime.tv_usec update in timer interrupt

From: alad@hss.hns.com
Date: Mon Apr 23 2001 - 04:31:34 EST


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/



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:44 EST