source: rtems/c/src/lib/libbsp/sh/gensh1/include/coverhd.h @ 6dd5650

4.104.114.84.95
Last change on this file since 6dd5650 was 6dd5650, checked in by Joel Sherrill <joel.sherrill@…>, on 10/12/01 at 21:05:50

2001-10-12 Joel Sherrill <joel@…>

  • include/bsp.h, include/coverhd.h, start/start.S, startup/bspclean.c, startup/bspstart.c, startup/linkcmds: Fixed typo.
  • Property mode set to 100644
File size: 5.4 KB
Line 
1/*  coverhd.h
2 *
3 *  This include file has defines to represent the overhead associated
4 *  with calling a particular directive from C.  These are used in the
5 *  Timing Test Suite to ignore the overhead required to pass arguments
6 *  to directives.  On some CPUs and/or target boards, this overhead
7 *  is significant and makes it difficult to distinguish internal
8 *  RTEMS execution time from that used to call the directive.
9 *  This file should be updated after running the C overhead timing
10 *  test.  Once this update has been performed, the RTEMS Time Test
11 *  Suite should be rebuilt to account for these overhead times in the
12 *  timing results.
13 *
14 *  NOTE:  If these are all zero, then the times reported include all
15 *         all calling overhead including passing of arguments.
16 *
17 *
18 * These are the figures tmoverhd.exe reported with egcs-980205 -O3
19 * on a Diesner OktagonSH/Amos-2.1 board with SH7032/20MHz
20 *
21 * These results are assumed to be applicable to most SH7032/20MHz boards
22 *
23 *  Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
24 *
25 *  COPYRIGHT (c) 1997-1998, FAW Ulm, Germany
26 *
27 *  This program is distributed in the hope that it will be useful,
28 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
29 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
30 *
31 *
32 *  COPYRIGHT (c) 1998.
33 *  On-Line Applications Research Corporation (OAR).
34 *
35 *  The license and distribution terms for this file may be
36 *  found in the file LICENSE in this distribution or at
37 *  http://www.OARcorp.com/rtems/license.html.
38 *
39 *  $Id$
40 */
41
42#ifndef __COVERHD_h
43#define __COVERHD_h
44
45#ifdef __cplusplus
46extern "C" {
47#endif
48
49#define CALLING_OVERHEAD_INITIALIZE_EXECUTIVE      4
50#define CALLING_OVERHEAD_SHUTDOWN_EXECUTIVE        4
51#define CALLING_OVERHEAD_TASK_CREATE               9
52#define CALLING_OVERHEAD_TASK_IDENT                6
53#define CALLING_OVERHEAD_TASK_START                5
54#define CALLING_OVERHEAD_TASK_RESTART              5
55#define CALLING_OVERHEAD_TASK_DELETE               4
56#define CALLING_OVERHEAD_TASK_SUSPEND              4
57#define CALLING_OVERHEAD_TASK_RESUME               4
58#define CALLING_OVERHEAD_TASK_SET_PRIORITY         5
59#define CALLING_OVERHEAD_TASK_MODE                 5
60#define CALLING_OVERHEAD_TASK_GET_NOTE             5
61#define CALLING_OVERHEAD_TASK_SET_NOTE             5
62#define CALLING_OVERHEAD_TASK_WAKE_WHEN            14
63#define CALLING_OVERHEAD_TASK_WAKE_AFTER           4
64#define CALLING_OVERHEAD_INTERRUPT_CATCH           5
65#define CALLING_OVERHEAD_CLOCK_GET                 16
66#define CALLING_OVERHEAD_CLOCK_SET                 14
67#define CALLING_OVERHEAD_CLOCK_TICK                3
68
69#define CALLING_OVERHEAD_TIMER_CREATE              4
70#define CALLING_OVERHEAD_TIMER_IDENT               4
71#define CALLING_OVERHEAD_TIMER_DELETE              4
72#define CALLING_OVERHEAD_TIMER_FIRE_AFTER          6
73#define CALLING_OVERHEAD_TIMER_FIRE_WHEN           20
74#define CALLING_OVERHEAD_TIMER_RESET               4
75#define CALLING_OVERHEAD_TIMER_CANCEL              4
76#define CALLING_OVERHEAD_SEMAPHORE_CREATE          7
77#define CALLING_OVERHEAD_SEMAPHORE_IDENT           5
78#define CALLING_OVERHEAD_SEMAPHORE_DELETE          4
79#define CALLING_OVERHEAD_SEMAPHORE_OBTAIN          5
80#define CALLING_OVERHEAD_SEMAPHORE_RELEASE         4
81#define CALLING_OVERHEAD_MESSAGE_QUEUE_CREATE      5
82#define CALLING_OVERHEAD_MESSAGE_QUEUE_IDENT       5
83#define CALLING_OVERHEAD_MESSAGE_QUEUE_DELETE      4
84#define CALLING_OVERHEAD_MESSAGE_QUEUE_SEND        5
85#define CALLING_OVERHEAD_MESSAGE_QUEUE_URGENT      5
86#define CALLING_OVERHEAD_MESSAGE_QUEUE_BROADCAST   5
87#define CALLING_OVERHEAD_MESSAGE_QUEUE_RECEIVE     6
88#define CALLING_OVERHEAD_MESSAGE_QUEUE_FLUSH       5
89
90#define CALLING_OVERHEAD_EVENT_SEND                6
91#define CALLING_OVERHEAD_EVENT_RECEIVE             5
92#define CALLING_OVERHEAD_SIGNAL_CATCH              4
93#define CALLING_OVERHEAD_SIGNAL_SEND               4
94#define CALLING_OVERHEAD_PARTITION_CREATE          9
95#define CALLING_OVERHEAD_PARTITION_IDENT           5
96#define CALLING_OVERHEAD_PARTITION_DELETE          4
97#define CALLING_OVERHEAD_PARTITION_GET_BUFFER      6
98#define CALLING_OVERHEAD_PARTITION_RETURN_BUFFER   6
99#define CALLING_OVERHEAD_REGION_CREATE             9
100#define CALLING_OVERHEAD_REGION_IDENT              5
101#define CALLING_OVERHEAD_REGION_DELETE             4
102#define CALLING_OVERHEAD_REGION_GET_SEGMENT        9
103#define CALLING_OVERHEAD_REGION_RETURN_SEGMENT     5
104#define CALLING_OVERHEAD_PORT_CREATE               9
105#define CALLING_OVERHEAD_PORT_IDENT                4
106#define CALLING_OVERHEAD_PORT_DELETE               4
107#define CALLING_OVERHEAD_PORT_EXTERNAL_TO_INTERNAL 7
108#define CALLING_OVERHEAD_PORT_INTERNAL_TO_EXTERNAL 8
109
110#define CALLING_OVERHEAD_IO_INITIALIZE             5
111#define CALLING_OVERHEAD_IO_OPEN                   5
112#define CALLING_OVERHEAD_IO_CLOSE                  5
113#define CALLING_OVERHEAD_IO_READ                   5
114#define CALLING_OVERHEAD_IO_WRITE                  5
115#define CALLING_OVERHEAD_IO_CONTROL                5
116#define CALLING_OVERHEAD_FATAL_ERROR_OCCURRED      4
117#define CALLING_OVERHEAD_RATE_MONOTONIC_CREATE     4
118#define CALLING_OVERHEAD_RATE_MONOTONIC_IDENT      4
119#define CALLING_OVERHEAD_RATE_MONOTONIC_DELETE     4
120#define CALLING_OVERHEAD_RATE_MONOTONIC_CANCEL     4
121#define CALLING_OVERHEAD_RATE_MONOTONIC_PERIOD     4
122#define CALLING_OVERHEAD_MULTIPROCESSING_ANNOUNCE  3
123
124#ifdef __cplusplus
125}
126#endif
127
128#endif
129/* end of include file */
Note: See TracBrowser for help on using the repository browser.