18,11 → 18,11 |
|
/** |
------------ |
CVS : $Id: demo.h,v 1.2 2003-05-01 19:43:16 pj Exp $ |
CVS : $Id: demo.h,v 1.3 2003-05-05 09:21:55 pj Exp $ |
|
File: $File$ |
Revision: $Revision: 1.2 $ |
Last update: $Date: 2003-05-01 19:43:16 $ |
Revision: $Revision: 1.3 $ |
Last update: $Date: 2003-05-05 09:21:55 $ |
------------ |
**/ |
|
61,10 → 61,11 |
|
/* CPU Speed Selection |
-------------------------------------------------------------------- |
400 - Pentium 2 400 MHz |
133 - Pentium 1 133 MHz |
1700 - Pentium 4 1.7 GHz |
400 - Pentium 2 400 MHz |
133 - Pentium 1 133 MHz |
*/ |
#define CPU 133 |
#define CPU 1700 |
|
/* |
* |
78,6 → 79,7 |
#define WCET_JETSLIDE 2000 |
#define WCET_BALL 250 |
#define WCET_HARD_BALL 1000 |
#define BALL_DELAY 10000 |
#endif |
|
#if CPU==400 |
86,8 → 88,17 |
#define WCET_JETSLIDE 2100 |
#define WCET_BALL 100 |
#define WCET_HARD_BALL 380 |
#define BALL_DELAY 10000 |
#endif |
|
#if CPU==1700 |
#define WCET_JETCTRL 4500 |
#define WCET_JETDUMMY 100 |
#define WCET_JETSLIDE 1300 |
#define WCET_BALL 100 |
#define WCET_HARD_BALL 410 |
#define BALL_DELAY 100000 |
#endif |
|
#define PERIOD_JETCTRL 100000 |
#define PERIOD_JETDUMMY 100000 |
149,12 → 160,12 |
*/ |
|
// x and y corners are specified whithout consider a border of 3 pixels |
#define BALL_Y 450 /* position of the floor */ |
#define BALL_HEIGHT 385 /* initial height of the ball */ |
#define BALL_XMIN 10 /* min position X of the ball */ |
#define BALL_XMAX 370 /* max position X of the ball */ |
#define BALL_VELX 5. /* horizontal ball velocity */ |
#define BALL_VYMIN 11. /* min ground speed */ |
#define BALL_MAX_P 60 /* max number of balls */ |
#define BALL_Y 450 /* position of the floor */ |
#define BALL_HEIGHT 385 /* initial height of the ball */ |
#define BALL_XMIN 10 /* min position X of the ball */ |
#define BALL_XMAX 370 /* max position X of the ball */ |
#define BALL_VELX 5. /* horizontal ball velocity */ |
#define BALL_VYMIN 11. /* min ground speed */ |
#define BALL_MAX_P 60 /* max number of balls */ |
|
#define BALL_GROUP 2 /* task group of the balls */ |