OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [sh/] [gensh1/] [include/] [coverhd.h] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  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
 *  Copyright assigned to U.S. Government, 1994.
35
 *
36
 *  The license and distribution terms for this file may be
37
 *  found in the file LICENSE in this distribution or at
38
 *  http://www.OARcorp.com/rtems/license.html.
39
 *
40
 *  $Id: coverhd.h,v 1.2 2001-09-27 12:01:11 chris Exp $
41
 */
42
 
43
#ifndef __COVERHD_h
44
#define __COVERHD_h
45
 
46
#ifdef __cplusplus
47
extern "C" {
48
#endif
49
 
50
#define CALLING_OVERHEAD_INITIALIZE_EXECUTIVE      4
51
#define CALLING_OVERHEAD_SHUTDOWN_EXECUTIVE        4
52
#define CALLING_OVERHEAD_TASK_CREATE               9
53
#define CALLING_OVERHEAD_TASK_IDENT                6
54
#define CALLING_OVERHEAD_TASK_START                5
55
#define CALLING_OVERHEAD_TASK_RESTART              5
56
#define CALLING_OVERHEAD_TASK_DELETE               4
57
#define CALLING_OVERHEAD_TASK_SUSPEND              4
58
#define CALLING_OVERHEAD_TASK_RESUME               4
59
#define CALLING_OVERHEAD_TASK_SET_PRIORITY         5
60
#define CALLING_OVERHEAD_TASK_MODE                 5
61
#define CALLING_OVERHEAD_TASK_GET_NOTE             5
62
#define CALLING_OVERHEAD_TASK_SET_NOTE             5
63
#define CALLING_OVERHEAD_TASK_WAKE_WHEN            14
64
#define CALLING_OVERHEAD_TASK_WAKE_AFTER           4
65
#define CALLING_OVERHEAD_INTERRUPT_CATCH           5
66
#define CALLING_OVERHEAD_CLOCK_GET                 16
67
#define CALLING_OVERHEAD_CLOCK_SET                 14
68
#define CALLING_OVERHEAD_CLOCK_TICK                3
69
 
70
#define CALLING_OVERHEAD_TIMER_CREATE              4
71
#define CALLING_OVERHEAD_TIMER_IDENT               4
72
#define CALLING_OVERHEAD_TIMER_DELETE              4
73
#define CALLING_OVERHEAD_TIMER_FIRE_AFTER          6
74
#define CALLING_OVERHEAD_TIMER_FIRE_WHEN           20
75
#define CALLING_OVERHEAD_TIMER_RESET               4
76
#define CALLING_OVERHEAD_TIMER_CANCEL              4
77
#define CALLING_OVERHEAD_SEMAPHORE_CREATE          7
78
#define CALLING_OVERHEAD_SEMAPHORE_IDENT           5
79
#define CALLING_OVERHEAD_SEMAPHORE_DELETE          4
80
#define CALLING_OVERHEAD_SEMAPHORE_OBTAIN          5
81
#define CALLING_OVERHEAD_SEMAPHORE_RELEASE         4
82
#define CALLING_OVERHEAD_MESSAGE_QUEUE_CREATE      5
83
#define CALLING_OVERHEAD_MESSAGE_QUEUE_IDENT       5
84
#define CALLING_OVERHEAD_MESSAGE_QUEUE_DELETE      4
85
#define CALLING_OVERHEAD_MESSAGE_QUEUE_SEND        5
86
#define CALLING_OVERHEAD_MESSAGE_QUEUE_URGENT      5
87
#define CALLING_OVERHEAD_MESSAGE_QUEUE_BROADCAST   5
88
#define CALLING_OVERHEAD_MESSAGE_QUEUE_RECEIVE     6
89
#define CALLING_OVERHEAD_MESSAGE_QUEUE_FLUSH       5
90
 
91
#define CALLING_OVERHEAD_EVENT_SEND                6
92
#define CALLING_OVERHEAD_EVENT_RECEIVE             5
93
#define CALLING_OVERHEAD_SIGNAL_CATCH              4
94
#define CALLING_OVERHEAD_SIGNAL_SEND               4
95
#define CALLING_OVERHEAD_PARTITION_CREATE          9
96
#define CALLING_OVERHEAD_PARTITION_IDENT           5
97
#define CALLING_OVERHEAD_PARTITION_DELETE          4
98
#define CALLING_OVERHEAD_PARTITION_GET_BUFFER      6
99
#define CALLING_OVERHEAD_PARTITION_RETURN_BUFFER   6
100
#define CALLING_OVERHEAD_REGION_CREATE             9
101
#define CALLING_OVERHEAD_REGION_IDENT              5
102
#define CALLING_OVERHEAD_REGION_DELETE             4
103
#define CALLING_OVERHEAD_REGION_GET_SEGMENT        9
104
#define CALLING_OVERHEAD_REGION_RETURN_SEGMENT     5
105
#define CALLING_OVERHEAD_PORT_CREATE               9
106
#define CALLING_OVERHEAD_PORT_IDENT                4
107
#define CALLING_OVERHEAD_PORT_DELETE               4
108
#define CALLING_OVERHEAD_PORT_EXTERNAL_TO_INTERNAL 7
109
#define CALLING_OVERHEAD_PORT_INTERNAL_TO_EXTERNAL 8
110
 
111
#define CALLING_OVERHEAD_IO_INITIALIZE             5
112
#define CALLING_OVERHEAD_IO_OPEN                   5
113
#define CALLING_OVERHEAD_IO_CLOSE                  5
114
#define CALLING_OVERHEAD_IO_READ                   5
115
#define CALLING_OVERHEAD_IO_WRITE                  5
116
#define CALLING_OVERHEAD_IO_CONTROL                5
117
#define CALLING_OVERHEAD_FATAL_ERROR_OCCURRED      4
118
#define CALLING_OVERHEAD_RATE_MONOTONIC_CREATE     4
119
#define CALLING_OVERHEAD_RATE_MONOTONIC_IDENT      4
120
#define CALLING_OVERHEAD_RATE_MONOTONIC_DELETE     4
121
#define CALLING_OVERHEAD_RATE_MONOTONIC_CANCEL     4
122
#define CALLING_OVERHEAD_RATE_MONOTONIC_PERIOD     4
123
#define CALLING_OVERHEAD_MULTIPROCESSING_ANNOUNCE  3
124
 
125
#ifdef __cplusplus
126
}
127
#endif
128
 
129
#endif
130
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.