Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1535 → Rev 1534

/demos/trunk/astro/asteroid.h
79,9 → 79,9
#define ASTRO_GRAD_INC 10 /* angular variation */
#define ASTRO_VEL_INC 3 /* velocity variation */
#define ASTRO_RADIUS 16 /* Dimension of the astro */
#define ASTRO_PERIOD 10000
#define ASTRO_MOVE_PERIOD 10000
#define ASTRO_WCET 1500
#define ASTRO_PERIOD 10000
#define ASTRO_MOVE_PERIOD 5000
#define ASTRO_WCET 300
 
/* Shot constants */
#define SHOT_RADIUS 1 /* radius of the shot */
90,8 → 90,8
 
#define SHOT_GROUP 3 /* task group of shots */
 
#define SHOT_PERIOD 30000
#define SHOT_WCET 2000
#define SHOT_PERIOD 10000
#define SHOT_WCET 500
 
/* Rock constants */
#define ROCK_RADIUS_I 8 /* initial radius of the rock */
101,8 → 101,8
 
#define ROCK_GROUP 4 /* task group of rocks */
 
#define ROCK_PERIOD 30000
#define ROCK_WCET 2000
#define ROCK_PERIOD 20000
#define ROCK_WCET 500
 
/* Statistic constants */
#define ENERGY_INIT 200
112,10 → 112,10
#define LIVES_INIT 3
 
#define STAT_PERIOD 400000
#define STAT_WCET 2000
#define STAT_WCET 400
 
/* Statistic constants */
#define LOOK_PERIOD 30000
#define LOOK_PERIOD 10000
#define LOOK_WCET 4000
 
typedef struct {
/demos/trunk/astro/astro.c
484,7 → 484,7
hard_task_def_ctrl_jet(mp);
hard_task_def_arg(mp, (void *)incr);
hard_task_def_wcet(mp,ASTRO_WCET);
hard_task_def_mit(mp, 3*ASTRO_PERIOD);
hard_task_def_mit(mp, ASTRO_PERIOD);
hard_task_def_aperiodic(mp);
hard_task_def_usemath(mp);
pid_FL = task_create("FlipAstro", turn, &mp, NULL);