Lines Matching refs:eventtab
82 struct event eventtab[EVENTMX]; variable
139 eventtab[p].type = NULLEVENT; in init()
160 t_total += eventtab[i].time; in term()
201 if (eventtab[i].type == NULLEVENT) { in addevent()
202 eventtab[i].type = type; in addevent()
203 eventtab[i].proc = proc; in addevent()
204 eventtab[i].time = t; in addevent()
226 if (eventtab[i].type != NULLEVENT && eventtab[i].time < mintime) { in nextevent()
228 mintime = eventtab[i].time; in nextevent()
233 rtrevent.type = eventtab[imin].type; in nextevent()
234 rtrevent.proc = eventtab[imin].proc; in nextevent()
235 rtrevent.time = eventtab[imin].time; in nextevent()
236 eventtab[imin].type = NULLEVENT; in nextevent()