Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 917 → Rev 918

/shark/trunk/kernel/jet.c
18,11 → 18,11
 
/**
------------
CVS : $Id: jet.c,v 1.2 2003-11-05 15:05:11 giacomo Exp $
CVS : $Id: jet.c,v 1.3 2005-01-08 14:47:16 pj Exp $
 
File: $File$
Revision: $Revision: 1.2 $
Last update: $Date: 2003-11-05 15:05:11 $
Revision: $Revision: 1.3 $
Last update: $Date: 2005-01-08 14:47:16 $
------------
 
Kernel Job Execution Time functions
186,7 → 186,7
kern_printf("scheduletime %lus %luns * caplasttime %lus %luns * exec=%d TIME = %lu \n",
schedule_time.tv_sec,schedule_time.tv_nsec,
cap_lasttime.tv_sec,cap_lasttime.tv_nsec, exec_shadow, t);
sys_end();
kern_raise(XUNSPECIFIED_EXCEPTION,exec_shadow);
}
}
 
/shark/trunk/kernel/modules/cbs.c
20,11 → 20,11
 
/**
------------
CVS : $Id: cbs.c,v 1.12 2004-06-23 15:13:02 anton Exp $
CVS : $Id: cbs.c,v 1.13 2005-01-08 14:44:48 pj Exp $
 
File: $File$
Revision: $Revision: 1.12 $
Last update: $Date: 2004-06-23 15:13:02 $
Revision: $Revision: 1.13 $
Last update: $Date: 2005-01-08 14:44:48 $
------------
 
This file contains the aperiodic server CBS (Total Bandwidth Server)
160,7 → 160,7
oldx = x;
x = ((lev->cbs_dline[p].tv_sec*1000000+lev->cbs_dline[p].tv_nsec/1000)/5000 - starttime) + 20;
// kern_printf("(a%d)",lev->cbs_dline[p].tv_sec*1000000+lev->cbs_dline[p].tv_nsec/1000);
if (oldx > x) sys_end();
if (oldx > x) kern_raise(XUNSPECIFIED_EXCEPTION, exec_shadow);
if (x<640)
grx_plot(x, 15, 8);
}
186,7 → 186,7
oldx = x;
x = ((lev->cbs_dline[p].tv_sec*1000000+lev->cbs_dline[p].tv_nsec/1000)/5000 - starttime) + 20;
// kern_printf("(e%d avail%d)",lev->cbs_dline[p].tv_sec*1000000+lev->cbs_dline[p].tv_nsec/1000,proc_table[p].avail_time);
if (oldx > x) sys_end();
if (oldx > x) kern_raise(XUNSPECIFIED_EXCEPTION, exec_shadow);
if (x<640)
grx_plot(x, 15, 2);
}
/shark/trunk/kernel/modules/ss.c
20,11 → 20,11
 
/**
------------
CVS : $Id: ss.c,v 1.8 2004-05-17 15:03:53 anton Exp $
CVS : $Id: ss.c,v 1.9 2005-01-08 14:44:48 pj Exp $
 
File: $File$
Revision: $Revision: 1.8 $
Last update: $Date: 2004-05-17 15:03:53 $
Revision: $Revision: 1.9 $
Last update: $Date: 2005-01-08 14:44:48 $
------------
 
This file contains the aperiodic Sporadic Server (SS).
318,7 → 318,6
SS_internal_status(l);
kern_raise(XINVALID_SS_REPLENISH,exec_shadow);
#ifdef DEBUG
sys_abort(-1);
exit(-1);
#endif
}
329,7 → 328,6
SS_internal_status(l);
kern_raise(XINVALID_SS_REPLENISH,exec_shadow);
#ifdef DEBUG
sys_abort(-1);
exit(-1);
#endif
}
404,7 → 402,6
SS_internal_status(l);
kern_raise(XINVALID_SS_REPLENISH,exec_shadow);
#ifdef DEBUG
sys_abort(-1);
exit(-1);
#endif
}
460,7 → 457,6
SS_internal_status(l);
kern_raise(XINVALID_SS_REPLENISH,exec_shadow);
#ifdef DEBUG
sys_abort(-1);
exit(-1);
#endif
}
720,7 → 716,6
SS_internal_status(l);
kern_raise(XINVALID_SS_REPLENISH,exec_shadow);
#ifdef DEBUG
sys_abort(-1);
exit(-1);
#endif
}