18,11 → 18,11 |
|
/** |
------------ |
CVS : $Id: event.c,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $ |
CVS : $Id: event.c,v 1.2 2003-01-07 17:07:49 pj Exp $ |
|
File: $File$ |
Revision: $Revision: 1.1.1.1 $ |
Last update: $Date: 2002-03-29 14:12:51 $ |
Revision: $Revision: 1.2 $ |
Last update: $Date: 2003-01-07 17:07:49 $ |
------------ |
|
This file contains the functions to be used into events: |
94,7 → 94,7 |
/* we have to change context ONLY IF the sys_end primitive was not called |
before (e.g., in a exception raise called by a task_epilogue called by |
the scheduler. */ |
if (mustexit == 0) { |
if (!mustexit) { |
scheduler(); |
ll_context_to(proc_table[exec_shadow].context); |
} |
111,7 → 111,7 |
extern void perftest_epilogue(void); |
|
if (perftime_count < 10000) { |
perftime_prol[perftime_count] = ll_gettime(TIME_EXACT, NULL); |
perftime_prol[perftime_count] = kern_gettime(NULL); |
} |
event_setepilogue(perftest_epilogue); |
#else |
128,7 → 128,7 |
reschedule(); |
|
if (perftime_count < 10000){ |
perftime_epil[perftime_count] = ll_gettime(TIME_EXACT, NULL); |
perftime_epil[perftime_count] = kern_gettime(NULL); |
perftime_count++; |
} |
} |
140,7 → 140,7 |
|
|
if (perftime_count < 10000) { |
perftime_epil[perftime_count] = ll_gettime(TIME_EXACT, NULL); |
perftime_epil[perftime_count] = kern_gettime(NULL); |
perftime_count++; |
} |
} |