summaryrefslogtreecommitdiffstats
path: root/spec/rtems/task/req/perf-restart-preempt.yml
blob: bcd8c3240da04ce7041adc8641bcd68a96a021e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
limits:
  sparc/gr712rc/smp/qual-only/aQM5D84izENqUHf5JXZtqffaL5bD4qBjf9HOSNfAMBY=:
    DirtyCache:
      max-upper-bound: 0.00019679999999999999
      median-lower-bound: 0.000130368
      median-upper-bound: 0.00019555200000000001
      min-lower-bound: 0.000130368
    FullCache:
      max-upper-bound: 0.000176352
      median-lower-bound: 5.920000000000001e-05
      median-upper-bound: 8.879999999999999e-05
      min-lower-bound: 5.920000000000001e-05
    HotCache:
      max-upper-bound: 8.4e-05
      median-lower-bound: 5.5168000000000004e-05
      median-upper-bound: 8.2752e-05
      min-lower-bound: 5.5168000000000004e-05
    Load/1:
      max-upper-bound: 0.0001944
      median-lower-bound: 0.0001296
      median-upper-bound: 0.0001944
      min-lower-bound: 0.000128768
    Load/2:
      max-upper-bound: 0.0002304
      median-lower-bound: 0.000151168
      median-upper-bound: 0.000226752
      min-lower-bound: 0.0001504
  sparc/gr712rc/uni/qual-only/3Y1G8SMm2FRTpZB5_0NhbpDnatbEYmbDLLW58d-wXuY=:
    DirtyCache:
      max-upper-bound: 2.4e-06
      median-lower-bound: 1.6e-06
      median-upper-bound: 2.4e-06
      min-lower-bound: 0.0
    FullCache:
      max-upper-bound: 2.4e-06
      median-lower-bound: 1.6e-06
      median-upper-bound: 2.4e-06
      min-lower-bound: 0.0
    HotCache:
      max-upper-bound: 2.4e-06
      median-lower-bound: 1.6e-06
      median-upper-bound: 2.4e-06
      min-lower-bound: 0.0
    Load/1:
      max-upper-bound: 2.4e-06
      median-lower-bound: 1.6e-06
      median-upper-bound: 2.4e-06
      min-lower-bound: 0.0
  sparc/gr712rc/uni/qual-only/LDe0OENspSb4U2hhl9QK2R3q4ntkBdYP_JLnD_-aZ34=:
    DirtyCache:
      max-upper-bound: 1.59e-06
      median-lower-bound: 1.06e-06
      median-upper-bound: 1.59e-06
      min-lower-bound: 1.0496e-06
    FullCache:
      max-upper-bound: 1.47e-06
      median-lower-bound: 4.6000000000000004e-07
      median-upper-bound: 6.9e-07
      min-lower-bound: 4.496e-07
    HotCache:
      max-upper-bound: 6.444e-07
      median-lower-bound: 4.2960000000000004e-07
      median-upper-bound: 6.444e-07
      min-lower-bound: 4.2e-07
    Load/1:
      max-upper-bound: 1.6499999999999999e-06
      median-lower-bound: 1.0896000000000001e-06
      median-upper-bound: 1.6344e-06
      min-lower-bound: 1.0896000000000001e-06
  sparc/gr740/smp/qual-only/3Y1G8SMm2FRTpZB5_0NhbpDnatbEYmbDLLW58d-wXuY=:
    DirtyCache:
      max-upper-bound: 8.9928e-05
      median-lower-bound: 5.944000000000001e-05
      median-upper-bound: 8.916000000000001e-05
      min-lower-bound: 5.9248000000000006e-05
    FullCache:
      max-upper-bound: 8.786399999999998e-05
      median-lower-bound: 5.8575999999999996e-05
      median-upper-bound: 8.786399999999998e-05
      min-lower-bound: 5.8544e-05
    HotCache:
      max-upper-bound: 8.779199999999999e-05
      median-lower-bound: 5.8528e-05
      median-upper-bound: 8.779199999999999e-05
      min-lower-bound: 5.8528e-05
    Load/1:
      max-upper-bound: 9.446400000000001e-05
      median-lower-bound: 6.2816e-05
      median-upper-bound: 9.4224e-05
      min-lower-bound: 6.24e-05
    Load/2:
      max-upper-bound: 9.446400000000001e-05
      median-lower-bound: 6.2816e-05
      median-upper-bound: 9.4224e-05
      min-lower-bound: 6.24e-05
    Load/3:
      max-upper-bound: 9.446400000000001e-05
      median-lower-bound: 6.2816e-05
      median-upper-bound: 9.4224e-05
      min-lower-bound: 6.24e-05
    Load/4:
      max-upper-bound: 9.446400000000001e-05
      median-lower-bound: 6.2816e-05
      median-upper-bound: 9.4224e-05
      min-lower-bound: 6.24e-05
  sparc/gr740/smp/qual-only/qpmWME3Tk2kfoQL1kmgyerzkvLKkrfPY7xWIWGfY0Fg=:
    DirtyCache:
      max-upper-bound: 7.90512e-05
      median-lower-bound: 4.99392e-05
      median-upper-bound: 7.49088e-05
      min-lower-bound: 4.95232e-05
    FullCache:
      max-upper-bound: 7.06128e-05
      median-lower-bound: 2.1673600000000002e-05
      median-upper-bound: 3.25104e-05
      min-lower-bound: 2.16e-05
    HotCache:
      max-upper-bound: 1.95792e-05
      median-lower-bound: 1.3052800000000001e-05
      median-upper-bound: 1.95792e-05
      min-lower-bound: 1.3052800000000001e-05
    Load/1:
      max-upper-bound: 0.00011037119999999999
      median-lower-bound: 4.75712e-05
      median-upper-bound: 7.13568e-05
      min-lower-bound: 4.67552e-05
    Load/2:
      max-upper-bound: 0.0004954127999999999
      median-lower-bound: 0.00032104960000000005
      median-upper-bound: 0.0004815744
      min-lower-bound: 0.0003203168
    Load/3:
      max-upper-bound: 0.0007795104
      median-lower-bound: 0.0005043392
      median-upper-bound: 0.0007565088
      min-lower-bound: 0.0005004448
    Load/4:
      max-upper-bound: 0.0009380975999999999
      median-lower-bound: 0.0005977024
      median-upper-bound: 0.0008965536
      min-lower-bound: 0.0005930880000000001
  sparc/gr740/uni/qual-only/3Y1G8SMm2FRTpZB5_0NhbpDnatbEYmbDLLW58d-wXuY=:
    DirtyCache:
      max-upper-bound: 6.0504e-05
      median-lower-bound: 4.0304000000000006e-05
      median-upper-bound: 6.0456e-05
      min-lower-bound: 4.0304000000000006e-05
    FullCache:
      max-upper-bound: 5.952e-05
      median-lower-bound: 3.942400000000001e-05
      median-upper-bound: 5.9136e-05
      min-lower-bound: 3.9168e-05
    HotCache:
      max-upper-bound: 5.8872e-05
      median-lower-bound: 3.9248e-05
      median-upper-bound: 5.8872e-05
      min-lower-bound: 3.9184e-05
    Load/1:
      max-upper-bound: 6.5016e-05
      median-lower-bound: 4.3344000000000004e-05
      median-upper-bound: 6.5016e-05
      min-lower-bound: 4.3280000000000006e-05
  sparc/gr740/uni/qual-only/qpmWME3Tk2kfoQL1kmgyerzkvLKkrfPY7xWIWGfY0Fg=:
    DirtyCache:
      max-upper-bound: 4.83936e-05
      median-lower-bound: 3.1856e-05
      median-upper-bound: 4.7784e-05
      min-lower-bound: 3.15936e-05
    FullCache:
      max-upper-bound: 2.5761599999999997e-05
      median-lower-bound: 1.2822400000000001e-05
      median-upper-bound: 1.9233599999999998e-05
      min-lower-bound: 1.2784e-05
    HotCache:
      max-upper-bound: 1.08144e-05
      median-lower-bound: 7.2095999999999995e-06
      median-upper-bound: 1.08144e-05
      min-lower-bound: 7.2095999999999995e-06
    Load/1:
      max-upper-bound: 5.01552e-05
      median-lower-bound: 3.29248e-05
      median-upper-bound: 4.9387199999999994e-05
      min-lower-bound: 3.27488e-05
