5
Last change
on this file since c4b8b147 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:
1.2 KB
|
Line | |
---|
1 | -- |
---|
2 | -- TIME_TEST_SUPPORT / SPECIFICATION |
---|
3 | -- |
---|
4 | -- DESCRIPTION: |
---|
5 | -- |
---|
6 | -- This package provides routines which aid the individual tests in |
---|
7 | -- the Timing Test Suite and simplify their design and operation. |
---|
8 | -- |
---|
9 | -- DEPENDENCIES: |
---|
10 | -- |
---|
11 | -- |
---|
12 | -- |
---|
13 | -- COPYRIGHT (c) 1989-1997. |
---|
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 | |
---|
21 | with RTEMS; |
---|
22 | |
---|
23 | package TIME_TEST_SUPPORT is |
---|
24 | |
---|
25 | -- |
---|
26 | -- The following constants define the number of times a directive |
---|
27 | -- will be performed in the Timing Suite. |
---|
28 | -- |
---|
29 | |
---|
30 | OPERATION_COUNT : constant RTEMS.UNSIGNED32 := 100; |
---|
31 | ITERATION_COUNT : constant RTEMS.UNSIGNED32 := 100; |
---|
32 | |
---|
33 | -- |
---|
34 | -- PUT_TIME |
---|
35 | -- |
---|
36 | -- DESCRIPTION: |
---|
37 | -- |
---|
38 | -- This subprogram prints the MESSAGE followed by the length of |
---|
39 | -- time which each individual operation took. All times are |
---|
40 | -- in microseconds. |
---|
41 | -- |
---|
42 | |
---|
43 | procedure PUT_TIME ( |
---|
44 | MESSAGE : in STRING; |
---|
45 | TOTAL_TIME : in RTEMS.UNSIGNED32; |
---|
46 | ITERATIONS : in RTEMS.UNSIGNED32; |
---|
47 | LOOP_OVERHEAD : in RTEMS.UNSIGNED32; |
---|
48 | CALLING_OVERHEAD : in RTEMS.UNSIGNED32 |
---|
49 | ); |
---|
50 | |
---|
51 | end TIME_TEST_SUPPORT; |
---|
Note: See
TracBrowser
for help on using the repository browser.