source: rtems/c/src/lib/libbsp/m68k/ods68302/include/coverhd.h @ f6866007

4.115
Last change on this file since f6866007 was f6866007, checked in by Cynthia Rempel <cynt6007@…>, on 01/14/14 at 23:33:04

libbsp m68k: Add Doxygen file header to coverhd.h

  • Property mode set to 100644
File size: 4.9 KB
RevLine 
[f6866007]1/**
2 * @file
3 * @ingroup m68k_ods68302
4 * @brief C Overhead definitions
5 */
6
7/* 
[0074691a]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 all
21 *         all calling overhead including passing of arguments.
22 *
[08311cc3]23 *  COPYRIGHT (c) 1989-1999.
[0074691a]24 *  On-Line Applications Research Corporation (OAR).
25 *
[98e4ebf5]26 *  The license and distribution terms for this file may be
27 *  found in the file LICENSE in this distribution or at
[f321db19]28 *  http://www.rtems.com/license/LICENSE.
[0074691a]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      14
39#define CALLING_OVERHEAD_SHUTDOWN_EXECUTIVE        11
40#define CALLING_OVERHEAD_TASK_CREATE               22
41#define CALLING_OVERHEAD_TASK_IDENT                17
42#define CALLING_OVERHEAD_TASK_START                18
43#define CALLING_OVERHEAD_TASK_RESTART              15
44#define CALLING_OVERHEAD_TASK_DELETE               12
45#define CALLING_OVERHEAD_TASK_SUSPEND              12
46#define CALLING_OVERHEAD_TASK_RESUME               12
47#define CALLING_OVERHEAD_TASK_SET_PRIORITY         16
48#define CALLING_OVERHEAD_TASK_MODE                 15
49#define CALLING_OVERHEAD_TASK_GET_NOTE             16
50#define CALLING_OVERHEAD_TASK_SET_NOTE             16
51#define CALLING_OVERHEAD_TASK_WAKE_WHEN            31
52#define CALLING_OVERHEAD_TASK_WAKE_AFTER           11
53#define CALLING_OVERHEAD_INTERRUPT_CATCH           17
54#define CALLING_OVERHEAD_CLOCK_GET                 32
55#define CALLING_OVERHEAD_CLOCK_SET                 31
56#define CALLING_OVERHEAD_CLOCK_TICK                8
57
58#define CALLING_OVERHEAD_TIMER_CREATE              13
59#define CALLING_OVERHEAD_TIMER_IDENT               12
60#define CALLING_OVERHEAD_TIMER_DELETE              14
61#define CALLING_OVERHEAD_TIMER_FIRE_AFTER          19
62#define CALLING_OVERHEAD_TIMER_FIRE_WHEN           39
63#define CALLING_OVERHEAD_TIMER_RESET               12
64#define CALLING_OVERHEAD_TIMER_CANCEL              12
65#define CALLING_OVERHEAD_SEMAPHORE_CREATE          18
66#define CALLING_OVERHEAD_SEMAPHORE_IDENT           12
67#define CALLING_OVERHEAD_SEMAPHORE_DELETE          17
68#define CALLING_OVERHEAD_SEMAPHORE_OBTAIN          17
69#define CALLING_OVERHEAD_SEMAPHORE_RELEASE         12
70#define CALLING_OVERHEAD_MESSAGE_QUEUE_CREATE      18
71#define CALLING_OVERHEAD_MESSAGE_QUEUE_IDENT       17
72#define CALLING_OVERHEAD_MESSAGE_QUEUE_DELETE      12
73#define CALLING_OVERHEAD_MESSAGE_QUEUE_SEND        14
74#define CALLING_OVERHEAD_MESSAGE_QUEUE_URGENT      14
75#define CALLING_OVERHEAD_MESSAGE_QUEUE_BROADCAST   17
76#define CALLING_OVERHEAD_MESSAGE_QUEUE_RECEIVE     19
77#define CALLING_OVERHEAD_MESSAGE_QUEUE_FLUSH       14
78
79#define CALLING_OVERHEAD_EVENT_SEND                15
80#define CALLING_OVERHEAD_EVENT_RECEIVE             18
81#define CALLING_OVERHEAD_SIGNAL_CATCH              14
82#define CALLING_OVERHEAD_SIGNAL_SEND               14
83#define CALLING_OVERHEAD_PARTITION_CREATE          23
84#define CALLING_OVERHEAD_PARTITION_IDENT           17
85#define CALLING_OVERHEAD_PARTITION_DELETE          12
86#define CALLING_OVERHEAD_PARTITION_GET_BUFFER      15
87#define CALLING_OVERHEAD_PARTITION_RETURN_BUFFER   15
88#define CALLING_OVERHEAD_REGION_CREATE             23
89#define CALLING_OVERHEAD_REGION_IDENT              14
90#define CALLING_OVERHEAD_REGION_DELETE             12
91#define CALLING_OVERHEAD_REGION_GET_SEGMENT        21
92#define CALLING_OVERHEAD_REGION_RETURN_SEGMENT     15
93#define CALLING_OVERHEAD_PORT_CREATE               20
94#define CALLING_OVERHEAD_PORT_IDENT                14
95#define CALLING_OVERHEAD_PORT_DELETE               12
96#define CALLING_OVERHEAD_PORT_EXTERNAL_TO_INTERNAL 18
97#define CALLING_OVERHEAD_PORT_INTERNAL_TO_EXTERNAL 18
98
99#define CALLING_OVERHEAD_IO_INITIALIZE             18
100#define CALLING_OVERHEAD_IO_OPEN                   18
101#define CALLING_OVERHEAD_IO_CLOSE                  18
102#define CALLING_OVERHEAD_IO_READ                   18
103#define CALLING_OVERHEAD_IO_WRITE                  18
104#define CALLING_OVERHEAD_IO_CONTROL                18
105#define CALLING_OVERHEAD_FATAL_ERROR_OCCURRED      11
106#define CALLING_OVERHEAD_RATE_MONOTONIC_CREATE     13
107#define CALLING_OVERHEAD_RATE_MONOTONIC_IDENT      14
108#define CALLING_OVERHEAD_RATE_MONOTONIC_DELETE     12
109#define CALLING_OVERHEAD_RATE_MONOTONIC_CANCEL     12
110#define CALLING_OVERHEAD_RATE_MONOTONIC_PERIOD     14
111#define CALLING_OVERHEAD_MULTIPROCESSING_ANNOUNCE  8
112
113#ifdef __cplusplus
114}
115#endif
116
117#endif
Note: See TracBrowser for help on using the repository browser.