source: rtems/testsuites/tools/generic/sorttimes.in @ d5154d0f

Last change on this file since d5154d0f was d5154d0f, checked in by Aun-Ali Zaidi <admin@…>, on Dec 23, 2015 at 8:44:02 PM

api: Remove deprecated Notepads

Notepads where a feature of RTEMS' tasks that simply functioned in
the same way as POSIX keys or threaded local storage (TLS). They were
introduced well before per task variables, which are also deprecated,
and were barely used in favor of their POSIX alternatives.

In addition to their scarce usage, Notepads took up unnecessary memory.
For each task:

  • 16 32-bit integers were allocated.
  • A total of 64 bytes per task per thread.

This is especially critical in low memory and safety-critical applications.

They are also defined as uint32_t, and therefore are not guaranteed to
hold a pointer.

Lastly, they are not portable solutions for SMP and uniprocessor systems,
like POSIX keys and TLS.

updates #2493.

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