source: rtems/c/src/ada-tests/tmtests/tm18/tmtest.ads @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1--
2--  TMTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Test 18 of the RTEMS
7--  Timing Test Suite.
8--
9--  DEPENDENCIES:
10--
11-- 
12--
13--  COPYRIGHT (c) 1989-2011.
14--  On-Line Applications Research Corporation (OAR).
15--
16--  The license and distribution terms for this file may in
17--  the file LICENSE in this distribution or at
18--  http://www.rtems.org/license/LICENSE.
19--
20
21with RTEMS;
22with RTEMS.TASKS;
23
24package TMTEST is
25
26--
27--  The following variable is set to the execution time returned
28--  by the timer.
29--
30
31   END_TIME       : RTEMS.UNSIGNED32;
32
33--
34--  INIT
35--
36--  DESCRIPTION:
37--
38--  This RTEMS task initializes the application.
39--
40
41   procedure INIT (
42      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
43   );
44   pragma Convention (C, INIT);
45
46--
47--  TEST_INIT
48--
49--  DESCRIPTION:
50--
51--  This subprogram performs test initialization.
52--
53
54   procedure TEST_INIT;
55
56--
57--  FIRST_TASK
58--
59--  DESCRIPTION:
60--
61--  This RTEMS task is the first task to execute.  It starts the
62--  timer and performs a TASK_DELETE on itself.
63--
64
65   procedure FIRST_TASK (
66      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
67   );
68   pragma Convention (C, FIRST_TASK);
69
70--
71--  MIDDLE_TASKS
72--
73--  DESCRIPTION:
74--
75--  These RTEMS tasks perform a TASK_DELETE on themselves.
76--
77
78   procedure MIDDLE_TASKS (
79      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
80   );
81
82   pragma Convention (C, MIDDLE_TASKS);
83--
84--  LAST_TASK
85--
86--  DESCRIPTION:
87--
88--  This RTEMS task is the last task to execute.  It stops the
89--  timer and reports the execution time of a TASK_DELETE SELF.
90--
91
92   procedure LAST_TASK (
93      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
94   );
95   pragma Convention (C, LAST_TASK);
96
97end TMTEST;
Note: See TracBrowser for help on using the repository browser.