source: rtems/c/src/ada-tests/tmtests/tm06/tmtest.ads @ d0d73ec

4.104.114.84.95
Last change on this file since d0d73ec was b4be04e, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 3, 1997 at 8:24:11 PM

Removed Configuration Table information.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1--
2--  TMTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Test 6 of the RTEMS
7--  Timing Test Suite.
8--
9--  DEPENDENCIES:
10--
11-- 
12--
13--  COPYRIGHT (c) 1989-1997.
14--  On-Line Applications Research Corporation (OAR).
15--  Copyright assigned to U.S. Government, 1994.
16--
17--  The license and distribution terms for this file may in
18--  the file LICENSE in this distribution or at
19--  http://www.OARcorp.com/rtems/license.html.
20--
21--  $Id$
22--
23
24with TIME_TEST_SUPPORT;
25with TIMER_DRIVER;
26with RTEMS;
27
28package TMTEST is
29
30--
31--  This array contains the IDs of all RTEMS tasks created by this test.
32--
33
34   TASK_ID : array ( RTEMS.UNSIGNED32 
35      range 0 .. TIME_TEST_SUPPORT.OPERATION_COUNT ) of RTEMS.ID;
36
37--
38--  This variable is used to determine which restart of TASK_1 will start
39--  timer and which will stop the timer and report the execution time.
40--
41
42   TASK_RESTARTED : RTEMS.UNSIGNED32;
43
44--
45--  The following variable is set to the execution time returned
46--  by the timer.
47--
48
49   END_TIME  : RTEMS.UNSIGNED32;
50
51--
52--  INIT
53--
54--  DESCRIPTION:
55--
56--  This RTEMS task initializes the application.
57--
58
59   procedure INIT (
60      ARGUMENT : in     RTEMS.TASK_ARGUMENT
61   );
62
63--
64--  TEST_INIT
65--
66--  DESCRIPTION:
67--
68--  This subprogram performs test initialization.
69--
70
71   procedure TEST_INIT;
72
73--
74--  TASK_1
75--
76--  DESCRIPTION:
77--
78--  This RTEMS task is responsible for measuring and reporting the
79--  following directive execution times:
80--
81--    + TASK_RESTART of SELF
82--    + TASK_SUSPEND of another task with no context switch
83--    + TASK_RESUME with no preemption
84--    + TASK_DELETE of another task
85--
86
87   procedure TASK_1 (
88      ARGUMENT : in     RTEMS.TASK_ARGUMENT
89   );
90
91--
92--  NULL_TASK
93--
94--  DESCRIPTION:
95--
96--  This RTEMS task has no operations.  It is used to have
97--  tasks to perform directives upon.
98--
99
100   procedure NULL_TASK (
101      ARGUMENT : in     RTEMS.TASK_ARGUMENT
102   );
103
104end TMTEST;
Note: See TracBrowser for help on using the repository browser.