Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1158 → Rev 1157

/demos/trunk/jumpball/demo.h
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.1.1.1 2002-09-02 09:37:41 pj Exp $
 
File: $File$
Revision: $Revision: 1.2 $
Last update: $Date: 2003-05-01 19:43:16 $
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-09-02 09:37:41 $
------------
**/
 
54,18 → 54,9
#include <drivers/keyb.h>
 
 
/* Subparts */
#define JET_ON
#define BALL_ON
 
 
/* CPU Speed Selection
--------------------------------------------------------------------
400 - Pentium 2 400 MHz
133 - Pentium 1 133 MHz
*/
#define CPU 133
 
/*
*
* WCET, Periods and Models
72,26 → 63,22
*
*/
 
#if CPU==133
#define WCET_JETCTRL 10000
#define WCET_JETDUMMY 300
#define WCET_JETSLIDE 2000
#define WCET_BALL 250
#define WCET_HARD_BALL 1000
#endif
 
#if CPU==400
/* define if you want NRT or SOFT... */
#define TASK_TYPE SOFT
//#define TASK_TYPE NRT
 
#define WCET_JETCTRL 7500
#define WCET_JETDUMMY 200
#define WCET_JETSLIDE 2100
#define WCET_BALL 100
#define WCET_HARD_BALL 380
#endif
 
 
#define PERIOD_JETCTRL 100000
#define PERIOD_JETDUMMY 100000
#define PERIOD_JETSLIDE 100000
 
 
#define WCET_BALL 100
 
#define PERIOD_BALL 10000
 
/*