source: rtems/c/src/ada-tests/support/time_test_support.ads @ 8fbe2e6

4.115
Last change on this file since 8fbe2e6 was c499856, checked in by Chris Johns <chrisj@…>, on Mar 20, 2014 at 9:10:47 PM

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

  • 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
21with RTEMS;
22
23package 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
51end TIME_TEST_SUPPORT;
Note: See TracBrowser for help on using the repository browser.