xen-ia64-devel
[Xen-ia64-devel] RE: [PATCH 24/29] ia64/pv_ops/xen: implement xen pv_tim
>+ if (!time_after(delta_itm + new_itm, ia64_get_itc()))
>+ stolentick = ia64_get_itc() - new_itm;
>+
>+ do_div(stolentick, NS_PER_TICK);
>
>
> Which makes me assume that ia64_get_itc() is returning nanoseconds; does
> it do the adjustment from the itc's actual rate to nanoseconds? Could
> it also apply an offset?
No. ia64_get_itc() does no scaling it returns the raw value from
the cr.itc register which increments at a frequency that the OS
discovers using a PAL call.
I'm not quite sure what the above code thinks it is doing. NS_PER_TICK
may have been poorly named???
-Tony
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel] Re: [PATCH 17/29] ia64/pv_ops/xen: define xen paravirtualizedinstructions for hand written assembly code, (continued)
[Xen-ia64-devel] [PATCH 01/29] ia64: move function declaration, ia64_cpu_local_tick() from .c to .h, Isaku Yamahata
[Xen-ia64-devel] [PATCH 28/29] ia64/xen: a recipe for using xen/ia64 with pv_ops., Isaku Yamahata
[Xen-ia64-devel] [PATCH 02/29] ia64/xen: reserve "break" numbers used for xen hypercalls., Isaku Yamahata
[Xen-ia64-devel] [PATCH 10/29] ia64/xen: implement the arch specific part of xencomm., Isaku Yamahata
[Xen-ia64-devel] [PATCH 23/29] ia64/pv_ops/xen: implement xen pv_irq_ops., Isaku Yamahata
[Xen-ia64-devel] [PATCH 07/29] ia64/xen: add a neccessary header file to copmle include/xen/interface/xen.h, Isaku Yamahata
[Xen-ia64-devel] [PATCH 06/29] ia64/xen: define several constants for ia64/xen., Isaku Yamahata
[Xen-ia64-devel] [PATCH 05/29] ia64/xen: introduce definitions necessary for ia64/xen hypercalls., Isaku Yamahata
|
Previous by Date: |
[Xen-ia64-devel] RE: [PATCH 24/29] ia64/pv_ops/xen: implement xen pv_time_ops., Luck, Tony |
Next by Date: |
Discount PRICE - from $1.20/pill: Ambiem, Xamax, Valiun, Phentermime tmihnv 1u, Shaquita Meghan |
Previous by Thread: |
[Xen-ia64-devel] RE: [PATCH 24/29] ia64/pv_ops/xen: implement xen pv_time_ops., Luck, Tony |
Next by Thread: |
[Xen-ia64-devel] [PATCH 01/29] ia64: move function declaration, ia64_cpu_local_tick() from .c to .h, Isaku Yamahata |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|