On Thu, 2016-04-14 at 16:02 +0200, aicha hamza wrote: > thanks for your reply  > You are welcome. You are still using HTML, though, and you are top posting. Both should stop. > I am  actually trying to generate some  important information about > xen , dom0 ... > So "generate some important information" is your end goal? Still a bit vague / unclear to me, I have to admit... > i have xen runnig on omap board  > i didn't understand ( credit = 600 ) and the difference between > credit and credit balance > So, to understand credit balance (which prints prv->credit_balance, as you can see from csched_dump()), I recommend looking, inside xen/common/sched_credit.c, at the csched_acct() function. For credit, which prints prv->credits, look at __csched_set_tslice(), csched_free_pdata() and init_pdata(). regards, Dario -- <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)