100,9 → 100,7 |
} |
|
TASK finish_task() { |
|
#ifdef __NEW_TRACER__ |
|
|
extern __volatile__ unsigned int TracerEventsPresent; |
unsigned int k; |
|
125,9 → 123,7 |
} |
|
tracer_flush_sent_events(); |
|
#endif |
|
|
sys_end(); |
|
return NULL; |
143,8 → 139,6 |
NRT_TASK_MODEL nrt; |
|
TRACER_LOGEVENT(FTrace_EVT_trace_stop,0,0,0); |
|
#ifdef __NEW_TRACER__ |
|
tracer_disable(); |
|
164,12 → 158,6 |
|
task_activate(task_create("Finish",finish_task,&nrt,NULL)); |
|
#else |
|
sys_end(); |
|
#endif |
|
} |
|
void set_simulation_time (struct timespec *total) { |
192,14 → 180,10 |
|
i = 0; |
|
#ifdef __NEW_TRACER__ |
|
tracer_initialize(10000000); |
|
tracer_enable(); |
|
#endif |
|
TRACER_LOGEVENT(FTrace_EVT_trace_start,0,0,0); |
|
kern_gettime(&zero_time); |