Subversion Repositories shark

Compare Revisions

Regard whitespace Rev 1265 → Rev 1266

/demos/trunk/loader/common/nload.c
58,6 → 58,13
end_oneshot_task();
 
#ifdef TASK_OUTPUT
#ifdef OS_SHARK
sprintf(tmp,"[--END--]");
printf_xy((get_current_exec_task() % 5) * 9 + 34,get_current_exec_task() / 5 + 5, GREEN, tmp);
#endif
#endif
 
return NULL;
}
115,6 → 122,13
 
end_periodic_task();
#ifdef TASK_OUTPUT
#ifdef OS_SHARK
sprintf(tmp,"[--END--]");
printf_xy((get_current_exec_task() % 5) * 9 + 34,get_current_exec_task() / 5 + 5, GREEN, tmp);
#endif
#endif
return NULL;
}
168,6 → 182,13
 
end_back_task();
#ifdef TASK_OUTPUT
#ifdef OS_SHARK
sprintf(tmp,"[--END--]");
printf_xy((get_current_exec_task() % 5) * 9 + 34,get_current_exec_task() / 5 + 5, GREEN, tmp);
#endif
#endif
return NULL;
}
/demos/trunk/loader/shark/shark.c
8,7 → 8,7
extern int total_loader_task;
extern int total_loader_contract;
 
/* Delay Calibration */
/* Runtime Calibration */
int calibrate_cycle()
{
long long i;
98,11 → 98,7
 
}
 
int calibration_func() {
return kern_gettime(NULL);
 
}
 
/* Set the zero_time and post the first activation event */
void start_simulation() {
int i;
128,7 → 124,7
 
}
 
 
/* Activate task and post the new activation event */
void loader_task_activate(struct loader_task *l) {
struct timespec actual_time,end_time;