links:
- role: requirement-refinement
  uid: perf-runtime
- role: runtime-measurement-request
  uid: ../val/perf
non-functional-type: performance-runtime
params: {}
rationale: null
references: []
requirement-type: non-functional
test-body:
  brief: |
    Restart the worker task.
  code: |
    ctx->begin = T_tick();
    ctx->status = rtems_task_restart(
      ctx->worker_id,
      (rtems_task_argument) ctx
    );
  description: null
test-cleanup:
  brief: |
    Delete the worker task.
  code: |
    DeleteTask( ctx->worker_id );
  description: null
test-prepare:
  brief: |
    Create and start a worker task.
  code: |
    ctx->worker_id = CreateTask( "WORK", PRIO_HIGH );
    StartTask( ctx->worker_id, Worker, ctx );
  description: null
test-setup: null
test-teardown:
  brief: |
    Set the measured runtime.  Discard samples interrupted by a clock tick.
  code: |
    T_quiet_rsc_success( ctx->status );

    *delta = ctx->end - ctx->begin;

    return tic == toc;
  description: null
text: |
  Let U and V be two tasks with the same home scheduler.  Let :math:`B`
  be a time point measured by U right before a call to
  ${../if/restart:/name} which starts task V which preempts the caller.
  Let :math:`E` be a time point measured by V right after the first context
  switch after :math:`B`.

  While the execution environment is ${.:/environment}, while the measurement
  sample is :math:`E - B`, the ${.:/limit-kind} shall be ${.:/limit-condition}.
type: requirement