[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] burn_credits



On Fri, Oct 4, 2013 at 2:38 PM, Adel Amani <adel.amani66@xxxxxxxxx> wrote:
> Hello
> Are someone know this formula in function "burn_credits"?
> "credits = (delta*CSCHED_CREDITS_PER_MSEC + MILLISECS(1)/2) / MILLISECS(1)"
> Why should "+ MILLISECS(1)/2) / MILLISECS(1)" ??

Did you try some example numbers with and without the
"+MILLESECS(1)/2" to see what effect it would have?

 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.