 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/5] RTC: Add UIP(update in progress) check logic
 No comment on the rest of the series, but this caught my eye:
At 08:25 +0000 on 05 Mar (1330935936), Zhang, Yang Z wrote:
> +/* Return millisecs after 00:00:00 localtime, 1 January, 1970. */
> +uint64_t get_localtime_us(struct domain *d)
> +{
> +    return ((wc_sec + d->time_offset_seconds) * 1000000000ULL
> +        + wc_nsec + NOW()) / 1000UL;
> +}
> +
The comment says milliseconds but the code does microseconds.  Which is
right?
Tim.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |