source: rtems/testsuites/sptests/spcbssched03/cbsparams.h @ bd1b8de

4.115
Last change on this file since bd1b8de was bd1b8de, checked in by Joel Sherrill <joel.sherrill@…>, on 09/15/11 at 15:56:01

2011-09-15 Petr Benes <benesp16@…>

PR 1907/testing

  • Makefile.am, configure.ac: Add tests for the CBS (Constant Bandwidth Server) scheduler.
  • spcbssched01/.cvsignore, spcbssched01/Makefile.am, spcbssched01/init.c, spcbssched01/spcbssched01.doc, spcbssched01/spcbssched01.scn, spcbssched01/system.h, spcbssched01/task1.c, spcbssched02/.cvsignore, spcbssched02/Makefile.am, spcbssched02/init.c, spcbssched02/spcbssched02.doc, spcbssched02/spcbssched02.scn, spcbssched02/system.h, spcbssched02/task_periodic.c, spcbssched03/.cvsignore, spcbssched03/Makefile.am, spcbssched03/cbsparams.h, spcbssched03/init.c, spcbssched03/spcbssched03.doc, spcbssched03/spcbssched03.scn, spcbssched03/system.h, spcbssched03/tasks_aperiodic.c, spcbssched03/tasks_periodic.c: New files.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*  cbsparams.h
2 *
3 *  This include file contains information that is included in every
4 *  function in the test set.
5 *
6 *  COPYRIGHT (c) 1989-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16/* This file was generated with the following parameters:
17-T 30,10,0 -T 40,10,0 -T 50,10,0 -T 70,10,0 -A 1,100,7 -A 100,5,4
18*/
19
20#ifndef __CBSPARAMS_H_
21#define __CBSPARAMS_H_
22
23#include "system.h"
24
25rtems_task_priority Priorities[1+NUM_TASKS]= { 0, 30, 40, 50, 70, 254, 254 };
26
27uint32_t  Periods[1+NUM_PERIODIC_TASKS]    = { 0, 30, 40, 50, 70 };
28
29uint32_t  Execution[1+NUM_TASKS]           = { 0, 10, 10, 10, 10, 100, 5 };
30
31uint32_t  Phases[1+NUM_TASKS]              = { 0, 0, 0, 0, 0, 7, 4 };
32
33#define build_task_name() do { \
34Task_name[ 1 ] =  rtems_build_name( 'P', 'T', '1', ' ' );\
35Task_name[ 2 ] =  rtems_build_name( 'P', 'T', '2', ' ' );\
36Task_name[ 3 ] =  rtems_build_name( 'P', 'T', '3', ' ' );\
37Task_name[ 4 ] =  rtems_build_name( 'P', 'T', '4', ' ' );\
38Task_name[ 5 ] =  rtems_build_name( 'A', 'T', '5', ' ' );\
39Task_name[ 6 ] =  rtems_build_name( 'A', 'T', '6', ' ' );\
40} while(0)
41
42#endif
Note: See TracBrowser for help on using the repository browser.