source: rtems/testsuites/ada/tmtests/tm24/tmtest.ads @ 48aa4b5d

5
Last change on this file since 48aa4b5d was ee537ea, checked in by Sebastian Huber <sebastian.huber@…>, on 10/12/17 at 08:00:10

ada-tests: Move to testsuites/ada

This solves a build dependency issue, e.g. building tests before
librtemsbsp.a exists.

Close #3079.

  • Property mode set to 100644
File size: 2.0 KB
Line 
1--
2--  TMTEST / SPECIFICATION
3--
4--  DESCRIPTION:
5--
6--  This package is the specification for Test 24 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--  These arrays contain the IDs and NAMEs of all RTEMS tasks created
28--  by this test.
29--
30
31   TASK_ID   : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.ID;
32   TASK_NAME : array ( RTEMS.UNSIGNED32 range 1 .. 3 ) of RTEMS.NAME;
33
34--
35--  This variable is used to determine which task should
36--  start the timer and which task should stop the timer
37--  and report the execution time.
38--
39
40   TASK_COUNT : RTEMS.UNSIGNED32;
41
42--
43--  This variable contains the execution time required of the
44--  loop used to execute the directive.
45-- 
46
47   OVERHEAD  : RTEMS.UNSIGNED32;
48
49--
50--  The following variable is set to the execution time returned
51--  by the timer.
52--
53
54   END_TIME  : RTEMS.UNSIGNED32;
55
56--
57--  INIT
58--
59--  DESCRIPTION:
60--
61--  This RTEMS task initializes the application.
62--
63
64   procedure INIT (
65      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
66   );
67   pragma Convention (C, INIT);
68
69--
70--  HIGH_TASK
71--
72--  DESCRIPTION:
73--
74--  This RTEMS task is responsible for measuring and reporting the
75--  execution time for an invocation of TASK_WAKE_AFTER which
76--  attempts to yield but does not result in a context switch.
77--
78
79   procedure HIGH_TASK (
80      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
81   );
82   pragma Convention (C, HIGH_TASK);
83
84--
85--  TASKS
86--
87--  DESCRIPTION:
88--
89--  These RTEMS tasks are responsible for measuring and reporting the
90--  execution time for an invocation of TASK_WAKE_AFTER which
91--  attempts to yield but does result in a context switch.
92--
93
94   procedure TASKS (
95      ARGUMENT : in     RTEMS.TASKS.ARGUMENT
96   );
97   pragma Convention (C, TASKS);
98
99end TMTEST;
Note: See TracBrowser for help on using the repository browser.