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

[Xen-devel] Macro CSCHED_STAT_CRANK(_X)



Hello
in algorithm credit usage macro CSCHED_STAT_CRANK(_X).
i track 'perfc_incr()' and found its definition. But i don't  know usage this, for example in function csched_acct(void* dummy):

if ( prv->credit_balance < 0 )
    {
        credit_total -= prv->credit_balance;
        CSCHED_STAT_CRANK(acct_ balance);
    }

i don't means CSCHED_STAT_CRANK(acct_ balance); :(
============================== =======================

#define CSCHED_STAT_CRANK(_X)               (perfc_incr(_X))

#define perfc_incr(x)     (++this_cpu(perfcounters)[ PERFC_ ## x])
_______________________________________________
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®.