Date: Thu, 5 Jan 2006 07:02:51 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 89197 for review Message-ID: <200601050702.k0572pVv074486@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=89197 Change 89197 by kmacy@kmacy:freebsd7_xen3 on 2006/01/05 07:02:44 try to avoid premature wrapping of the counter Affected files ... .. //depot/projects/xen3/src/sys/i386-xen/i386-xen/clock.c#4 edit Differences ... ==== //depot/projects/xen3/src/sys/i386-xen/i386-xen/clock.c#4 (text+ko) ==== @@ -610,10 +610,10 @@ struct shadow_time_info *shadow; shadow = &per_cpu(shadow_time, smp_processor_id()); - return (uint32_t)get_nsec_offset(shadow); - + __get_time_values_from_xen(); + + return (uint32_t)(processed_system_time + shadow->system_timestamp + get_nsec_offset(shadow)); - } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601050702.k0572pVv074486>