Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 841 → Rev 842

/shark/trunk/ports/first/modules/cbsstar.c
242,7 → 242,7
b->avail -= tx;
 
#ifdef CBSSTAR_DEBUG
kern_printf("(CS:Cap p%d av=%d)", p, b->avail);
kern_printf("(CS:Cap p%d av=%d tx=%d)", p, b->avail,tx);
#endif
 
if (b->avail <= 0) {
321,6 → 321,7
 
/* and the capacity */
b->avail = b->Q;
 
b->flags = CBSSTAR_ACTIVE;
 
/* Tracer */
536,6 → 537,7
for (i=0; i<n; i++) {
lev->b[i].Q = 0;
lev->b[i].T = 0;
lev->b[i].D = 0;
NULL_TIMESPEC(&lev->b[i].dline);
NULL_TIMESPEC(&lev->b[i].replenish);
lev->b[i].replenish_timer = NIL;
627,6 → 629,7
 
lev->b[budget].Q = 0;
lev->b[budget].T = 0;
lev->b[budget].D = 0;
NULL_TIMESPEC(&lev->b[budget].dline);
NULL_TIMESPEC(&lev->b[budget].replenish);
lev->b[budget].replenish_timer = NIL;