source: rtems/c/src/lib/libbsp/mips/hurricane/include/coverhd.h @ d5d1fae

4.115
Last change on this file since d5d1fae was d5d1fae, checked in by Cynthia Rempel <cynt6007@…>, on Jan 14, 2014 at 11:33:33 PM

libbsp mips: Add Doxygen file header to coverhd.h

  • Property mode set to 100644
File size: 4.9 KB
Line 
1/**
2 * @file
3 * @ingroup mips_hurricane
4 * @brief C Overhead definitions
5 */
6
7/* 
8 *
9 *  This include file has defines to represent the overhead associated
10 *  with calling a particular directive from C.  These are used in the
11 *  Timing Test Suite to ignore the overhead required to pass arguments
12 *  to directives.  On some CPUs and/or target boards, this overhead
13 *  is significant and makes it difficult to distinguish internal
14 *  RTEMS execution time from that used to call the directive.
15 *  This file should be updated after running the C overhead timing
16 *  test.  Once this update has been performed, the RTEMS Time Test
17 *  Suite should be rebuilt to account for these overhead times in the
18 *  timing results.
19 *
20 *  NOTE:  If these are all zero, then the times reported include
21 *         all calling overhead including passing of arguments.
22 *
23 *  COPYRIGHT (c) 1989-1999.
24 *  On-Line Applications Research Corporation (OAR).
25 *
26 *  The license and distribution terms for this file may be
27 *  found in the file LICENSE in this distribution or at
28 *  http://www.rtems.com/license/LICENSE.
29 */
30
31#ifndef __COVERHD_h
32#define __COVERHD_h
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38#define CALLING_OVERHEAD_INITIALIZE_EXECUTIVE      5
39#define CALLING_OVERHEAD_SHUTDOWN_EXECUTIVE        4
40#define CALLING_OVERHEAD_TASK_CREATE               6
41#define CALLING_OVERHEAD_TASK_IDENT                4
42#define CALLING_OVERHEAD_TASK_START                5
43#define CALLING_OVERHEAD_TASK_RESTART              4
44#define CALLING_OVERHEAD_TASK_DELETE               4
45#define CALLING_OVERHEAD_TASK_SUSPEND              4
46#define CALLING_OVERHEAD_TASK_RESUME               4
47#define CALLING_OVERHEAD_TASK_SET_PRIORITY         5
48#define CALLING_OVERHEAD_TASK_MODE                 4
49#define CALLING_OVERHEAD_TASK_GET_NOTE             5
50#define CALLING_OVERHEAD_TASK_SET_NOTE             5
51#define CALLING_OVERHEAD_TASK_WAKE_WHEN            9
52#define CALLING_OVERHEAD_TASK_WAKE_AFTER           4
53#define CALLING_OVERHEAD_INTERRUPT_CATCH           5
54#define CALLING_OVERHEAD_CLOCK_GET                 9
55#define CALLING_OVERHEAD_CLOCK_SET                 8
56#define CALLING_OVERHEAD_CLOCK_TICK                3
57
58#define CALLING_OVERHEAD_TIMER_CREATE              4
59#define CALLING_OVERHEAD_TIMER_IDENT               4
60#define CALLING_OVERHEAD_TIMER_DELETE              4
61#define CALLING_OVERHEAD_TIMER_FIRE_AFTER          6
62#define CALLING_OVERHEAD_TIMER_FIRE_WHEN           10
63#define CALLING_OVERHEAD_TIMER_RESET               4
64#define CALLING_OVERHEAD_TIMER_CANCEL              4
65#define CALLING_OVERHEAD_SEMAPHORE_CREATE          5
66#define CALLING_OVERHEAD_SEMAPHORE_IDENT           4
67#define CALLING_OVERHEAD_SEMAPHORE_DELETE          4
68#define CALLING_OVERHEAD_SEMAPHORE_OBTAIN          5
69#define CALLING_OVERHEAD_SEMAPHORE_RELEASE         4
70#define CALLING_OVERHEAD_MESSAGE_QUEUE_CREATE      5
71#define CALLING_OVERHEAD_MESSAGE_QUEUE_IDENT       4
72#define CALLING_OVERHEAD_MESSAGE_QUEUE_DELETE      4
73#define CALLING_OVERHEAD_MESSAGE_QUEUE_SEND        4
74#define CALLING_OVERHEAD_MESSAGE_QUEUE_URGENT      4
75#define CALLING_OVERHEAD_MESSAGE_QUEUE_BROADCAST   5
76#define CALLING_OVERHEAD_MESSAGE_QUEUE_RECEIVE     5
77#define CALLING_OVERHEAD_MESSAGE_QUEUE_FLUSH       4
78
79#define CALLING_OVERHEAD_EVENT_SEND                4
80#define CALLING_OVERHEAD_EVENT_RECEIVE             5
81#define CALLING_OVERHEAD_SIGNAL_CATCH              5
82#define CALLING_OVERHEAD_SIGNAL_SEND               4
83#define CALLING_OVERHEAD_PARTITION_CREATE          6
84#define CALLING_OVERHEAD_PARTITION_IDENT           4
85#define CALLING_OVERHEAD_PARTITION_DELETE          4
86#define CALLING_OVERHEAD_PARTITION_GET_BUFFER      4
87#define CALLING_OVERHEAD_PARTITION_RETURN_BUFFER   4
88#define CALLING_OVERHEAD_REGION_CREATE             6
89#define CALLING_OVERHEAD_REGION_IDENT              4
90#define CALLING_OVERHEAD_REGION_DELETE             4
91#define CALLING_OVERHEAD_REGION_GET_SEGMENT        5
92#define CALLING_OVERHEAD_REGION_RETURN_SEGMENT     4
93#define CALLING_OVERHEAD_PORT_CREATE               6
94#define CALLING_OVERHEAD_PORT_IDENT                4
95#define CALLING_OVERHEAD_PORT_DELETE               4
96#define CALLING_OVERHEAD_PORT_EXTERNAL_TO_INTERNAL 4
97#define CALLING_OVERHEAD_PORT_INTERNAL_TO_EXTERNAL 4
98
99#define CALLING_OVERHEAD_IO_INITIALIZE             5
100#define CALLING_OVERHEAD_IO_OPEN                   5
101#define CALLING_OVERHEAD_IO_CLOSE                  5
102#define CALLING_OVERHEAD_IO_READ                   5
103#define CALLING_OVERHEAD_IO_WRITE                  5
104#define CALLING_OVERHEAD_IO_CONTROL                5
105#define CALLING_OVERHEAD_FATAL_ERROR_OCCURRED      4
106#define CALLING_OVERHEAD_RATE_MONOTONIC_CREATE     4
107#define CALLING_OVERHEAD_RATE_MONOTONIC_IDENT      4
108#define CALLING_OVERHEAD_RATE_MONOTONIC_DELETE     4
109#define CALLING_OVERHEAD_RATE_MONOTONIC_CANCEL     4
110#define CALLING_OVERHEAD_RATE_MONOTONIC_PERIOD     4
111#define CALLING_OVERHEAD_MULTIPROCESSING_ANNOUNCE  3
112
113#ifdef __cplusplus
114}
115#endif
116
117#endif
Note: See TracBrowser for help on using the repository browser.