On Tue, 2017-01-10 at 15:32 -0600, wy11 wrote: > If the time granularity of RTDS is nanosecond, then it is no longer > a > problem. Can you please help me to know where I can find it in the > source code? > If that's what you're interested in, time granularity is nanoseconds for each and every scheduler.
Look at xen/common/schedule.c, xen/common/sched_credit.c, xen/common/sched_credit2.c and xen/common/sched_rt.c, and see how they all use the NOW() macro for reading time. Then go checking how NOW() is defined. Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel