1 |
30 |
unneback |
#!@KSH@ -p
|
2 |
|
|
#
|
3 |
|
|
# This script takes the output from the Timing Test Suite, reorders
|
4 |
|
|
# it, and adds headers so it is in the same order as is printed in
|
5 |
|
|
# the supplement.
|
6 |
|
|
#
|
7 |
|
|
# $Id: sorttimes.in,v 1.2 2001-09-27 12:02:48 chris Exp $
|
8 |
|
|
#
|
9 |
|
|
|
10 |
|
|
usage()
|
11 |
|
|
{
|
12 |
|
|
echo "${progname} file [more files]"
|
13 |
|
|
}
|
14 |
|
|
|
15 |
|
|
header()
|
16 |
|
|
{
|
17 |
|
|
echo
|
18 |
|
|
echo $*
|
19 |
|
|
echo
|
20 |
|
|
}
|
21 |
|
|
|
22 |
|
|
lookup()
|
23 |
|
|
{
|
24 |
|
|
grep "$*" $files
|
25 |
|
|
|
26 |
|
|
}
|
27 |
|
|
|
28 |
|
|
progname=$0
|
29 |
|
|
|
30 |
|
|
if [ $# -eq 0 ] ; then
|
31 |
|
|
usage
|
32 |
|
|
exit 0
|
33 |
|
|
fi
|
34 |
|
|
|
35 |
|
|
files=$*
|
36 |
|
|
|
37 |
|
|
header Context Switch
|
38 |
|
|
lookup context switch: self
|
39 |
|
|
lookup context switch: to another task
|
40 |
|
|
lookup context switch: no floating point contexts
|
41 |
|
|
lookup fp context switch: restore 1st FP task
|
42 |
|
|
lookup fp context switch: save initialized, restore initialized
|
43 |
|
|
lookup fp context switch: save idle, restore initialized
|
44 |
|
|
lookup fp context switch: save idle, restore idle
|
45 |
|
|
|
46 |
|
|
header Task Manager
|
47 |
|
|
lookup rtems_task_create
|
48 |
|
|
lookup rtems_task_ident
|
49 |
|
|
lookup rtems_task_start
|
50 |
|
|
lookup rtems_task_restart: calling task
|
51 |
|
|
lookup rtems_task_restart: suspended task -- returns to caller
|
52 |
|
|
lookup rtems_task_restart: blocked task -- returns to caller
|
53 |
|
|
lookup rtems_task_restart: ready task -- returns to caller
|
54 |
|
|
lookup rtems_task_restart: suspended task -- preempts caller
|
55 |
|
|
lookup rtems_task_restart: blocked task -- preempts caller
|
56 |
|
|
lookup rtems_task_restart: ready task -- preempts caller
|
57 |
|
|
lookup rtems_task_delete: calling task
|
58 |
|
|
lookup rtems_task_delete: suspended task
|
59 |
|
|
lookup rtems_task_delete: blocked task
|
60 |
|
|
lookup rtems_task_delete: ready task
|
61 |
|
|
lookup rtems_task_suspend: calling task
|
62 |
|
|
lookup rtems_task_suspend: returns to caller
|
63 |
|
|
lookup rtems_task_resume: task readied -- returns to caller
|
64 |
|
|
lookup rtems_task_resume: task readied -- preempts caller
|
65 |
|
|
lookup rtems_task_set_priority: obtain current priority
|
66 |
|
|
lookup rtems_task_set_priority: returns to caller
|
67 |
|
|
lookup rtems_task_set_priority: preempts caller
|
68 |
|
|
lookup rtems_task_mode: obtain current mode
|
69 |
|
|
lookup rtems_task_mode: no reschedule
|
70 |
|
|
lookup rtems_task_mode: reschedule -- returns to caller
|
71 |
|
|
lookup rtems_task_mode: reschedule -- preempts caller
|
72 |
|
|
lookup rtems_task_get_note
|
73 |
|
|
lookup rtems_task_set_note
|
74 |
|
|
lookup rtems_task_wake_after: yield -- returns to caller
|
75 |
|
|
lookup rtems_task_wake_after: yields -- preempts caller
|
76 |
|
|
lookup rtems_task_wake_when
|
77 |
|
|
|
78 |
|
|
header Interrupt Manager
|
79 |
|
|
lookup interrupt entry overhead: returns to nested interrupt
|
80 |
|
|
lookup interrupt entry overhead: returns to interrupted task
|
81 |
|
|
lookup interrupt entry overhead: returns to preempting task
|
82 |
|
|
lookup interrupt exit overhead: returns to nested interrupt
|
83 |
|
|
lookup interrupt exit overhead: returns to interrupted task
|
84 |
|
|
lookup interrupt exit overhead: returns to preempting task
|
85 |
|
|
|
86 |
|
|
header Clock Manager
|
87 |
|
|
lookup rtems_clock_set
|
88 |
|
|
lookup rtems_clock_get
|
89 |
|
|
lookup rtems_clock_tick
|
90 |
|
|
|
91 |
|
|
header Timer Manager
|
92 |
|
|
lookup rtems_timer_create
|
93 |
|
|
lookup rtems_timer_ident
|
94 |
|
|
lookup rtems_timer_delete: inactive
|
95 |
|
|
lookup rtems_timer_delete: active
|
96 |
|
|
lookup rtems_timer_fire_after: inactive
|
97 |
|
|
lookup rtems_timer_fire_after: active
|
98 |
|
|
lookup rtems_timer_fire_when: inactive
|
99 |
|
|
lookup rtems_timer_fire_when: active
|
100 |
|
|
lookup rtems_timer_reset: inactive
|
101 |
|
|
lookup rtems_timer_reset: active
|
102 |
|
|
lookup rtems_timer_cancel: inactive
|
103 |
|
|
lookup rtems_timer_cancel: active
|
104 |
|
|
|
105 |
|
|
header Semaphore Manager
|
106 |
|
|
lookup rtems_semaphore_create
|
107 |
|
|
lookup rtems_semaphore_ident
|
108 |
|
|
lookup rtems_semaphore_delete
|
109 |
|
|
lookup rtems_semaphore_obtain: available
|
110 |
|
|
lookup rtems_semaphore_obtain: not available -- NO_WAIT
|
111 |
|
|
lookup rtems_semaphore_obtain: not available -- caller blocks
|
112 |
|
|
lookup rtems_semaphore_release: no waiting tasks
|
113 |
|
|
lookup rtems_semaphore_release: task readied -- returns to caller
|
114 |
|
|
lookup rtems_semaphore_release: task readied -- preempts caller
|
115 |
|
|
|
116 |
|
|
header Message Queue Manager
|
117 |
|
|
lookup rtems_message_queue_create
|
118 |
|
|
lookup rtems_message_queue_ident
|
119 |
|
|
lookup rtems_message_queue_delete
|
120 |
|
|
lookup rtems_message_queue_send: no waiting tasks
|
121 |
|
|
lookup rtems_message_queue_send: task readied -- returns to caller
|
122 |
|
|
lookup rtems_message_queue_send: task readied -- preempts caller
|
123 |
|
|
lookup rtems_message_queue_urgent: no waiting tasks
|
124 |
|
|
lookup rtems_message_queue_urgent: task readied -- returns to caller
|
125 |
|
|
lookup rtems_message_queue_urgent: task readied -- preempts caller
|
126 |
|
|
lookup rtems_message_queue_broadcast: no waiting tasks
|
127 |
|
|
lookup rtems_message_queue_broadcast: task readied -- returns to caller
|
128 |
|
|
lookup rtems_message_queue_broadcast: task readied -- preempts caller
|
129 |
|
|
lookup rtems_message_queue_receive: available
|
130 |
|
|
lookup rtems_message_queue_receive: not available -- NO_WAIT
|
131 |
|
|
lookup rtems_message_queue_receive: not available -- caller blocks
|
132 |
|
|
lookup rtems_message_queue_flush: no messages flushed
|
133 |
|
|
lookup rtems_message_queue_flush: messages flushed
|
134 |
|
|
|
135 |
|
|
header Event Manager
|
136 |
|
|
lookup rtems_event_send: no task readied
|
137 |
|
|
lookup rtems_event_send: task readied -- returns to caller
|
138 |
|
|
lookup rtems_event_send: task readied -- preempts caller
|
139 |
|
|
lookup rtems_event_receive: obtain current events
|
140 |
|
|
lookup rtems_event_receive: available
|
141 |
|
|
lookup rtems_event_receive: not available -- NO_WAIT
|
142 |
|
|
lookup rtems_event_receive: not available -- caller blocks
|
143 |
|
|
|
144 |
|
|
header Signal Manager
|
145 |
|
|
lookup rtems_signal_catch
|
146 |
|
|
lookup rtems_signal_send: returns to caller
|
147 |
|
|
lookup rtems_signal_send: signal to self
|
148 |
|
|
lookup exit ASR overhead: returns to calling task
|
149 |
|
|
lookup exit ASR overhead: returns to preempting task
|
150 |
|
|
|
151 |
|
|
header Partition Manager
|
152 |
|
|
lookup rtems_partition_create
|
153 |
|
|
lookup rtems_partition_ident
|
154 |
|
|
lookup rtems_partition_delete
|
155 |
|
|
lookup rtems_partition_get_buffer: available
|
156 |
|
|
lookup rtems_partition_get_buffer: not available
|
157 |
|
|
lookup rtems_partition_return_buffer
|
158 |
|
|
|
159 |
|
|
header Region Manager
|
160 |
|
|
lookup rtems_region_create
|
161 |
|
|
lookup rtems_region_ident
|
162 |
|
|
lookup rtems_region_delete
|
163 |
|
|
lookup rtems_region_get_segment: available
|
164 |
|
|
lookup rtems_region_get_segment: not available -- NO_WAIT
|
165 |
|
|
lookup rtems_region_get_segment: not available -- caller blocks
|
166 |
|
|
lookup rtems_region_return_segment: no waiting tasks
|
167 |
|
|
lookup rtems_region_return_segment: task readied -- returns to caller
|
168 |
|
|
lookup rtems_region_return_segment: task readied -- preempts caller
|
169 |
|
|
|
170 |
|
|
header Dual-Ported Memory Manager
|
171 |
|
|
lookup rtems_port_create
|
172 |
|
|
lookup rtems_port_ident
|
173 |
|
|
lookup rtems_port_delete
|
174 |
|
|
lookup rtems_port_internal_to_external
|
175 |
|
|
lookup rtems_port_external_to_internal
|
176 |
|
|
|
177 |
|
|
header IO Manager
|
178 |
|
|
lookup rtems_io_initialize
|
179 |
|
|
lookup rtems_io_open
|
180 |
|
|
lookup rtems_io_close
|
181 |
|
|
lookup rtems_io_read
|
182 |
|
|
lookup rtems_io_write
|
183 |
|
|
lookup rtems_io_control
|
184 |
|
|
|
185 |
|
|
header Rate Monotonic Manager
|
186 |
|
|
lookup rtems_rate_monotonic_create
|
187 |
|
|
lookup rtems_rate_monotonic_ident
|
188 |
|
|
lookup rtems_rate_monotonic_cancel
|
189 |
|
|
lookup rtems_rate_monotonic_delete: active
|
190 |
|
|
lookup rtems_rate_monotonic_delete: inactive
|
191 |
|
|
lookup rtems_rate_monotonic_period: obtain status
|
192 |
|
|
lookup rtems_rate_monotonic_period: initiate period -- returns to caller
|
193 |
|
|
lookup rtems_rate_monotonic_period: conclude periods -- caller blocks
|
194 |
|
|
exit 0
|