@procedures/algebra 0.0.0-bootstrap.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/LICENSE +21 -0
- package/README.md +70 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/manifest.d.ts +3 -0
- package/dist/manifest.d.ts.map +1 -0
- package/dist/manifest.js +3981 -0
- package/dist/manifest.js.map +1 -0
- package/dist/module.d.ts +19 -0
- package/dist/module.d.ts.map +1 -0
- package/dist/module.js +23 -0
- package/dist/module.js.map +1 -0
- package/dist/register.d.ts +6 -0
- package/dist/register.d.ts.map +1 -0
- package/dist/register.js +8 -0
- package/dist/register.js.map +1 -0
- package/package.json +81 -5
- package/src/index.ts +2 -0
- package/src/manifest.ts +3983 -0
- package/src/module.ts +27 -0
- package/src/register.ts +10 -0
package/src/manifest.ts
ADDED
|
@@ -0,0 +1,3983 @@
|
|
|
1
|
+
// The manifest of @mark1russell7/algebra 0.9.6, made from its types by `node scripts/wraps.ts generate`. Do not edit it.
|
|
2
|
+
import type { ExportsManifest } from "@procedures/compiler";
|
|
3
|
+
|
|
4
|
+
export const manifest: ExportsManifest = {
|
|
5
|
+
"format": "procedures-exports/1",
|
|
6
|
+
"package": "@mark1russell7/algebra",
|
|
7
|
+
"version": "0.9.6",
|
|
8
|
+
"entry": ".",
|
|
9
|
+
"namespace": [
|
|
10
|
+
"algebra"
|
|
11
|
+
],
|
|
12
|
+
"$defs": {
|
|
13
|
+
"Band": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"low": {
|
|
17
|
+
"$ref": "#/$defs/Extent",
|
|
18
|
+
"description": "This time is the duration less how early the timer can fire."
|
|
19
|
+
},
|
|
20
|
+
"high": {
|
|
21
|
+
"$ref": "#/$defs/Extent",
|
|
22
|
+
"description": "This time is the duration plus how late the timer can fire."
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [
|
|
26
|
+
"low",
|
|
27
|
+
"high"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"Detection": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"detectors": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"$ref": "#/$defs/Detector"
|
|
37
|
+
},
|
|
38
|
+
"description": "These are the timers that can still fire, the soonest first."
|
|
39
|
+
},
|
|
40
|
+
"first": {
|
|
41
|
+
"anyOf": [
|
|
42
|
+
{
|
|
43
|
+
"type": "null"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"$ref": "#/$defs/Detector"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"description": "This detector is the first to fire, or null when none can fire in a known time: a silent failure."
|
|
50
|
+
},
|
|
51
|
+
"unsettled": {
|
|
52
|
+
"type": "array",
|
|
53
|
+
"items": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"description": "These are the live detectors whose time nothing gives. Then `first` is only an upper bound."
|
|
57
|
+
},
|
|
58
|
+
"held": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"timer": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"why": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": [
|
|
71
|
+
"timer",
|
|
72
|
+
"why"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"description": "These are the timers that are armed but cannot fire, and the reason for each."
|
|
76
|
+
},
|
|
77
|
+
"delivered": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"items": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"properties": {
|
|
82
|
+
"event": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
"to": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"errno": {
|
|
89
|
+
"anyOf": [
|
|
90
|
+
{
|
|
91
|
+
"type": "null"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "string"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"required": [
|
|
100
|
+
"event",
|
|
101
|
+
"to",
|
|
102
|
+
"errno"
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"description": "These are the events that the failure delivers and that a transition takes from the state: each detects the failure at once, before any timer. The errno is the errno of the transition, or null for an end of file."
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"required": [
|
|
109
|
+
"detectors",
|
|
110
|
+
"first",
|
|
111
|
+
"unsettled",
|
|
112
|
+
"held",
|
|
113
|
+
"delivered"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
"Detector": {
|
|
117
|
+
"type": "object",
|
|
118
|
+
"properties": {
|
|
119
|
+
"timer": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
"fires": {
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
"duration": {
|
|
126
|
+
"anyOf": [
|
|
127
|
+
{
|
|
128
|
+
"$ref": "#/$defs/Quantity"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"$ref": "#/$defs/Unbounded"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"$ref": "#/$defs/Unknown"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
"beneath": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"description": "This identifier is the machine below whose timer it is, when the timer is not of the machine itself (`over`)."
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"required": [
|
|
144
|
+
"timer",
|
|
145
|
+
"fires",
|
|
146
|
+
"duration"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"EgressOutcome": {
|
|
150
|
+
"anyOf": [
|
|
151
|
+
{
|
|
152
|
+
"type": "object",
|
|
153
|
+
"properties": {
|
|
154
|
+
"kind": {
|
|
155
|
+
"const": "sent"
|
|
156
|
+
},
|
|
157
|
+
"at": {
|
|
158
|
+
"type": "number",
|
|
159
|
+
"description": "This value is the time that the packet leaves the qdisc, in nanoseconds."
|
|
160
|
+
},
|
|
161
|
+
"ahead": {
|
|
162
|
+
"type": "number",
|
|
163
|
+
"description": "This value is the packets in the queue at the arrival of the packet."
|
|
164
|
+
},
|
|
165
|
+
"bytes": {
|
|
166
|
+
"type": "number",
|
|
167
|
+
"description": "This value is the bytes in the queue at the arrival of the packet."
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": [
|
|
171
|
+
"kind",
|
|
172
|
+
"at",
|
|
173
|
+
"ahead",
|
|
174
|
+
"bytes"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "object",
|
|
179
|
+
"properties": {
|
|
180
|
+
"kind": {
|
|
181
|
+
"const": "dropped"
|
|
182
|
+
},
|
|
183
|
+
"why": {
|
|
184
|
+
"enum": [
|
|
185
|
+
"limit",
|
|
186
|
+
"size"
|
|
187
|
+
],
|
|
188
|
+
"description": "A `limit` drop is a full queue. A `size` drop is a packet longer than the largest size of tbf."
|
|
189
|
+
},
|
|
190
|
+
"ahead": {
|
|
191
|
+
"type": "number"
|
|
192
|
+
},
|
|
193
|
+
"bytes": {
|
|
194
|
+
"type": "number"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"required": [
|
|
198
|
+
"kind",
|
|
199
|
+
"why",
|
|
200
|
+
"ahead",
|
|
201
|
+
"bytes"
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
"EgressPacket": {
|
|
207
|
+
"type": "object",
|
|
208
|
+
"properties": {
|
|
209
|
+
"at": {
|
|
210
|
+
"type": "number",
|
|
211
|
+
"description": "This value is the time of the arrival, in nanoseconds. The arrivals of a schedule do not go back in time."
|
|
212
|
+
},
|
|
213
|
+
"length": {
|
|
214
|
+
"type": "number",
|
|
215
|
+
"description": "This value is the qdisc length of the packet, in bytes."
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"required": [
|
|
219
|
+
"at",
|
|
220
|
+
"length"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
"Expr": {
|
|
224
|
+
"anyOf": [
|
|
225
|
+
{
|
|
226
|
+
"type": "object",
|
|
227
|
+
"properties": {
|
|
228
|
+
"const": {
|
|
229
|
+
"type": "number"
|
|
230
|
+
},
|
|
231
|
+
"unit": {
|
|
232
|
+
"type": "string"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"required": [
|
|
236
|
+
"const",
|
|
237
|
+
"unit"
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"type": "object",
|
|
242
|
+
"properties": {
|
|
243
|
+
"knob": {
|
|
244
|
+
"type": "string"
|
|
245
|
+
},
|
|
246
|
+
"unit": {
|
|
247
|
+
"type": "string"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"required": [
|
|
251
|
+
"knob",
|
|
252
|
+
"unit"
|
|
253
|
+
]
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"type": "object",
|
|
257
|
+
"properties": {
|
|
258
|
+
"expr": {
|
|
259
|
+
"type": "string"
|
|
260
|
+
},
|
|
261
|
+
"unit": {
|
|
262
|
+
"type": "string"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"required": [
|
|
266
|
+
"expr",
|
|
267
|
+
"unit"
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"type": "object",
|
|
272
|
+
"properties": {
|
|
273
|
+
"model": {
|
|
274
|
+
"type": "string"
|
|
275
|
+
},
|
|
276
|
+
"knobs": {
|
|
277
|
+
"type": "array",
|
|
278
|
+
"items": {
|
|
279
|
+
"type": "string"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"unit": {
|
|
283
|
+
"type": "string"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"required": [
|
|
287
|
+
"model",
|
|
288
|
+
"knobs",
|
|
289
|
+
"unit"
|
|
290
|
+
]
|
|
291
|
+
}
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
"Extent": {
|
|
295
|
+
"anyOf": [
|
|
296
|
+
{
|
|
297
|
+
"$ref": "#/$defs/Quantity"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"$ref": "#/$defs/Unbounded"
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
},
|
|
304
|
+
"Firing": {
|
|
305
|
+
"type": "object",
|
|
306
|
+
"properties": {
|
|
307
|
+
"fired": {
|
|
308
|
+
"type": "number"
|
|
309
|
+
},
|
|
310
|
+
"low": {
|
|
311
|
+
"$ref": "#/$defs/Quantity",
|
|
312
|
+
"description": "This time is the sum of the waits to this firing, each less how early it can fire."
|
|
313
|
+
},
|
|
314
|
+
"high": {
|
|
315
|
+
"$ref": "#/$defs/Quantity",
|
|
316
|
+
"description": "This time is the sum of the waits to this firing, each plus how late it can fire."
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"required": [
|
|
320
|
+
"fired",
|
|
321
|
+
"low",
|
|
322
|
+
"high"
|
|
323
|
+
]
|
|
324
|
+
},
|
|
325
|
+
"Machine": {
|
|
326
|
+
"type": "object",
|
|
327
|
+
"properties": {
|
|
328
|
+
"format": {
|
|
329
|
+
"const": "mark1russell7.machine/1"
|
|
330
|
+
},
|
|
331
|
+
"id": {
|
|
332
|
+
"type": "string"
|
|
333
|
+
},
|
|
334
|
+
"title": {
|
|
335
|
+
"type": "string"
|
|
336
|
+
},
|
|
337
|
+
"layer": {
|
|
338
|
+
"$ref": "#/$defs/Vantage"
|
|
339
|
+
},
|
|
340
|
+
"version": {
|
|
341
|
+
"type": "string"
|
|
342
|
+
},
|
|
343
|
+
"conditions": {
|
|
344
|
+
"type": "object",
|
|
345
|
+
"properties": {},
|
|
346
|
+
"additionalProperties": {
|
|
347
|
+
"type": "string"
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"sources": {
|
|
351
|
+
"type": "array",
|
|
352
|
+
"items": {
|
|
353
|
+
"type": "object",
|
|
354
|
+
"properties": {
|
|
355
|
+
"ref": {
|
|
356
|
+
"type": "string"
|
|
357
|
+
},
|
|
358
|
+
"rung": {
|
|
359
|
+
"enum": [
|
|
360
|
+
"normative",
|
|
361
|
+
"implemented",
|
|
362
|
+
"documented",
|
|
363
|
+
"observed",
|
|
364
|
+
"derived"
|
|
365
|
+
]
|
|
366
|
+
},
|
|
367
|
+
"note": {
|
|
368
|
+
"type": "string"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"required": [
|
|
372
|
+
"ref",
|
|
373
|
+
"rung"
|
|
374
|
+
]
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"states": {
|
|
378
|
+
"type": "object",
|
|
379
|
+
"properties": {},
|
|
380
|
+
"additionalProperties": {
|
|
381
|
+
"type": "object",
|
|
382
|
+
"properties": {
|
|
383
|
+
"initial": {
|
|
384
|
+
"type": "boolean"
|
|
385
|
+
},
|
|
386
|
+
"final": {
|
|
387
|
+
"type": "boolean"
|
|
388
|
+
},
|
|
389
|
+
"pseudo": {
|
|
390
|
+
"type": "boolean"
|
|
391
|
+
},
|
|
392
|
+
"note": {
|
|
393
|
+
"type": "string"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"events": {
|
|
399
|
+
"type": "object",
|
|
400
|
+
"properties": {},
|
|
401
|
+
"additionalProperties": {
|
|
402
|
+
"type": "object",
|
|
403
|
+
"properties": {
|
|
404
|
+
"kind": {
|
|
405
|
+
"enum": [
|
|
406
|
+
"rx",
|
|
407
|
+
"tx",
|
|
408
|
+
"app",
|
|
409
|
+
"timer",
|
|
410
|
+
"local",
|
|
411
|
+
"packet",
|
|
412
|
+
"peer"
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
"note": {
|
|
416
|
+
"type": "string"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"required": [
|
|
420
|
+
"kind"
|
|
421
|
+
]
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"knobs": {
|
|
425
|
+
"type": "object",
|
|
426
|
+
"properties": {},
|
|
427
|
+
"additionalProperties": {
|
|
428
|
+
"type": "object",
|
|
429
|
+
"properties": {
|
|
430
|
+
"key": {
|
|
431
|
+
"type": "string"
|
|
432
|
+
},
|
|
433
|
+
"scope": {
|
|
434
|
+
"type": "string"
|
|
435
|
+
},
|
|
436
|
+
"unit": {
|
|
437
|
+
"anyOf": [
|
|
438
|
+
{
|
|
439
|
+
"type": "null"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"type": "string"
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
"default": {
|
|
447
|
+
"anyOf": [
|
|
448
|
+
{
|
|
449
|
+
"type": "null"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"type": "number"
|
|
453
|
+
}
|
|
454
|
+
]
|
|
455
|
+
},
|
|
456
|
+
"off": {
|
|
457
|
+
"type": "number",
|
|
458
|
+
"description": "This value turns the knob's timers off: a time that reads the knob at it has no bound."
|
|
459
|
+
},
|
|
460
|
+
"note": {
|
|
461
|
+
"type": "string"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"required": [
|
|
465
|
+
"key",
|
|
466
|
+
"scope",
|
|
467
|
+
"unit",
|
|
468
|
+
"default"
|
|
469
|
+
]
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"timers": {
|
|
473
|
+
"type": "object",
|
|
474
|
+
"properties": {},
|
|
475
|
+
"additionalProperties": {
|
|
476
|
+
"$ref": "#/$defs/Timer"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"realizes": {
|
|
480
|
+
"type": "object",
|
|
481
|
+
"properties": {},
|
|
482
|
+
"additionalProperties": {
|
|
483
|
+
"$ref": "#/$defs/Realization"
|
|
484
|
+
},
|
|
485
|
+
"description": "These are the mechanisms whose time this machine gives, by the identifier of each mechanism."
|
|
486
|
+
},
|
|
487
|
+
"over": {
|
|
488
|
+
"$ref": "#/$defs/Over",
|
|
489
|
+
"description": "This is the machine that this machine operates on, for a machine on another machine."
|
|
490
|
+
},
|
|
491
|
+
"transitions": {
|
|
492
|
+
"type": "array",
|
|
493
|
+
"items": {
|
|
494
|
+
"$ref": "#/$defs/TransitionDef"
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"observe": {
|
|
498
|
+
"type": "object",
|
|
499
|
+
"properties": {},
|
|
500
|
+
"additionalProperties": {
|
|
501
|
+
"type": "object",
|
|
502
|
+
"properties": {
|
|
503
|
+
"states": {
|
|
504
|
+
"type": "object",
|
|
505
|
+
"properties": {},
|
|
506
|
+
"additionalProperties": {
|
|
507
|
+
"type": "string"
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"hides": {
|
|
511
|
+
"type": "array",
|
|
512
|
+
"items": {
|
|
513
|
+
"type": "string"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"fidelity": {
|
|
517
|
+
"enum": [
|
|
518
|
+
"derived",
|
|
519
|
+
"complete",
|
|
520
|
+
"sampled",
|
|
521
|
+
"lossy"
|
|
522
|
+
]
|
|
523
|
+
},
|
|
524
|
+
"note": {
|
|
525
|
+
"type": "string"
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
"required": [
|
|
529
|
+
"states",
|
|
530
|
+
"fidelity"
|
|
531
|
+
]
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"generated": {
|
|
535
|
+
"type": "object",
|
|
536
|
+
"properties": {
|
|
537
|
+
"from": {
|
|
538
|
+
"type": "string"
|
|
539
|
+
},
|
|
540
|
+
"by": {
|
|
541
|
+
"type": "string"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
"required": [
|
|
545
|
+
"from",
|
|
546
|
+
"by"
|
|
547
|
+
]
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
"required": [
|
|
551
|
+
"format",
|
|
552
|
+
"id",
|
|
553
|
+
"title",
|
|
554
|
+
"layer",
|
|
555
|
+
"version",
|
|
556
|
+
"sources",
|
|
557
|
+
"states",
|
|
558
|
+
"events",
|
|
559
|
+
"knobs",
|
|
560
|
+
"timers",
|
|
561
|
+
"transitions"
|
|
562
|
+
]
|
|
563
|
+
},
|
|
564
|
+
"Manifestation": {
|
|
565
|
+
"type": "object",
|
|
566
|
+
"properties": {
|
|
567
|
+
"name": {
|
|
568
|
+
"type": "string"
|
|
569
|
+
},
|
|
570
|
+
"passes": {
|
|
571
|
+
"type": "array",
|
|
572
|
+
"items": {
|
|
573
|
+
"type": "string"
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"delivers": {
|
|
577
|
+
"type": "array",
|
|
578
|
+
"items": {
|
|
579
|
+
"type": "string"
|
|
580
|
+
},
|
|
581
|
+
"description": "These are the events that the failure itself sends one time, for example the FIN of a process that stopped with SIGKILL. A delivered event that a transition takes from the state of the connection detects the failure at once."
|
|
582
|
+
},
|
|
583
|
+
"errno": {
|
|
584
|
+
"type": "object",
|
|
585
|
+
"properties": {
|
|
586
|
+
"errno": {
|
|
587
|
+
"type": "string"
|
|
588
|
+
},
|
|
589
|
+
"timers": {
|
|
590
|
+
"type": "array",
|
|
591
|
+
"items": {
|
|
592
|
+
"type": "string"
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"required": [
|
|
597
|
+
"errno",
|
|
598
|
+
"timers"
|
|
599
|
+
],
|
|
600
|
+
"description": "This errno replaces ETIMEDOUT when one of these timers gives up. Linux keeps an ICMP error on an established socket as a soft error, and the timeout reports it (`tcp_write_err`). An ICMP counts only when it quotes a segment in the window (`tcp_v4_err`). A retransmission is in the window. A keepalive probe uses the sequence number before `snd_una`, thus its ICMP does not count."
|
|
601
|
+
},
|
|
602
|
+
"replaces": {
|
|
603
|
+
"type": "object",
|
|
604
|
+
"properties": {},
|
|
605
|
+
"additionalProperties": {
|
|
606
|
+
"type": "object",
|
|
607
|
+
"properties": {
|
|
608
|
+
"duration": {
|
|
609
|
+
"anyOf": [
|
|
610
|
+
{
|
|
611
|
+
"type": "object",
|
|
612
|
+
"properties": {
|
|
613
|
+
"const": {
|
|
614
|
+
"type": "number"
|
|
615
|
+
},
|
|
616
|
+
"unit": {
|
|
617
|
+
"type": "string"
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
"required": [
|
|
621
|
+
"const",
|
|
622
|
+
"unit"
|
|
623
|
+
]
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"type": "object",
|
|
627
|
+
"properties": {
|
|
628
|
+
"knob": {
|
|
629
|
+
"type": "string"
|
|
630
|
+
},
|
|
631
|
+
"unit": {
|
|
632
|
+
"type": "string"
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"required": [
|
|
636
|
+
"knob",
|
|
637
|
+
"unit"
|
|
638
|
+
]
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"type": "object",
|
|
642
|
+
"properties": {
|
|
643
|
+
"expr": {
|
|
644
|
+
"type": "string"
|
|
645
|
+
},
|
|
646
|
+
"unit": {
|
|
647
|
+
"type": "string"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"required": [
|
|
651
|
+
"expr",
|
|
652
|
+
"unit"
|
|
653
|
+
]
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"type": "object",
|
|
657
|
+
"properties": {
|
|
658
|
+
"model": {
|
|
659
|
+
"type": "string"
|
|
660
|
+
},
|
|
661
|
+
"knobs": {
|
|
662
|
+
"type": "array",
|
|
663
|
+
"items": {
|
|
664
|
+
"type": "string"
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
"unit": {
|
|
668
|
+
"type": "string"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
"required": [
|
|
672
|
+
"model",
|
|
673
|
+
"knobs",
|
|
674
|
+
"unit"
|
|
675
|
+
]
|
|
676
|
+
}
|
|
677
|
+
]
|
|
678
|
+
},
|
|
679
|
+
"lateness": {
|
|
680
|
+
"anyOf": [
|
|
681
|
+
{
|
|
682
|
+
"type": "object",
|
|
683
|
+
"properties": {
|
|
684
|
+
"const": {
|
|
685
|
+
"type": "number"
|
|
686
|
+
},
|
|
687
|
+
"unit": {
|
|
688
|
+
"type": "string"
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"required": [
|
|
692
|
+
"const",
|
|
693
|
+
"unit"
|
|
694
|
+
]
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"type": "object",
|
|
698
|
+
"properties": {
|
|
699
|
+
"knob": {
|
|
700
|
+
"type": "string"
|
|
701
|
+
},
|
|
702
|
+
"unit": {
|
|
703
|
+
"type": "string"
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"required": [
|
|
707
|
+
"knob",
|
|
708
|
+
"unit"
|
|
709
|
+
]
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"type": "object",
|
|
713
|
+
"properties": {
|
|
714
|
+
"expr": {
|
|
715
|
+
"type": "string"
|
|
716
|
+
},
|
|
717
|
+
"unit": {
|
|
718
|
+
"type": "string"
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
"required": [
|
|
722
|
+
"expr",
|
|
723
|
+
"unit"
|
|
724
|
+
]
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"type": "object",
|
|
728
|
+
"properties": {
|
|
729
|
+
"model": {
|
|
730
|
+
"type": "string"
|
|
731
|
+
},
|
|
732
|
+
"knobs": {
|
|
733
|
+
"type": "array",
|
|
734
|
+
"items": {
|
|
735
|
+
"type": "string"
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
"unit": {
|
|
739
|
+
"type": "string"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"required": [
|
|
743
|
+
"model",
|
|
744
|
+
"knobs",
|
|
745
|
+
"unit"
|
|
746
|
+
]
|
|
747
|
+
}
|
|
748
|
+
]
|
|
749
|
+
},
|
|
750
|
+
"early": {
|
|
751
|
+
"anyOf": [
|
|
752
|
+
{
|
|
753
|
+
"type": "object",
|
|
754
|
+
"properties": {
|
|
755
|
+
"const": {
|
|
756
|
+
"type": "number"
|
|
757
|
+
},
|
|
758
|
+
"unit": {
|
|
759
|
+
"type": "string"
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"required": [
|
|
763
|
+
"const",
|
|
764
|
+
"unit"
|
|
765
|
+
]
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"type": "object",
|
|
769
|
+
"properties": {
|
|
770
|
+
"knob": {
|
|
771
|
+
"type": "string"
|
|
772
|
+
},
|
|
773
|
+
"unit": {
|
|
774
|
+
"type": "string"
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
"required": [
|
|
778
|
+
"knob",
|
|
779
|
+
"unit"
|
|
780
|
+
]
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"type": "object",
|
|
784
|
+
"properties": {
|
|
785
|
+
"expr": {
|
|
786
|
+
"type": "string"
|
|
787
|
+
},
|
|
788
|
+
"unit": {
|
|
789
|
+
"type": "string"
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
"required": [
|
|
793
|
+
"expr",
|
|
794
|
+
"unit"
|
|
795
|
+
]
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"type": "object",
|
|
799
|
+
"properties": {
|
|
800
|
+
"model": {
|
|
801
|
+
"type": "string"
|
|
802
|
+
},
|
|
803
|
+
"knobs": {
|
|
804
|
+
"type": "array",
|
|
805
|
+
"items": {
|
|
806
|
+
"type": "string"
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
"unit": {
|
|
810
|
+
"type": "string"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
"required": [
|
|
814
|
+
"model",
|
|
815
|
+
"knobs",
|
|
816
|
+
"unit"
|
|
817
|
+
]
|
|
818
|
+
}
|
|
819
|
+
]
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
"description": "These are the durations that the failure changes, by timer. For example, an ICMP host unreachable for each retransmission reverts the backoff of the retransmission timer."
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"required": [
|
|
827
|
+
"name",
|
|
828
|
+
"passes"
|
|
829
|
+
]
|
|
830
|
+
},
|
|
831
|
+
"MemcgLevel": {
|
|
832
|
+
"type": "object",
|
|
833
|
+
"properties": {
|
|
834
|
+
"usage": {
|
|
835
|
+
"type": "number"
|
|
836
|
+
},
|
|
837
|
+
"high": {
|
|
838
|
+
"type": "number"
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
"required": [
|
|
842
|
+
"usage",
|
|
843
|
+
"high"
|
|
844
|
+
]
|
|
845
|
+
},
|
|
846
|
+
"MemcgSleepBounds": {
|
|
847
|
+
"type": "object",
|
|
848
|
+
"properties": {
|
|
849
|
+
"first": {
|
|
850
|
+
"type": "number"
|
|
851
|
+
},
|
|
852
|
+
"capped": {
|
|
853
|
+
"type": "number"
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"required": [
|
|
857
|
+
"first",
|
|
858
|
+
"capped"
|
|
859
|
+
]
|
|
860
|
+
},
|
|
861
|
+
"MemcgThrottle": {
|
|
862
|
+
"type": "object",
|
|
863
|
+
"properties": {
|
|
864
|
+
"over": {
|
|
865
|
+
"type": "number",
|
|
866
|
+
"description": "These are the charges that left the cgroup above its high: each one sends the task to reclaim."
|
|
867
|
+
},
|
|
868
|
+
"sleeps": {
|
|
869
|
+
"type": "number",
|
|
870
|
+
"description": "These are the charges whose debt put the task to sleep."
|
|
871
|
+
},
|
|
872
|
+
"jiffies": {
|
|
873
|
+
"type": "number",
|
|
874
|
+
"description": "This is the sum of the sleeps, in jiffies."
|
|
875
|
+
},
|
|
876
|
+
"late": {
|
|
877
|
+
"type": "number",
|
|
878
|
+
"description": "This is how late the timer wheel can end those sleeps, in jiffies: one granularity of the level of each."
|
|
879
|
+
},
|
|
880
|
+
"high": {
|
|
881
|
+
"type": "number",
|
|
882
|
+
"description": "These are the events `high` of the cgroup of the task: one at each reclaim of a charge, 17 at a charge that sleeps."
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
"required": [
|
|
886
|
+
"over",
|
|
887
|
+
"sleeps",
|
|
888
|
+
"jiffies",
|
|
889
|
+
"late",
|
|
890
|
+
"high"
|
|
891
|
+
]
|
|
892
|
+
},
|
|
893
|
+
"NetemQueue": {
|
|
894
|
+
"type": "object",
|
|
895
|
+
"properties": {
|
|
896
|
+
"latency": {
|
|
897
|
+
"type": "number",
|
|
898
|
+
"description": "This value is the delay of each packet, in nanoseconds, with no jitter."
|
|
899
|
+
},
|
|
900
|
+
"limit": {
|
|
901
|
+
"type": "number",
|
|
902
|
+
"description": "This value is the most packets that the queue of netem holds."
|
|
903
|
+
},
|
|
904
|
+
"rate": {
|
|
905
|
+
"type": "number",
|
|
906
|
+
"description": "This value is the rate in bytes per second."
|
|
907
|
+
},
|
|
908
|
+
"packetOverhead": {
|
|
909
|
+
"type": "number",
|
|
910
|
+
"description": "This value is the overhead that netem adds to each length. It can be negative."
|
|
911
|
+
},
|
|
912
|
+
"cellSize": {
|
|
913
|
+
"type": "number",
|
|
914
|
+
"description": "This value is the size of one cell. With 0, netem counts no cells."
|
|
915
|
+
},
|
|
916
|
+
"cellOverhead": {
|
|
917
|
+
"type": "number",
|
|
918
|
+
"description": "This value is the overhead of each cell. It can be negative."
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
"required": [
|
|
922
|
+
"limit",
|
|
923
|
+
"rate"
|
|
924
|
+
]
|
|
925
|
+
},
|
|
926
|
+
"NetemRate": {
|
|
927
|
+
"type": "object",
|
|
928
|
+
"properties": {
|
|
929
|
+
"rate": {
|
|
930
|
+
"type": "number",
|
|
931
|
+
"description": "This value is the rate in bytes per second."
|
|
932
|
+
},
|
|
933
|
+
"packetOverhead": {
|
|
934
|
+
"type": "number",
|
|
935
|
+
"description": "This value is the overhead that netem adds to each length. It can be negative."
|
|
936
|
+
},
|
|
937
|
+
"cellSize": {
|
|
938
|
+
"type": "number",
|
|
939
|
+
"description": "This value is the size of one cell. With 0, netem counts no cells."
|
|
940
|
+
},
|
|
941
|
+
"cellOverhead": {
|
|
942
|
+
"type": "number",
|
|
943
|
+
"description": "This value is the overhead of each cell. It can be negative."
|
|
944
|
+
}
|
|
945
|
+
},
|
|
946
|
+
"required": [
|
|
947
|
+
"rate"
|
|
948
|
+
]
|
|
949
|
+
},
|
|
950
|
+
"OomTask": {
|
|
951
|
+
"type": "object",
|
|
952
|
+
"properties": {
|
|
953
|
+
"rss": {
|
|
954
|
+
"type": "number",
|
|
955
|
+
"description": "This count is the resident pages of the task: its anonymous, file and shared memory pages."
|
|
956
|
+
},
|
|
957
|
+
"swap": {
|
|
958
|
+
"type": "number",
|
|
959
|
+
"description": "This count is the swap entries of the task."
|
|
960
|
+
},
|
|
961
|
+
"pageTables": {
|
|
962
|
+
"type": "number",
|
|
963
|
+
"description": "This count is the bytes of the page tables of the task."
|
|
964
|
+
},
|
|
965
|
+
"adj": {
|
|
966
|
+
"type": "number",
|
|
967
|
+
"description": "This value is the `oom_score_adj` of the task, from −1000 to 1000."
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
"required": [
|
|
971
|
+
"rss",
|
|
972
|
+
"swap",
|
|
973
|
+
"pageTables",
|
|
974
|
+
"adj"
|
|
975
|
+
]
|
|
976
|
+
},
|
|
977
|
+
"Over": {
|
|
978
|
+
"type": "object",
|
|
979
|
+
"properties": {
|
|
980
|
+
"machine": {
|
|
981
|
+
"type": "string",
|
|
982
|
+
"description": "This identifier is the machine below, as a graph identifies its document."
|
|
983
|
+
},
|
|
984
|
+
"states": {
|
|
985
|
+
"type": "object",
|
|
986
|
+
"properties": {},
|
|
987
|
+
"additionalProperties": {
|
|
988
|
+
"type": "string"
|
|
989
|
+
},
|
|
990
|
+
"description": "This map gives the state of the lower machine that each state of this machine is on."
|
|
991
|
+
},
|
|
992
|
+
"sets": {
|
|
993
|
+
"type": "object",
|
|
994
|
+
"properties": {},
|
|
995
|
+
"additionalProperties": {
|
|
996
|
+
"$ref": "#/$defs/Expr"
|
|
997
|
+
},
|
|
998
|
+
"description": "These are the knobs of the lower machine that this machine sets, by their lower names, over its own knobs."
|
|
999
|
+
},
|
|
1000
|
+
"ends": {
|
|
1001
|
+
"type": "string",
|
|
1002
|
+
"description": "This event is the event of this machine that the end of the lower machine arrives as."
|
|
1003
|
+
},
|
|
1004
|
+
"note": {
|
|
1005
|
+
"type": "string"
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
"required": [
|
|
1009
|
+
"machine",
|
|
1010
|
+
"states",
|
|
1011
|
+
"sets",
|
|
1012
|
+
"ends"
|
|
1013
|
+
]
|
|
1014
|
+
},
|
|
1015
|
+
"PschedFactor": {
|
|
1016
|
+
"type": "object",
|
|
1017
|
+
"properties": {
|
|
1018
|
+
"mult": {
|
|
1019
|
+
"type": "number"
|
|
1020
|
+
},
|
|
1021
|
+
"shift": {
|
|
1022
|
+
"type": "number"
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
"required": [
|
|
1026
|
+
"mult",
|
|
1027
|
+
"shift"
|
|
1028
|
+
]
|
|
1029
|
+
},
|
|
1030
|
+
"PschedRate": {
|
|
1031
|
+
"type": "object",
|
|
1032
|
+
"properties": {
|
|
1033
|
+
"rate": {
|
|
1034
|
+
"type": "number",
|
|
1035
|
+
"description": "This value is the rate in bytes per second."
|
|
1036
|
+
},
|
|
1037
|
+
"overhead": {
|
|
1038
|
+
"type": "number",
|
|
1039
|
+
"description": "This value is the overhead that the rate adds to each length."
|
|
1040
|
+
},
|
|
1041
|
+
"mpu": {
|
|
1042
|
+
"type": "number",
|
|
1043
|
+
"description": "This value is the least length that the rate counts."
|
|
1044
|
+
},
|
|
1045
|
+
"linklayer": {
|
|
1046
|
+
"enum": [
|
|
1047
|
+
"ethernet",
|
|
1048
|
+
"atm"
|
|
1049
|
+
],
|
|
1050
|
+
"description": "An ATM link counts the length in cells of 48 bytes, and each cell takes 53 bytes."
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
"required": [
|
|
1054
|
+
"rate"
|
|
1055
|
+
]
|
|
1056
|
+
},
|
|
1057
|
+
"Quantity": {
|
|
1058
|
+
"type": "object",
|
|
1059
|
+
"properties": {
|
|
1060
|
+
"value": {
|
|
1061
|
+
"type": "number"
|
|
1062
|
+
},
|
|
1063
|
+
"unit": {
|
|
1064
|
+
"type": "string"
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"required": [
|
|
1068
|
+
"value",
|
|
1069
|
+
"unit"
|
|
1070
|
+
]
|
|
1071
|
+
},
|
|
1072
|
+
"Realization": {
|
|
1073
|
+
"anyOf": [
|
|
1074
|
+
{
|
|
1075
|
+
"type": "object",
|
|
1076
|
+
"properties": {
|
|
1077
|
+
"timer": {
|
|
1078
|
+
"type": "string"
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
"required": [
|
|
1082
|
+
"timer"
|
|
1083
|
+
]
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"type": "object",
|
|
1087
|
+
"properties": {
|
|
1088
|
+
"duration": {
|
|
1089
|
+
"$ref": "#/$defs/Expr"
|
|
1090
|
+
},
|
|
1091
|
+
"lateness": {
|
|
1092
|
+
"anyOf": [
|
|
1093
|
+
{
|
|
1094
|
+
"type": "object",
|
|
1095
|
+
"properties": {
|
|
1096
|
+
"const": {
|
|
1097
|
+
"type": "number"
|
|
1098
|
+
},
|
|
1099
|
+
"unit": {
|
|
1100
|
+
"type": "string"
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
"required": [
|
|
1104
|
+
"const",
|
|
1105
|
+
"unit"
|
|
1106
|
+
]
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"type": "object",
|
|
1110
|
+
"properties": {
|
|
1111
|
+
"knob": {
|
|
1112
|
+
"type": "string"
|
|
1113
|
+
},
|
|
1114
|
+
"unit": {
|
|
1115
|
+
"type": "string"
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
"required": [
|
|
1119
|
+
"knob",
|
|
1120
|
+
"unit"
|
|
1121
|
+
]
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"type": "object",
|
|
1125
|
+
"properties": {
|
|
1126
|
+
"expr": {
|
|
1127
|
+
"type": "string"
|
|
1128
|
+
},
|
|
1129
|
+
"unit": {
|
|
1130
|
+
"type": "string"
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
"required": [
|
|
1134
|
+
"expr",
|
|
1135
|
+
"unit"
|
|
1136
|
+
]
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"type": "object",
|
|
1140
|
+
"properties": {
|
|
1141
|
+
"model": {
|
|
1142
|
+
"type": "string"
|
|
1143
|
+
},
|
|
1144
|
+
"knobs": {
|
|
1145
|
+
"type": "array",
|
|
1146
|
+
"items": {
|
|
1147
|
+
"type": "string"
|
|
1148
|
+
}
|
|
1149
|
+
},
|
|
1150
|
+
"unit": {
|
|
1151
|
+
"type": "string"
|
|
1152
|
+
}
|
|
1153
|
+
},
|
|
1154
|
+
"required": [
|
|
1155
|
+
"model",
|
|
1156
|
+
"knobs",
|
|
1157
|
+
"unit"
|
|
1158
|
+
]
|
|
1159
|
+
}
|
|
1160
|
+
]
|
|
1161
|
+
},
|
|
1162
|
+
"early": {
|
|
1163
|
+
"anyOf": [
|
|
1164
|
+
{
|
|
1165
|
+
"type": "object",
|
|
1166
|
+
"properties": {
|
|
1167
|
+
"const": {
|
|
1168
|
+
"type": "number"
|
|
1169
|
+
},
|
|
1170
|
+
"unit": {
|
|
1171
|
+
"type": "string"
|
|
1172
|
+
}
|
|
1173
|
+
},
|
|
1174
|
+
"required": [
|
|
1175
|
+
"const",
|
|
1176
|
+
"unit"
|
|
1177
|
+
]
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"type": "object",
|
|
1181
|
+
"properties": {
|
|
1182
|
+
"knob": {
|
|
1183
|
+
"type": "string"
|
|
1184
|
+
},
|
|
1185
|
+
"unit": {
|
|
1186
|
+
"type": "string"
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
"required": [
|
|
1190
|
+
"knob",
|
|
1191
|
+
"unit"
|
|
1192
|
+
]
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"type": "object",
|
|
1196
|
+
"properties": {
|
|
1197
|
+
"expr": {
|
|
1198
|
+
"type": "string"
|
|
1199
|
+
},
|
|
1200
|
+
"unit": {
|
|
1201
|
+
"type": "string"
|
|
1202
|
+
}
|
|
1203
|
+
},
|
|
1204
|
+
"required": [
|
|
1205
|
+
"expr",
|
|
1206
|
+
"unit"
|
|
1207
|
+
]
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"type": "object",
|
|
1211
|
+
"properties": {
|
|
1212
|
+
"model": {
|
|
1213
|
+
"type": "string"
|
|
1214
|
+
},
|
|
1215
|
+
"knobs": {
|
|
1216
|
+
"type": "array",
|
|
1217
|
+
"items": {
|
|
1218
|
+
"type": "string"
|
|
1219
|
+
}
|
|
1220
|
+
},
|
|
1221
|
+
"unit": {
|
|
1222
|
+
"type": "string"
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
"required": [
|
|
1226
|
+
"model",
|
|
1227
|
+
"knobs",
|
|
1228
|
+
"unit"
|
|
1229
|
+
]
|
|
1230
|
+
}
|
|
1231
|
+
]
|
|
1232
|
+
},
|
|
1233
|
+
"note": {
|
|
1234
|
+
"type": "string"
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
"required": [
|
|
1238
|
+
"duration"
|
|
1239
|
+
]
|
|
1240
|
+
}
|
|
1241
|
+
]
|
|
1242
|
+
},
|
|
1243
|
+
"Recovery": {
|
|
1244
|
+
"type": "object",
|
|
1245
|
+
"properties": {
|
|
1246
|
+
"firings": {
|
|
1247
|
+
"type": "array",
|
|
1248
|
+
"items": {
|
|
1249
|
+
"$ref": "#/$defs/Firing"
|
|
1250
|
+
},
|
|
1251
|
+
"description": "These are its firings from its arming, up to the first one that surely comes after the end of the stall."
|
|
1252
|
+
},
|
|
1253
|
+
"first": {
|
|
1254
|
+
"type": "array",
|
|
1255
|
+
"items": {
|
|
1256
|
+
"type": "number"
|
|
1257
|
+
},
|
|
1258
|
+
"description": "These are the firings that can be the first after the end of the stall. There is more than one when the end falls in the bounds of a firing: that firing can come before the end or after it."
|
|
1259
|
+
},
|
|
1260
|
+
"low": {
|
|
1261
|
+
"$ref": "#/$defs/Quantity",
|
|
1262
|
+
"description": "This time is the earliest time of the first firing after the end of the stall, from the arming."
|
|
1263
|
+
},
|
|
1264
|
+
"high": {
|
|
1265
|
+
"$ref": "#/$defs/Quantity",
|
|
1266
|
+
"description": "This time is the latest time of that firing, from the arming."
|
|
1267
|
+
}
|
|
1268
|
+
},
|
|
1269
|
+
"required": [
|
|
1270
|
+
"firings",
|
|
1271
|
+
"first",
|
|
1272
|
+
"low",
|
|
1273
|
+
"high"
|
|
1274
|
+
]
|
|
1275
|
+
},
|
|
1276
|
+
"ReplayOptions": {
|
|
1277
|
+
"type": "object",
|
|
1278
|
+
"properties": {
|
|
1279
|
+
"machine": {
|
|
1280
|
+
"type": "string",
|
|
1281
|
+
"description": "Only the transitions of this machine replay. Without it, each transition of the trace replays."
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
"Replayable": {
|
|
1286
|
+
"type": "object",
|
|
1287
|
+
"properties": {
|
|
1288
|
+
"states": {
|
|
1289
|
+
"type": "object",
|
|
1290
|
+
"properties": {},
|
|
1291
|
+
"additionalProperties": {
|
|
1292
|
+
"type": "object",
|
|
1293
|
+
"properties": {
|
|
1294
|
+
"initial": {
|
|
1295
|
+
"type": "boolean"
|
|
1296
|
+
},
|
|
1297
|
+
"final": {
|
|
1298
|
+
"type": "boolean"
|
|
1299
|
+
},
|
|
1300
|
+
"pseudo": {
|
|
1301
|
+
"type": "boolean"
|
|
1302
|
+
},
|
|
1303
|
+
"note": {
|
|
1304
|
+
"type": "string"
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
},
|
|
1309
|
+
"id": {
|
|
1310
|
+
"type": "string"
|
|
1311
|
+
},
|
|
1312
|
+
"transitions": {
|
|
1313
|
+
"type": "array",
|
|
1314
|
+
"items": {
|
|
1315
|
+
"$ref": "#/$defs/TransitionDef"
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
},
|
|
1319
|
+
"required": [
|
|
1320
|
+
"states",
|
|
1321
|
+
"id",
|
|
1322
|
+
"transitions"
|
|
1323
|
+
]
|
|
1324
|
+
},
|
|
1325
|
+
"ScheduleOptions": {
|
|
1326
|
+
"type": "object",
|
|
1327
|
+
"properties": {
|
|
1328
|
+
"from": {
|
|
1329
|
+
"type": "number",
|
|
1330
|
+
"description": "This count is the first wait of the schedule. The default is 0, the wait from the arming."
|
|
1331
|
+
},
|
|
1332
|
+
"count": {
|
|
1333
|
+
"type": "number",
|
|
1334
|
+
"description": "This count is the most firings to give."
|
|
1335
|
+
},
|
|
1336
|
+
"until": {
|
|
1337
|
+
"anyOf": [
|
|
1338
|
+
{
|
|
1339
|
+
"$ref": "#/$defs/Quantity"
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"$ref": "#/$defs/Unbounded"
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
"description": "This time stops the schedule: the schedule keeps no firing after it."
|
|
1346
|
+
},
|
|
1347
|
+
"reach": {
|
|
1348
|
+
"anyOf": [
|
|
1349
|
+
{
|
|
1350
|
+
"$ref": "#/$defs/Quantity"
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"$ref": "#/$defs/Unbounded"
|
|
1354
|
+
}
|
|
1355
|
+
],
|
|
1356
|
+
"description": "This time stops the schedule after the first firing at it or after it. That firing is in the schedule."
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1360
|
+
"Scheduled": {
|
|
1361
|
+
"type": "object",
|
|
1362
|
+
"properties": {
|
|
1363
|
+
"fired": {
|
|
1364
|
+
"type": "number",
|
|
1365
|
+
"description": "This count is the wait that ends in this firing: the wait after `fired` firings."
|
|
1366
|
+
},
|
|
1367
|
+
"at": {
|
|
1368
|
+
"$ref": "#/$defs/Quantity",
|
|
1369
|
+
"description": "This time is the sum of the waits to this firing, from the first wait of the schedule, in seconds."
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
"required": [
|
|
1373
|
+
"fired",
|
|
1374
|
+
"at"
|
|
1375
|
+
]
|
|
1376
|
+
},
|
|
1377
|
+
"Situation": {
|
|
1378
|
+
"type": "object",
|
|
1379
|
+
"properties": {
|
|
1380
|
+
"state": {
|
|
1381
|
+
"type": "string",
|
|
1382
|
+
"description": "This name is the state of the machine, for example ESTABLISHED."
|
|
1383
|
+
},
|
|
1384
|
+
"inFlight": {
|
|
1385
|
+
"type": "boolean",
|
|
1386
|
+
"description": "This flag tells if it had sent data that the peer had not acknowledged."
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
"required": [
|
|
1390
|
+
"state",
|
|
1391
|
+
"inFlight"
|
|
1392
|
+
]
|
|
1393
|
+
},
|
|
1394
|
+
"TbfBuckets": {
|
|
1395
|
+
"type": "object",
|
|
1396
|
+
"properties": {
|
|
1397
|
+
"buffer": {
|
|
1398
|
+
"type": "number",
|
|
1399
|
+
"description": "This value is the depth of the bucket of the rate, in nanoseconds."
|
|
1400
|
+
},
|
|
1401
|
+
"mtu": {
|
|
1402
|
+
"type": "number",
|
|
1403
|
+
"description": "This value is the depth of the bucket of the peak rate, in nanoseconds, or 0 with no peak rate."
|
|
1404
|
+
},
|
|
1405
|
+
"maxSize": {
|
|
1406
|
+
"type": "number",
|
|
1407
|
+
"description": "This value is the largest qdisc length that tbf takes, in bytes."
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1410
|
+
"required": [
|
|
1411
|
+
"buffer",
|
|
1412
|
+
"mtu",
|
|
1413
|
+
"maxSize"
|
|
1414
|
+
]
|
|
1415
|
+
},
|
|
1416
|
+
"TbfPeak": {
|
|
1417
|
+
"type": "object",
|
|
1418
|
+
"properties": {
|
|
1419
|
+
"burst": {
|
|
1420
|
+
"type": "number",
|
|
1421
|
+
"description": "This value is the depth of the bucket of the peak rate, in bytes (`TCA_TBF_PBURST`)."
|
|
1422
|
+
},
|
|
1423
|
+
"rate": {
|
|
1424
|
+
"type": "number",
|
|
1425
|
+
"description": "This value is the rate in bytes per second."
|
|
1426
|
+
},
|
|
1427
|
+
"overhead": {
|
|
1428
|
+
"type": "number",
|
|
1429
|
+
"description": "This value is the overhead that the rate adds to each length."
|
|
1430
|
+
},
|
|
1431
|
+
"mpu": {
|
|
1432
|
+
"type": "number",
|
|
1433
|
+
"description": "This value is the least length that the rate counts."
|
|
1434
|
+
},
|
|
1435
|
+
"linklayer": {
|
|
1436
|
+
"enum": [
|
|
1437
|
+
"ethernet",
|
|
1438
|
+
"atm"
|
|
1439
|
+
],
|
|
1440
|
+
"description": "An ATM link counts the length in cells of 48 bytes, and each cell takes 53 bytes."
|
|
1441
|
+
}
|
|
1442
|
+
},
|
|
1443
|
+
"required": [
|
|
1444
|
+
"burst",
|
|
1445
|
+
"rate"
|
|
1446
|
+
]
|
|
1447
|
+
},
|
|
1448
|
+
"TbfQueue": {
|
|
1449
|
+
"type": "object",
|
|
1450
|
+
"properties": {
|
|
1451
|
+
"rate": {
|
|
1452
|
+
"$ref": "#/$defs/PschedRate"
|
|
1453
|
+
},
|
|
1454
|
+
"burst": {
|
|
1455
|
+
"type": "number"
|
|
1456
|
+
},
|
|
1457
|
+
"limit": {
|
|
1458
|
+
"type": "number"
|
|
1459
|
+
},
|
|
1460
|
+
"peak": {
|
|
1461
|
+
"$ref": "#/$defs/TbfPeak"
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
"required": [
|
|
1465
|
+
"rate",
|
|
1466
|
+
"burst",
|
|
1467
|
+
"limit"
|
|
1468
|
+
]
|
|
1469
|
+
},
|
|
1470
|
+
"Timer": {
|
|
1471
|
+
"type": "object",
|
|
1472
|
+
"properties": {
|
|
1473
|
+
"duration": {
|
|
1474
|
+
"$ref": "#/$defs/Expr"
|
|
1475
|
+
},
|
|
1476
|
+
"lateness": {
|
|
1477
|
+
"anyOf": [
|
|
1478
|
+
{
|
|
1479
|
+
"type": "object",
|
|
1480
|
+
"properties": {
|
|
1481
|
+
"const": {
|
|
1482
|
+
"type": "number"
|
|
1483
|
+
},
|
|
1484
|
+
"unit": {
|
|
1485
|
+
"type": "string"
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
"required": [
|
|
1489
|
+
"const",
|
|
1490
|
+
"unit"
|
|
1491
|
+
]
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"type": "object",
|
|
1495
|
+
"properties": {
|
|
1496
|
+
"knob": {
|
|
1497
|
+
"type": "string"
|
|
1498
|
+
},
|
|
1499
|
+
"unit": {
|
|
1500
|
+
"type": "string"
|
|
1501
|
+
}
|
|
1502
|
+
},
|
|
1503
|
+
"required": [
|
|
1504
|
+
"knob",
|
|
1505
|
+
"unit"
|
|
1506
|
+
]
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"type": "object",
|
|
1510
|
+
"properties": {
|
|
1511
|
+
"expr": {
|
|
1512
|
+
"type": "string"
|
|
1513
|
+
},
|
|
1514
|
+
"unit": {
|
|
1515
|
+
"type": "string"
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
"required": [
|
|
1519
|
+
"expr",
|
|
1520
|
+
"unit"
|
|
1521
|
+
]
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"type": "object",
|
|
1525
|
+
"properties": {
|
|
1526
|
+
"model": {
|
|
1527
|
+
"type": "string"
|
|
1528
|
+
},
|
|
1529
|
+
"knobs": {
|
|
1530
|
+
"type": "array",
|
|
1531
|
+
"items": {
|
|
1532
|
+
"type": "string"
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
"unit": {
|
|
1536
|
+
"type": "string"
|
|
1537
|
+
}
|
|
1538
|
+
},
|
|
1539
|
+
"required": [
|
|
1540
|
+
"model",
|
|
1541
|
+
"knobs",
|
|
1542
|
+
"unit"
|
|
1543
|
+
]
|
|
1544
|
+
}
|
|
1545
|
+
]
|
|
1546
|
+
},
|
|
1547
|
+
"early": {
|
|
1548
|
+
"anyOf": [
|
|
1549
|
+
{
|
|
1550
|
+
"type": "object",
|
|
1551
|
+
"properties": {
|
|
1552
|
+
"const": {
|
|
1553
|
+
"type": "number"
|
|
1554
|
+
},
|
|
1555
|
+
"unit": {
|
|
1556
|
+
"type": "string"
|
|
1557
|
+
}
|
|
1558
|
+
},
|
|
1559
|
+
"required": [
|
|
1560
|
+
"const",
|
|
1561
|
+
"unit"
|
|
1562
|
+
]
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"type": "object",
|
|
1566
|
+
"properties": {
|
|
1567
|
+
"knob": {
|
|
1568
|
+
"type": "string"
|
|
1569
|
+
},
|
|
1570
|
+
"unit": {
|
|
1571
|
+
"type": "string"
|
|
1572
|
+
}
|
|
1573
|
+
},
|
|
1574
|
+
"required": [
|
|
1575
|
+
"knob",
|
|
1576
|
+
"unit"
|
|
1577
|
+
]
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"type": "object",
|
|
1581
|
+
"properties": {
|
|
1582
|
+
"expr": {
|
|
1583
|
+
"type": "string"
|
|
1584
|
+
},
|
|
1585
|
+
"unit": {
|
|
1586
|
+
"type": "string"
|
|
1587
|
+
}
|
|
1588
|
+
},
|
|
1589
|
+
"required": [
|
|
1590
|
+
"expr",
|
|
1591
|
+
"unit"
|
|
1592
|
+
]
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"type": "object",
|
|
1596
|
+
"properties": {
|
|
1597
|
+
"model": {
|
|
1598
|
+
"type": "string"
|
|
1599
|
+
},
|
|
1600
|
+
"knobs": {
|
|
1601
|
+
"type": "array",
|
|
1602
|
+
"items": {
|
|
1603
|
+
"type": "string"
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
"unit": {
|
|
1607
|
+
"type": "string"
|
|
1608
|
+
}
|
|
1609
|
+
},
|
|
1610
|
+
"required": [
|
|
1611
|
+
"model",
|
|
1612
|
+
"knobs",
|
|
1613
|
+
"unit"
|
|
1614
|
+
]
|
|
1615
|
+
}
|
|
1616
|
+
]
|
|
1617
|
+
},
|
|
1618
|
+
"arms": {
|
|
1619
|
+
"type": "array",
|
|
1620
|
+
"items": {
|
|
1621
|
+
"type": "string"
|
|
1622
|
+
}
|
|
1623
|
+
},
|
|
1624
|
+
"cancels": {
|
|
1625
|
+
"type": "array",
|
|
1626
|
+
"items": {
|
|
1627
|
+
"type": "string"
|
|
1628
|
+
}
|
|
1629
|
+
},
|
|
1630
|
+
"fires": {
|
|
1631
|
+
"type": "string"
|
|
1632
|
+
},
|
|
1633
|
+
"backoff": {
|
|
1634
|
+
"type": "object",
|
|
1635
|
+
"properties": {
|
|
1636
|
+
"resets": {
|
|
1637
|
+
"type": "array",
|
|
1638
|
+
"items": {
|
|
1639
|
+
"type": "string"
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
"required": [
|
|
1644
|
+
"resets"
|
|
1645
|
+
],
|
|
1646
|
+
"description": "A backoff timer starts again after it fires, and no wait is shorter than the wait before it. Examples are the retransmission timer of the kernel, its SYN timer and the reconnect of a driver. Its duration, lateness and early bound are those of one wait. They can read `fired`: the number of times that it fired after the last of its `resets`."
|
|
1647
|
+
},
|
|
1648
|
+
"note": {
|
|
1649
|
+
"type": "string"
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
"required": [
|
|
1653
|
+
"duration",
|
|
1654
|
+
"arms",
|
|
1655
|
+
"fires"
|
|
1656
|
+
]
|
|
1657
|
+
},
|
|
1658
|
+
"TimerBounds": {
|
|
1659
|
+
"type": "object",
|
|
1660
|
+
"properties": {
|
|
1661
|
+
"duration": {
|
|
1662
|
+
"anyOf": [
|
|
1663
|
+
{
|
|
1664
|
+
"$ref": "#/$defs/Quantity"
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"$ref": "#/$defs/Unbounded"
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"$ref": "#/$defs/Unknown"
|
|
1671
|
+
}
|
|
1672
|
+
]
|
|
1673
|
+
},
|
|
1674
|
+
"lateness": {
|
|
1675
|
+
"anyOf": [
|
|
1676
|
+
{
|
|
1677
|
+
"$ref": "#/$defs/Quantity"
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"$ref": "#/$defs/Unbounded"
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"$ref": "#/$defs/Unknown"
|
|
1684
|
+
}
|
|
1685
|
+
]
|
|
1686
|
+
},
|
|
1687
|
+
"early": {
|
|
1688
|
+
"anyOf": [
|
|
1689
|
+
{
|
|
1690
|
+
"$ref": "#/$defs/Quantity"
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"$ref": "#/$defs/Unbounded"
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"$ref": "#/$defs/Unknown"
|
|
1697
|
+
}
|
|
1698
|
+
]
|
|
1699
|
+
}
|
|
1700
|
+
},
|
|
1701
|
+
"required": [
|
|
1702
|
+
"duration"
|
|
1703
|
+
]
|
|
1704
|
+
},
|
|
1705
|
+
"Transition": {
|
|
1706
|
+
"type": "object",
|
|
1707
|
+
"properties": {
|
|
1708
|
+
"machine": {
|
|
1709
|
+
"type": "string",
|
|
1710
|
+
"description": "This name identifies the machine that reported. Each program names its own machines."
|
|
1711
|
+
},
|
|
1712
|
+
"instance": {
|
|
1713
|
+
"type": "string",
|
|
1714
|
+
"description": "This name identifies one machine among others of its kind: a connection, a check."
|
|
1715
|
+
},
|
|
1716
|
+
"from": {
|
|
1717
|
+
"type": "string"
|
|
1718
|
+
},
|
|
1719
|
+
"on": {
|
|
1720
|
+
"type": "string"
|
|
1721
|
+
},
|
|
1722
|
+
"to": {
|
|
1723
|
+
"type": "string"
|
|
1724
|
+
},
|
|
1725
|
+
"at": {
|
|
1726
|
+
"type": "number",
|
|
1727
|
+
"description": "This time is when the transition occurred, in milliseconds. The replay does not read it."
|
|
1728
|
+
}
|
|
1729
|
+
},
|
|
1730
|
+
"required": [
|
|
1731
|
+
"instance",
|
|
1732
|
+
"from",
|
|
1733
|
+
"on",
|
|
1734
|
+
"to"
|
|
1735
|
+
]
|
|
1736
|
+
},
|
|
1737
|
+
"TransitionDef": {
|
|
1738
|
+
"type": "object",
|
|
1739
|
+
"properties": {
|
|
1740
|
+
"id": {
|
|
1741
|
+
"type": "string"
|
|
1742
|
+
},
|
|
1743
|
+
"from": {
|
|
1744
|
+
"anyOf": [
|
|
1745
|
+
{
|
|
1746
|
+
"type": "string"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"type": "array",
|
|
1750
|
+
"items": {
|
|
1751
|
+
"type": "string"
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
]
|
|
1755
|
+
},
|
|
1756
|
+
"to": {
|
|
1757
|
+
"type": "string"
|
|
1758
|
+
},
|
|
1759
|
+
"on": {
|
|
1760
|
+
"anyOf": [
|
|
1761
|
+
{
|
|
1762
|
+
"type": "string"
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"type": "array",
|
|
1766
|
+
"items": {
|
|
1767
|
+
"type": "string"
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
]
|
|
1771
|
+
},
|
|
1772
|
+
"guard": {
|
|
1773
|
+
"type": "string"
|
|
1774
|
+
},
|
|
1775
|
+
"timer": {
|
|
1776
|
+
"type": "string"
|
|
1777
|
+
},
|
|
1778
|
+
"emits": {
|
|
1779
|
+
"type": "array",
|
|
1780
|
+
"items": {
|
|
1781
|
+
"type": "string"
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
"errno": {
|
|
1785
|
+
"type": "string"
|
|
1786
|
+
},
|
|
1787
|
+
"note": {
|
|
1788
|
+
"type": "string"
|
|
1789
|
+
},
|
|
1790
|
+
"source": {
|
|
1791
|
+
"type": "string"
|
|
1792
|
+
}
|
|
1793
|
+
},
|
|
1794
|
+
"required": [
|
|
1795
|
+
"id",
|
|
1796
|
+
"from",
|
|
1797
|
+
"to",
|
|
1798
|
+
"on"
|
|
1799
|
+
]
|
|
1800
|
+
},
|
|
1801
|
+
"Unbounded": {
|
|
1802
|
+
"type": "object",
|
|
1803
|
+
"properties": {
|
|
1804
|
+
"value": {
|
|
1805
|
+
"const": "infinite"
|
|
1806
|
+
},
|
|
1807
|
+
"unit": {
|
|
1808
|
+
"type": "string"
|
|
1809
|
+
}
|
|
1810
|
+
},
|
|
1811
|
+
"required": [
|
|
1812
|
+
"value",
|
|
1813
|
+
"unit"
|
|
1814
|
+
]
|
|
1815
|
+
},
|
|
1816
|
+
"Unknown": {
|
|
1817
|
+
"type": "object",
|
|
1818
|
+
"properties": {
|
|
1819
|
+
"unknown": {
|
|
1820
|
+
"type": "string"
|
|
1821
|
+
},
|
|
1822
|
+
"unit": {
|
|
1823
|
+
"type": "string"
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1826
|
+
"required": [
|
|
1827
|
+
"unknown"
|
|
1828
|
+
]
|
|
1829
|
+
},
|
|
1830
|
+
"Vantage": {
|
|
1831
|
+
"enum": [
|
|
1832
|
+
"wire",
|
|
1833
|
+
"kernel",
|
|
1834
|
+
"middlebox",
|
|
1835
|
+
"proxy",
|
|
1836
|
+
"driver",
|
|
1837
|
+
"server",
|
|
1838
|
+
"canary",
|
|
1839
|
+
"injector",
|
|
1840
|
+
"self"
|
|
1841
|
+
]
|
|
1842
|
+
}
|
|
1843
|
+
},
|
|
1844
|
+
"procedures": [
|
|
1845
|
+
{
|
|
1846
|
+
"name": "acceptQueueHeld",
|
|
1847
|
+
"path": [
|
|
1848
|
+
"algebra",
|
|
1849
|
+
"acceptQueueHeld"
|
|
1850
|
+
],
|
|
1851
|
+
"description": "This function gives the connections that a full accept queue holds: its limit plus one.",
|
|
1852
|
+
"params": [
|
|
1853
|
+
"backlog",
|
|
1854
|
+
"somaxconn"
|
|
1855
|
+
],
|
|
1856
|
+
"input": {
|
|
1857
|
+
"type": "object",
|
|
1858
|
+
"properties": {
|
|
1859
|
+
"backlog": {
|
|
1860
|
+
"type": "number"
|
|
1861
|
+
},
|
|
1862
|
+
"somaxconn": {
|
|
1863
|
+
"type": "number"
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
"required": [
|
|
1867
|
+
"backlog",
|
|
1868
|
+
"somaxconn"
|
|
1869
|
+
],
|
|
1870
|
+
"additionalProperties": false
|
|
1871
|
+
},
|
|
1872
|
+
"output": {
|
|
1873
|
+
"type": "number"
|
|
1874
|
+
},
|
|
1875
|
+
"effects": {
|
|
1876
|
+
"reads": [],
|
|
1877
|
+
"writes": []
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"name": "acceptQueueLimit",
|
|
1882
|
+
"path": [
|
|
1883
|
+
"algebra",
|
|
1884
|
+
"acceptQueueLimit"
|
|
1885
|
+
],
|
|
1886
|
+
"description": "This function gives the limit of the accept queue: the backlog of listen(2), clamped to `somaxconn`.",
|
|
1887
|
+
"params": [
|
|
1888
|
+
"backlog",
|
|
1889
|
+
"somaxconn"
|
|
1890
|
+
],
|
|
1891
|
+
"input": {
|
|
1892
|
+
"type": "object",
|
|
1893
|
+
"properties": {
|
|
1894
|
+
"backlog": {
|
|
1895
|
+
"type": "number"
|
|
1896
|
+
},
|
|
1897
|
+
"somaxconn": {
|
|
1898
|
+
"type": "number"
|
|
1899
|
+
}
|
|
1900
|
+
},
|
|
1901
|
+
"required": [
|
|
1902
|
+
"backlog",
|
|
1903
|
+
"somaxconn"
|
|
1904
|
+
],
|
|
1905
|
+
"additionalProperties": false
|
|
1906
|
+
},
|
|
1907
|
+
"output": {
|
|
1908
|
+
"type": "number"
|
|
1909
|
+
},
|
|
1910
|
+
"effects": {
|
|
1911
|
+
"reads": [],
|
|
1912
|
+
"writes": []
|
|
1913
|
+
}
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"name": "algebraProblems",
|
|
1917
|
+
"path": [
|
|
1918
|
+
"algebra",
|
|
1919
|
+
"algebraProblems"
|
|
1920
|
+
],
|
|
1921
|
+
"description": "This function gives what in a document the algebra cannot read: arithmetic that does not parse, or a model that it does not have.",
|
|
1922
|
+
"params": [
|
|
1923
|
+
"doc"
|
|
1924
|
+
],
|
|
1925
|
+
"input": {
|
|
1926
|
+
"type": "object",
|
|
1927
|
+
"properties": {
|
|
1928
|
+
"doc": {
|
|
1929
|
+
"$ref": "#/$defs/Machine"
|
|
1930
|
+
}
|
|
1931
|
+
},
|
|
1932
|
+
"required": [
|
|
1933
|
+
"doc"
|
|
1934
|
+
],
|
|
1935
|
+
"additionalProperties": false
|
|
1936
|
+
},
|
|
1937
|
+
"output": {
|
|
1938
|
+
"type": "array",
|
|
1939
|
+
"items": {
|
|
1940
|
+
"type": "string"
|
|
1941
|
+
}
|
|
1942
|
+
},
|
|
1943
|
+
"effects": {
|
|
1944
|
+
"reads": [],
|
|
1945
|
+
"writes": []
|
|
1946
|
+
}
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"name": "arr",
|
|
1950
|
+
"path": [
|
|
1951
|
+
"algebra",
|
|
1952
|
+
"arr"
|
|
1953
|
+
],
|
|
1954
|
+
"description": "This function gives one value or many values as an array.",
|
|
1955
|
+
"params": [
|
|
1956
|
+
"value"
|
|
1957
|
+
],
|
|
1958
|
+
"input": {
|
|
1959
|
+
"type": "object",
|
|
1960
|
+
"properties": {
|
|
1961
|
+
"value": {}
|
|
1962
|
+
},
|
|
1963
|
+
"required": [
|
|
1964
|
+
"value"
|
|
1965
|
+
],
|
|
1966
|
+
"additionalProperties": false
|
|
1967
|
+
},
|
|
1968
|
+
"output": {
|
|
1969
|
+
"type": "array",
|
|
1970
|
+
"items": {}
|
|
1971
|
+
},
|
|
1972
|
+
"generics": [
|
|
1973
|
+
"T"
|
|
1974
|
+
],
|
|
1975
|
+
"effects": {
|
|
1976
|
+
"reads": [],
|
|
1977
|
+
"writes": []
|
|
1978
|
+
}
|
|
1979
|
+
},
|
|
1980
|
+
{
|
|
1981
|
+
"name": "conntrackFloor",
|
|
1982
|
+
"path": [
|
|
1983
|
+
"algebra",
|
|
1984
|
+
"conntrackFloor"
|
|
1985
|
+
],
|
|
1986
|
+
"description": "This function gives the lowest count of one network namespace after one scan of the conntrack collector under pressure. Each entry of the table can go at that scan. The sources are Linux v7.0, `net/netfilter/nf_conntrack_core.c`.",
|
|
1987
|
+
"params": [
|
|
1988
|
+
"max",
|
|
1989
|
+
"hz",
|
|
1990
|
+
"expired"
|
|
1991
|
+
],
|
|
1992
|
+
"input": {
|
|
1993
|
+
"type": "object",
|
|
1994
|
+
"properties": {
|
|
1995
|
+
"max": {
|
|
1996
|
+
"type": "number"
|
|
1997
|
+
},
|
|
1998
|
+
"hz": {
|
|
1999
|
+
"type": "number"
|
|
2000
|
+
},
|
|
2001
|
+
"expired": {
|
|
2002
|
+
"type": "number"
|
|
2003
|
+
}
|
|
2004
|
+
},
|
|
2005
|
+
"required": [
|
|
2006
|
+
"max",
|
|
2007
|
+
"hz"
|
|
2008
|
+
],
|
|
2009
|
+
"additionalProperties": false
|
|
2010
|
+
},
|
|
2011
|
+
"output": {
|
|
2012
|
+
"type": "number"
|
|
2013
|
+
},
|
|
2014
|
+
"effects": {
|
|
2015
|
+
"reads": [],
|
|
2016
|
+
"writes": []
|
|
2017
|
+
}
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"name": "detection",
|
|
2021
|
+
"path": [
|
|
2022
|
+
"algebra",
|
|
2023
|
+
"detection"
|
|
2024
|
+
],
|
|
2025
|
+
"description": "This function gives the detection: the minimum over the detectors that are live in the situation. The entry to the state arms a timer, and so does what the failure causes: data in flight without an acknowledgment gets a retransmission. An event that occurs cancels a timer.",
|
|
2026
|
+
"params": [
|
|
2027
|
+
"doc",
|
|
2028
|
+
"situation",
|
|
2029
|
+
"manifestation",
|
|
2030
|
+
"values"
|
|
2031
|
+
],
|
|
2032
|
+
"input": {
|
|
2033
|
+
"type": "object",
|
|
2034
|
+
"properties": {
|
|
2035
|
+
"doc": {
|
|
2036
|
+
"$ref": "#/$defs/Machine"
|
|
2037
|
+
},
|
|
2038
|
+
"situation": {
|
|
2039
|
+
"$ref": "#/$defs/Situation"
|
|
2040
|
+
},
|
|
2041
|
+
"manifestation": {
|
|
2042
|
+
"$ref": "#/$defs/Manifestation"
|
|
2043
|
+
},
|
|
2044
|
+
"values": {
|
|
2045
|
+
"type": "object",
|
|
2046
|
+
"description": "One call of a pure procedure, as data, for the function KnobValues. It reads each parameter as {\"$ref\": \"<name>\"}: name.",
|
|
2047
|
+
"required": [
|
|
2048
|
+
"$proc"
|
|
2049
|
+
],
|
|
2050
|
+
"properties": {
|
|
2051
|
+
"$proc": {
|
|
2052
|
+
"type": "array",
|
|
2053
|
+
"items": {
|
|
2054
|
+
"type": "string"
|
|
2055
|
+
},
|
|
2056
|
+
"minItems": 1
|
|
2057
|
+
},
|
|
2058
|
+
"input": {},
|
|
2059
|
+
"$when": {
|
|
2060
|
+
"const": "$never"
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2063
|
+
"x-procedures-program": {
|
|
2064
|
+
"params": [
|
|
2065
|
+
"name"
|
|
2066
|
+
],
|
|
2067
|
+
"inputs": [
|
|
2068
|
+
{
|
|
2069
|
+
"type": "string"
|
|
2070
|
+
}
|
|
2071
|
+
],
|
|
2072
|
+
"output": {
|
|
2073
|
+
"anyOf": [
|
|
2074
|
+
{
|
|
2075
|
+
"$ref": "#/$defs/Quantity"
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"$ref": "#/$defs/Unbounded"
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"$ref": "#/$defs/Unknown"
|
|
2082
|
+
}
|
|
2083
|
+
]
|
|
2084
|
+
},
|
|
2085
|
+
"undefinedForNull": true
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
},
|
|
2089
|
+
"required": [
|
|
2090
|
+
"doc",
|
|
2091
|
+
"situation",
|
|
2092
|
+
"manifestation",
|
|
2093
|
+
"values"
|
|
2094
|
+
],
|
|
2095
|
+
"additionalProperties": false
|
|
2096
|
+
},
|
|
2097
|
+
"output": {
|
|
2098
|
+
"$ref": "#/$defs/Detection"
|
|
2099
|
+
},
|
|
2100
|
+
"effects": {
|
|
2101
|
+
"reads": [],
|
|
2102
|
+
"writes": []
|
|
2103
|
+
}
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
"name": "errnoOf",
|
|
2107
|
+
"path": [
|
|
2108
|
+
"algebra",
|
|
2109
|
+
"errnoOf"
|
|
2110
|
+
],
|
|
2111
|
+
"description": "This function gives the errno of a detection by a timer: the errno of the transition that its event takes from the state. A soft error of the manifestation replaces ETIMEDOUT, but only for the timers whose segments its ICMP quotes in the window.",
|
|
2112
|
+
"params": [
|
|
2113
|
+
"doc",
|
|
2114
|
+
"state",
|
|
2115
|
+
"detector",
|
|
2116
|
+
"manifestation"
|
|
2117
|
+
],
|
|
2118
|
+
"input": {
|
|
2119
|
+
"type": "object",
|
|
2120
|
+
"properties": {
|
|
2121
|
+
"doc": {
|
|
2122
|
+
"$ref": "#/$defs/Machine"
|
|
2123
|
+
},
|
|
2124
|
+
"state": {
|
|
2125
|
+
"type": "string"
|
|
2126
|
+
},
|
|
2127
|
+
"detector": {
|
|
2128
|
+
"type": "object",
|
|
2129
|
+
"properties": {
|
|
2130
|
+
"timer": {
|
|
2131
|
+
"type": "string"
|
|
2132
|
+
},
|
|
2133
|
+
"fires": {
|
|
2134
|
+
"type": "string"
|
|
2135
|
+
}
|
|
2136
|
+
},
|
|
2137
|
+
"required": [
|
|
2138
|
+
"timer",
|
|
2139
|
+
"fires"
|
|
2140
|
+
]
|
|
2141
|
+
},
|
|
2142
|
+
"manifestation": {
|
|
2143
|
+
"$ref": "#/$defs/Manifestation"
|
|
2144
|
+
}
|
|
2145
|
+
},
|
|
2146
|
+
"required": [
|
|
2147
|
+
"doc",
|
|
2148
|
+
"state",
|
|
2149
|
+
"detector",
|
|
2150
|
+
"manifestation"
|
|
2151
|
+
],
|
|
2152
|
+
"additionalProperties": false
|
|
2153
|
+
},
|
|
2154
|
+
"output": {
|
|
2155
|
+
"anyOf": [
|
|
2156
|
+
{
|
|
2157
|
+
"type": "null"
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"type": "string"
|
|
2161
|
+
}
|
|
2162
|
+
]
|
|
2163
|
+
},
|
|
2164
|
+
"effects": {
|
|
2165
|
+
"reads": [],
|
|
2166
|
+
"writes": []
|
|
2167
|
+
}
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"name": "evaluate",
|
|
2171
|
+
"path": [
|
|
2172
|
+
"algebra",
|
|
2173
|
+
"evaluate"
|
|
2174
|
+
],
|
|
2175
|
+
"description": "This function evaluates one duration of a timer of a machine, in the unit that its document gives it. The waits of a backoff timer read `fired`, which tells which wait.",
|
|
2176
|
+
"params": [
|
|
2177
|
+
"doc",
|
|
2178
|
+
"expr",
|
|
2179
|
+
"values",
|
|
2180
|
+
"fired"
|
|
2181
|
+
],
|
|
2182
|
+
"input": {
|
|
2183
|
+
"type": "object",
|
|
2184
|
+
"properties": {
|
|
2185
|
+
"doc": {
|
|
2186
|
+
"$ref": "#/$defs/Machine"
|
|
2187
|
+
},
|
|
2188
|
+
"expr": {
|
|
2189
|
+
"$ref": "#/$defs/Expr"
|
|
2190
|
+
},
|
|
2191
|
+
"values": {
|
|
2192
|
+
"type": "object",
|
|
2193
|
+
"description": "One call of a pure procedure, as data, for the function KnobValues. It reads each parameter as {\"$ref\": \"<name>\"}: name.",
|
|
2194
|
+
"required": [
|
|
2195
|
+
"$proc"
|
|
2196
|
+
],
|
|
2197
|
+
"properties": {
|
|
2198
|
+
"$proc": {
|
|
2199
|
+
"type": "array",
|
|
2200
|
+
"items": {
|
|
2201
|
+
"type": "string"
|
|
2202
|
+
},
|
|
2203
|
+
"minItems": 1
|
|
2204
|
+
},
|
|
2205
|
+
"input": {},
|
|
2206
|
+
"$when": {
|
|
2207
|
+
"const": "$never"
|
|
2208
|
+
}
|
|
2209
|
+
},
|
|
2210
|
+
"x-procedures-program": {
|
|
2211
|
+
"params": [
|
|
2212
|
+
"name"
|
|
2213
|
+
],
|
|
2214
|
+
"inputs": [
|
|
2215
|
+
{
|
|
2216
|
+
"type": "string"
|
|
2217
|
+
}
|
|
2218
|
+
],
|
|
2219
|
+
"output": {
|
|
2220
|
+
"anyOf": [
|
|
2221
|
+
{
|
|
2222
|
+
"$ref": "#/$defs/Quantity"
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"$ref": "#/$defs/Unbounded"
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"$ref": "#/$defs/Unknown"
|
|
2229
|
+
}
|
|
2230
|
+
]
|
|
2231
|
+
},
|
|
2232
|
+
"undefinedForNull": true
|
|
2233
|
+
}
|
|
2234
|
+
},
|
|
2235
|
+
"fired": {
|
|
2236
|
+
"type": "number"
|
|
2237
|
+
}
|
|
2238
|
+
},
|
|
2239
|
+
"required": [
|
|
2240
|
+
"doc",
|
|
2241
|
+
"expr",
|
|
2242
|
+
"values"
|
|
2243
|
+
],
|
|
2244
|
+
"additionalProperties": false
|
|
2245
|
+
},
|
|
2246
|
+
"output": {
|
|
2247
|
+
"anyOf": [
|
|
2248
|
+
{
|
|
2249
|
+
"$ref": "#/$defs/Quantity"
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"$ref": "#/$defs/Unbounded"
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
"$ref": "#/$defs/Unknown"
|
|
2256
|
+
}
|
|
2257
|
+
]
|
|
2258
|
+
},
|
|
2259
|
+
"effects": {
|
|
2260
|
+
"reads": [],
|
|
2261
|
+
"writes": []
|
|
2262
|
+
}
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
"name": "exprKnobs",
|
|
2266
|
+
"path": [
|
|
2267
|
+
"algebra",
|
|
2268
|
+
"exprKnobs"
|
|
2269
|
+
],
|
|
2270
|
+
"description": "This function gives the knobs that a duration reads, by the names of the machine for them.",
|
|
2271
|
+
"params": [
|
|
2272
|
+
"e"
|
|
2273
|
+
],
|
|
2274
|
+
"input": {
|
|
2275
|
+
"type": "object",
|
|
2276
|
+
"properties": {
|
|
2277
|
+
"e": {
|
|
2278
|
+
"$ref": "#/$defs/Expr"
|
|
2279
|
+
}
|
|
2280
|
+
},
|
|
2281
|
+
"required": [
|
|
2282
|
+
"e"
|
|
2283
|
+
],
|
|
2284
|
+
"additionalProperties": false
|
|
2285
|
+
},
|
|
2286
|
+
"output": {
|
|
2287
|
+
"type": "array",
|
|
2288
|
+
"items": {
|
|
2289
|
+
"type": "string"
|
|
2290
|
+
}
|
|
2291
|
+
},
|
|
2292
|
+
"effects": {
|
|
2293
|
+
"reads": [],
|
|
2294
|
+
"writes": []
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"name": "fifoDefaultLimit",
|
|
2299
|
+
"path": [
|
|
2300
|
+
"algebra",
|
|
2301
|
+
"fifoDefaultLimit"
|
|
2302
|
+
],
|
|
2303
|
+
"description": "This function gives the limit of a pfifo or a bfifo with no limit of its own (`net/sched/sch_fifo.c`, lines 106-112). A pfifo holds `txqueuelen` packets. A bfifo holds `txqueuelen` times the MTU plus the link header, in bytes (`psched_mtu`, `include/net/pkt_sched.h`, lines 131-134). A pfifo drops a packet when it holds its limit. A bfifo drops a packet that puts its bytes above its limit (lines 19-36).",
|
|
2304
|
+
"params": [
|
|
2305
|
+
"kind",
|
|
2306
|
+
"txQueueLen",
|
|
2307
|
+
"mtu",
|
|
2308
|
+
"hardHeaderLen"
|
|
2309
|
+
],
|
|
2310
|
+
"input": {
|
|
2311
|
+
"type": "object",
|
|
2312
|
+
"properties": {
|
|
2313
|
+
"kind": {
|
|
2314
|
+
"enum": [
|
|
2315
|
+
"pfifo",
|
|
2316
|
+
"bfifo"
|
|
2317
|
+
]
|
|
2318
|
+
},
|
|
2319
|
+
"txQueueLen": {
|
|
2320
|
+
"type": "number"
|
|
2321
|
+
},
|
|
2322
|
+
"mtu": {
|
|
2323
|
+
"type": "number"
|
|
2324
|
+
},
|
|
2325
|
+
"hardHeaderLen": {
|
|
2326
|
+
"type": "number"
|
|
2327
|
+
}
|
|
2328
|
+
},
|
|
2329
|
+
"required": [
|
|
2330
|
+
"kind",
|
|
2331
|
+
"txQueueLen",
|
|
2332
|
+
"mtu"
|
|
2333
|
+
],
|
|
2334
|
+
"additionalProperties": false
|
|
2335
|
+
},
|
|
2336
|
+
"output": {
|
|
2337
|
+
"type": "number"
|
|
2338
|
+
},
|
|
2339
|
+
"effects": {
|
|
2340
|
+
"reads": [],
|
|
2341
|
+
"writes": []
|
|
2342
|
+
}
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
"name": "firings",
|
|
2346
|
+
"path": [
|
|
2347
|
+
"algebra",
|
|
2348
|
+
"firings"
|
|
2349
|
+
],
|
|
2350
|
+
"description": "This function gives the firings of a backoff timer on a timeline: the sum of its waits, exactly, from the wait `from`. It stops at the first wait that is not a known amount, or at a stop of the options, or after 4096 firings. Each time is the duration of the waits, without how early or late each can fire.",
|
|
2351
|
+
"params": [
|
|
2352
|
+
"doc",
|
|
2353
|
+
"timer",
|
|
2354
|
+
"values",
|
|
2355
|
+
"options"
|
|
2356
|
+
],
|
|
2357
|
+
"input": {
|
|
2358
|
+
"type": "object",
|
|
2359
|
+
"properties": {
|
|
2360
|
+
"doc": {
|
|
2361
|
+
"$ref": "#/$defs/Machine"
|
|
2362
|
+
},
|
|
2363
|
+
"timer": {
|
|
2364
|
+
"type": "string"
|
|
2365
|
+
},
|
|
2366
|
+
"values": {
|
|
2367
|
+
"type": "object",
|
|
2368
|
+
"description": "One call of a pure procedure, as data, for the function KnobValues. It reads each parameter as {\"$ref\": \"<name>\"}: name.",
|
|
2369
|
+
"required": [
|
|
2370
|
+
"$proc"
|
|
2371
|
+
],
|
|
2372
|
+
"properties": {
|
|
2373
|
+
"$proc": {
|
|
2374
|
+
"type": "array",
|
|
2375
|
+
"items": {
|
|
2376
|
+
"type": "string"
|
|
2377
|
+
},
|
|
2378
|
+
"minItems": 1
|
|
2379
|
+
},
|
|
2380
|
+
"input": {},
|
|
2381
|
+
"$when": {
|
|
2382
|
+
"const": "$never"
|
|
2383
|
+
}
|
|
2384
|
+
},
|
|
2385
|
+
"x-procedures-program": {
|
|
2386
|
+
"params": [
|
|
2387
|
+
"name"
|
|
2388
|
+
],
|
|
2389
|
+
"inputs": [
|
|
2390
|
+
{
|
|
2391
|
+
"type": "string"
|
|
2392
|
+
}
|
|
2393
|
+
],
|
|
2394
|
+
"output": {
|
|
2395
|
+
"anyOf": [
|
|
2396
|
+
{
|
|
2397
|
+
"$ref": "#/$defs/Quantity"
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
"$ref": "#/$defs/Unbounded"
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
"$ref": "#/$defs/Unknown"
|
|
2404
|
+
}
|
|
2405
|
+
]
|
|
2406
|
+
},
|
|
2407
|
+
"undefinedForNull": true
|
|
2408
|
+
}
|
|
2409
|
+
},
|
|
2410
|
+
"options": {
|
|
2411
|
+
"$ref": "#/$defs/ScheduleOptions"
|
|
2412
|
+
}
|
|
2413
|
+
},
|
|
2414
|
+
"required": [
|
|
2415
|
+
"doc",
|
|
2416
|
+
"timer",
|
|
2417
|
+
"values",
|
|
2418
|
+
"options"
|
|
2419
|
+
],
|
|
2420
|
+
"additionalProperties": false
|
|
2421
|
+
},
|
|
2422
|
+
"output": {
|
|
2423
|
+
"type": "array",
|
|
2424
|
+
"items": {
|
|
2425
|
+
"$ref": "#/$defs/Scheduled"
|
|
2426
|
+
}
|
|
2427
|
+
},
|
|
2428
|
+
"effects": {
|
|
2429
|
+
"reads": [],
|
|
2430
|
+
"writes": []
|
|
2431
|
+
}
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
"name": "fromStates",
|
|
2435
|
+
"path": [
|
|
2436
|
+
"algebra",
|
|
2437
|
+
"fromStates"
|
|
2438
|
+
],
|
|
2439
|
+
"description": "This function gives the states that a transition leaves. The state \"*\" is each state that is not final.",
|
|
2440
|
+
"params": [
|
|
2441
|
+
"m",
|
|
2442
|
+
"from"
|
|
2443
|
+
],
|
|
2444
|
+
"input": {
|
|
2445
|
+
"type": "object",
|
|
2446
|
+
"properties": {
|
|
2447
|
+
"m": {
|
|
2448
|
+
"type": "object",
|
|
2449
|
+
"properties": {
|
|
2450
|
+
"states": {
|
|
2451
|
+
"type": "object",
|
|
2452
|
+
"properties": {},
|
|
2453
|
+
"additionalProperties": {
|
|
2454
|
+
"type": "object",
|
|
2455
|
+
"properties": {
|
|
2456
|
+
"initial": {
|
|
2457
|
+
"type": "boolean"
|
|
2458
|
+
},
|
|
2459
|
+
"final": {
|
|
2460
|
+
"type": "boolean"
|
|
2461
|
+
},
|
|
2462
|
+
"pseudo": {
|
|
2463
|
+
"type": "boolean"
|
|
2464
|
+
},
|
|
2465
|
+
"note": {
|
|
2466
|
+
"type": "string"
|
|
2467
|
+
}
|
|
2468
|
+
}
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
},
|
|
2472
|
+
"required": [
|
|
2473
|
+
"states"
|
|
2474
|
+
]
|
|
2475
|
+
},
|
|
2476
|
+
"from": {
|
|
2477
|
+
"anyOf": [
|
|
2478
|
+
{
|
|
2479
|
+
"type": "string"
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"type": "array",
|
|
2483
|
+
"items": {
|
|
2484
|
+
"type": "string"
|
|
2485
|
+
}
|
|
2486
|
+
}
|
|
2487
|
+
]
|
|
2488
|
+
}
|
|
2489
|
+
},
|
|
2490
|
+
"required": [
|
|
2491
|
+
"m",
|
|
2492
|
+
"from"
|
|
2493
|
+
],
|
|
2494
|
+
"additionalProperties": false
|
|
2495
|
+
},
|
|
2496
|
+
"output": {
|
|
2497
|
+
"type": "array",
|
|
2498
|
+
"items": {
|
|
2499
|
+
"type": "string"
|
|
2500
|
+
}
|
|
2501
|
+
},
|
|
2502
|
+
"effects": {
|
|
2503
|
+
"reads": [],
|
|
2504
|
+
"writes": []
|
|
2505
|
+
}
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"name": "gsoQdiscLength",
|
|
2509
|
+
"path": [
|
|
2510
|
+
"algebra",
|
|
2511
|
+
"gsoQdiscLength"
|
|
2512
|
+
],
|
|
2513
|
+
"description": "This function gives the qdisc length of a GSO packet of `length` bytes in `segments` segments. Each segment after the first adds `headers` bytes: the link, network and transport headers of one segment (`net/core/dev.c`, lines 4119-4158).",
|
|
2514
|
+
"params": [
|
|
2515
|
+
"length",
|
|
2516
|
+
"segments",
|
|
2517
|
+
"headers"
|
|
2518
|
+
],
|
|
2519
|
+
"input": {
|
|
2520
|
+
"type": "object",
|
|
2521
|
+
"properties": {
|
|
2522
|
+
"length": {
|
|
2523
|
+
"type": "number"
|
|
2524
|
+
},
|
|
2525
|
+
"segments": {
|
|
2526
|
+
"type": "number"
|
|
2527
|
+
},
|
|
2528
|
+
"headers": {
|
|
2529
|
+
"type": "number"
|
|
2530
|
+
}
|
|
2531
|
+
},
|
|
2532
|
+
"required": [
|
|
2533
|
+
"length",
|
|
2534
|
+
"segments",
|
|
2535
|
+
"headers"
|
|
2536
|
+
],
|
|
2537
|
+
"additionalProperties": false
|
|
2538
|
+
},
|
|
2539
|
+
"output": {
|
|
2540
|
+
"type": "number"
|
|
2541
|
+
},
|
|
2542
|
+
"effects": {
|
|
2543
|
+
"reads": [],
|
|
2544
|
+
"writes": []
|
|
2545
|
+
}
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
"name": "machineProblems",
|
|
2549
|
+
"path": [
|
|
2550
|
+
"algebra",
|
|
2551
|
+
"machineProblems"
|
|
2552
|
+
],
|
|
2553
|
+
"description": "This function gives the problems in the consistency of a document. Each state, event, timer and knob that it refers to must exist, and it must have an initial state. A reader refuses a machine with problems, and does not draw half of it.",
|
|
2554
|
+
"params": [
|
|
2555
|
+
"m"
|
|
2556
|
+
],
|
|
2557
|
+
"input": {
|
|
2558
|
+
"type": "object",
|
|
2559
|
+
"properties": {
|
|
2560
|
+
"m": {
|
|
2561
|
+
"$ref": "#/$defs/Machine"
|
|
2562
|
+
}
|
|
2563
|
+
},
|
|
2564
|
+
"required": [
|
|
2565
|
+
"m"
|
|
2566
|
+
],
|
|
2567
|
+
"additionalProperties": false
|
|
2568
|
+
},
|
|
2569
|
+
"output": {
|
|
2570
|
+
"type": "array",
|
|
2571
|
+
"items": {
|
|
2572
|
+
"type": "string"
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2575
|
+
"effects": {
|
|
2576
|
+
"reads": [],
|
|
2577
|
+
"writes": []
|
|
2578
|
+
}
|
|
2579
|
+
},
|
|
2580
|
+
{
|
|
2581
|
+
"name": "memcgHighDelay",
|
|
2582
|
+
"path": [
|
|
2583
|
+
"algebra",
|
|
2584
|
+
"memcgHighDelay"
|
|
2585
|
+
],
|
|
2586
|
+
"description": "This function gives the delay of a debt of `debt` pages, in jiffies, before the cap and the skip. It is the delay of the largest overage of memory plus the delay of the largest overage of swap. The table in the comment of the source gives this delay (lines 2145-2171): 6 ms at 1% over a high of 100 MiB.",
|
|
2587
|
+
"params": [
|
|
2588
|
+
"memory",
|
|
2589
|
+
"debt",
|
|
2590
|
+
"hz",
|
|
2591
|
+
"swap"
|
|
2592
|
+
],
|
|
2593
|
+
"input": {
|
|
2594
|
+
"type": "object",
|
|
2595
|
+
"properties": {
|
|
2596
|
+
"memory": {
|
|
2597
|
+
"type": "array",
|
|
2598
|
+
"items": {
|
|
2599
|
+
"$ref": "#/$defs/MemcgLevel"
|
|
2600
|
+
}
|
|
2601
|
+
},
|
|
2602
|
+
"debt": {
|
|
2603
|
+
"type": "number"
|
|
2604
|
+
},
|
|
2605
|
+
"hz": {
|
|
2606
|
+
"type": "number"
|
|
2607
|
+
},
|
|
2608
|
+
"swap": {
|
|
2609
|
+
"type": "array",
|
|
2610
|
+
"items": {
|
|
2611
|
+
"$ref": "#/$defs/MemcgLevel"
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2614
|
+
},
|
|
2615
|
+
"required": [
|
|
2616
|
+
"memory",
|
|
2617
|
+
"debt",
|
|
2618
|
+
"hz"
|
|
2619
|
+
],
|
|
2620
|
+
"additionalProperties": false
|
|
2621
|
+
},
|
|
2622
|
+
"output": {
|
|
2623
|
+
"type": "number"
|
|
2624
|
+
},
|
|
2625
|
+
"effects": {
|
|
2626
|
+
"reads": [],
|
|
2627
|
+
"writes": []
|
|
2628
|
+
}
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
"name": "memcgHighSleep",
|
|
2632
|
+
"path": [
|
|
2633
|
+
"algebra",
|
|
2634
|
+
"memcgHighSleep"
|
|
2635
|
+
],
|
|
2636
|
+
"description": "This function gives the jiffies that a task sleeps when it pays a debt of `debt` pages. The sleep is the delay of `memcgHighDelay` with the cap of 2 s. A delay of 10 ms or less gives no sleep. `memory` is the cgroup of the task, then each ancestor below the root. `swap` gives the same for `memory.swap.high`.",
|
|
2637
|
+
"params": [
|
|
2638
|
+
"memory",
|
|
2639
|
+
"debt",
|
|
2640
|
+
"hz",
|
|
2641
|
+
"swap"
|
|
2642
|
+
],
|
|
2643
|
+
"input": {
|
|
2644
|
+
"type": "object",
|
|
2645
|
+
"properties": {
|
|
2646
|
+
"memory": {
|
|
2647
|
+
"type": "array",
|
|
2648
|
+
"items": {
|
|
2649
|
+
"$ref": "#/$defs/MemcgLevel"
|
|
2650
|
+
}
|
|
2651
|
+
},
|
|
2652
|
+
"debt": {
|
|
2653
|
+
"type": "number"
|
|
2654
|
+
},
|
|
2655
|
+
"hz": {
|
|
2656
|
+
"type": "number"
|
|
2657
|
+
},
|
|
2658
|
+
"swap": {
|
|
2659
|
+
"type": "array",
|
|
2660
|
+
"items": {
|
|
2661
|
+
"$ref": "#/$defs/MemcgLevel"
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
},
|
|
2665
|
+
"required": [
|
|
2666
|
+
"memory",
|
|
2667
|
+
"debt",
|
|
2668
|
+
"hz"
|
|
2669
|
+
],
|
|
2670
|
+
"additionalProperties": false
|
|
2671
|
+
},
|
|
2672
|
+
"output": {
|
|
2673
|
+
"type": "number"
|
|
2674
|
+
},
|
|
2675
|
+
"effects": {
|
|
2676
|
+
"reads": [],
|
|
2677
|
+
"writes": []
|
|
2678
|
+
}
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
"name": "memcgSleepBounds",
|
|
2682
|
+
"path": [
|
|
2683
|
+
"algebra",
|
|
2684
|
+
"memcgSleepBounds"
|
|
2685
|
+
],
|
|
2686
|
+
"description": "This function gives two usages above `high` for a debt of `debt` pages. The first is the lowest usage that gives a sleep. The second is the lowest usage whose sleep is the cap of 2 s. The sleep does not go down as the usage goes up, thus a search finds each bound. Take a high of 25,600 pages (100 MiB), HZ 1000 and a debt of 64. The sleep starts at 25,936 pages (1.3% over), and the cap starts at 30,126 (17.7% over).",
|
|
2687
|
+
"params": [
|
|
2688
|
+
"high",
|
|
2689
|
+
"debt",
|
|
2690
|
+
"hz"
|
|
2691
|
+
],
|
|
2692
|
+
"input": {
|
|
2693
|
+
"type": "object",
|
|
2694
|
+
"properties": {
|
|
2695
|
+
"high": {
|
|
2696
|
+
"type": "number"
|
|
2697
|
+
},
|
|
2698
|
+
"debt": {
|
|
2699
|
+
"type": "number"
|
|
2700
|
+
},
|
|
2701
|
+
"hz": {
|
|
2702
|
+
"type": "number"
|
|
2703
|
+
}
|
|
2704
|
+
},
|
|
2705
|
+
"required": [
|
|
2706
|
+
"high",
|
|
2707
|
+
"debt",
|
|
2708
|
+
"hz"
|
|
2709
|
+
],
|
|
2710
|
+
"additionalProperties": false
|
|
2711
|
+
},
|
|
2712
|
+
"output": {
|
|
2713
|
+
"$ref": "#/$defs/MemcgSleepBounds"
|
|
2714
|
+
},
|
|
2715
|
+
"effects": {
|
|
2716
|
+
"reads": [],
|
|
2717
|
+
"writes": []
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"name": "memcgThrottle",
|
|
2722
|
+
"path": [
|
|
2723
|
+
"algebra",
|
|
2724
|
+
"memcgThrottle"
|
|
2725
|
+
],
|
|
2726
|
+
"description": "This function gives the throttle of a task that grows by `charges` charges of `batch` pages each. It starts from the usage of each level in `levels`: the cgroup of the task, then each ancestor below the root. Each charge adds `batch` pages to each level, and the task pays its debt of `batch` pages before the next charge. A task that touches one page at a time charges a batch of 64 at each 64th page.",
|
|
2727
|
+
"params": [
|
|
2728
|
+
"levels",
|
|
2729
|
+
"charges",
|
|
2730
|
+
"hz",
|
|
2731
|
+
"batch"
|
|
2732
|
+
],
|
|
2733
|
+
"input": {
|
|
2734
|
+
"type": "object",
|
|
2735
|
+
"properties": {
|
|
2736
|
+
"levels": {
|
|
2737
|
+
"type": "array",
|
|
2738
|
+
"items": {
|
|
2739
|
+
"$ref": "#/$defs/MemcgLevel"
|
|
2740
|
+
}
|
|
2741
|
+
},
|
|
2742
|
+
"charges": {
|
|
2743
|
+
"type": "number"
|
|
2744
|
+
},
|
|
2745
|
+
"hz": {
|
|
2746
|
+
"type": "number"
|
|
2747
|
+
},
|
|
2748
|
+
"batch": {
|
|
2749
|
+
"type": "number"
|
|
2750
|
+
}
|
|
2751
|
+
},
|
|
2752
|
+
"required": [
|
|
2753
|
+
"levels",
|
|
2754
|
+
"charges",
|
|
2755
|
+
"hz"
|
|
2756
|
+
],
|
|
2757
|
+
"additionalProperties": false
|
|
2758
|
+
},
|
|
2759
|
+
"output": {
|
|
2760
|
+
"$ref": "#/$defs/MemcgThrottle"
|
|
2761
|
+
},
|
|
2762
|
+
"effects": {
|
|
2763
|
+
"reads": [],
|
|
2764
|
+
"writes": []
|
|
2765
|
+
}
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
"name": "modelSource",
|
|
2769
|
+
"path": [
|
|
2770
|
+
"algebra",
|
|
2771
|
+
"modelSource"
|
|
2772
|
+
],
|
|
2773
|
+
"description": "This function gives the source of the formula of a named model, for a reader of a result.",
|
|
2774
|
+
"params": [
|
|
2775
|
+
"name"
|
|
2776
|
+
],
|
|
2777
|
+
"input": {
|
|
2778
|
+
"type": "object",
|
|
2779
|
+
"properties": {
|
|
2780
|
+
"name": {
|
|
2781
|
+
"type": "string"
|
|
2782
|
+
}
|
|
2783
|
+
},
|
|
2784
|
+
"required": [
|
|
2785
|
+
"name"
|
|
2786
|
+
],
|
|
2787
|
+
"additionalProperties": false
|
|
2788
|
+
},
|
|
2789
|
+
"output": {
|
|
2790
|
+
"anyOf": [
|
|
2791
|
+
{
|
|
2792
|
+
"type": "string"
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
"type": "null"
|
|
2796
|
+
}
|
|
2797
|
+
]
|
|
2798
|
+
},
|
|
2799
|
+
"effects": {
|
|
2800
|
+
"reads": [],
|
|
2801
|
+
"writes": []
|
|
2802
|
+
}
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"name": "netemPacketTime",
|
|
2806
|
+
"path": [
|
|
2807
|
+
"algebra",
|
|
2808
|
+
"netemPacketTime"
|
|
2809
|
+
],
|
|
2810
|
+
"description": "This function gives the time that netem gives a packet of `length` bytes at its rate, in nanoseconds (`packet_time_ns`, lines 357-370). It rounds down. A packet of 1,514 bytes at 10 Mbit/s (1,250,000 bytes per second) takes 1,211,200 ns.",
|
|
2811
|
+
"params": [
|
|
2812
|
+
"length",
|
|
2813
|
+
"rate"
|
|
2814
|
+
],
|
|
2815
|
+
"input": {
|
|
2816
|
+
"type": "object",
|
|
2817
|
+
"properties": {
|
|
2818
|
+
"length": {
|
|
2819
|
+
"type": "number"
|
|
2820
|
+
},
|
|
2821
|
+
"rate": {
|
|
2822
|
+
"$ref": "#/$defs/NetemRate"
|
|
2823
|
+
}
|
|
2824
|
+
},
|
|
2825
|
+
"required": [
|
|
2826
|
+
"length",
|
|
2827
|
+
"rate"
|
|
2828
|
+
],
|
|
2829
|
+
"additionalProperties": false
|
|
2830
|
+
},
|
|
2831
|
+
"output": {
|
|
2832
|
+
"type": "number"
|
|
2833
|
+
},
|
|
2834
|
+
"effects": {
|
|
2835
|
+
"reads": [],
|
|
2836
|
+
"writes": []
|
|
2837
|
+
}
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"name": "netemSchedule",
|
|
2841
|
+
"path": [
|
|
2842
|
+
"algebra",
|
|
2843
|
+
"netemSchedule"
|
|
2844
|
+
],
|
|
2845
|
+
"description": "This function gives the outcome of each packet in a netem queue with a rate. A packet that the queue takes leaves at `max(last, at + latency) + time`. `last` is the time to send of the packet before it, and `time` is the time of `netemPacketTime`. The queue holds each packet until it leaves, thus a delay of 100 ms at 1,000 packets per second fills a limit of 100.",
|
|
2846
|
+
"params": [
|
|
2847
|
+
"packets",
|
|
2848
|
+
"queue"
|
|
2849
|
+
],
|
|
2850
|
+
"input": {
|
|
2851
|
+
"type": "object",
|
|
2852
|
+
"properties": {
|
|
2853
|
+
"packets": {
|
|
2854
|
+
"type": "array",
|
|
2855
|
+
"items": {
|
|
2856
|
+
"$ref": "#/$defs/EgressPacket"
|
|
2857
|
+
}
|
|
2858
|
+
},
|
|
2859
|
+
"queue": {
|
|
2860
|
+
"$ref": "#/$defs/NetemQueue"
|
|
2861
|
+
}
|
|
2862
|
+
},
|
|
2863
|
+
"required": [
|
|
2864
|
+
"packets",
|
|
2865
|
+
"queue"
|
|
2866
|
+
],
|
|
2867
|
+
"additionalProperties": false
|
|
2868
|
+
},
|
|
2869
|
+
"output": {
|
|
2870
|
+
"type": "array",
|
|
2871
|
+
"items": {
|
|
2872
|
+
"$ref": "#/$defs/EgressOutcome"
|
|
2873
|
+
}
|
|
2874
|
+
},
|
|
2875
|
+
"effects": {
|
|
2876
|
+
"reads": [],
|
|
2877
|
+
"writes": []
|
|
2878
|
+
}
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
"name": "oomBadness",
|
|
2882
|
+
"path": [
|
|
2883
|
+
"algebra",
|
|
2884
|
+
"oomBadness"
|
|
2885
|
+
],
|
|
2886
|
+
"description": "This function gives the points of a task for the OOM killer. The points are its resident pages, its swap entries and the pages of its page tables. To this sum, the kernel adds `oom_score_adj` times `totalPages / 1000`, in integer arithmetic. A task at −1000 gives undefined, because the OOM killer does not take it.",
|
|
2887
|
+
"params": [
|
|
2888
|
+
"task",
|
|
2889
|
+
"totalPages",
|
|
2890
|
+
"pageSize"
|
|
2891
|
+
],
|
|
2892
|
+
"input": {
|
|
2893
|
+
"type": "object",
|
|
2894
|
+
"properties": {
|
|
2895
|
+
"task": {
|
|
2896
|
+
"$ref": "#/$defs/OomTask"
|
|
2897
|
+
},
|
|
2898
|
+
"totalPages": {
|
|
2899
|
+
"type": "number"
|
|
2900
|
+
},
|
|
2901
|
+
"pageSize": {
|
|
2902
|
+
"type": "number"
|
|
2903
|
+
}
|
|
2904
|
+
},
|
|
2905
|
+
"required": [
|
|
2906
|
+
"task",
|
|
2907
|
+
"totalPages"
|
|
2908
|
+
],
|
|
2909
|
+
"additionalProperties": false
|
|
2910
|
+
},
|
|
2911
|
+
"output": {
|
|
2912
|
+
"anyOf": [
|
|
2913
|
+
{
|
|
2914
|
+
"type": "number"
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
"type": "null"
|
|
2918
|
+
}
|
|
2919
|
+
]
|
|
2920
|
+
},
|
|
2921
|
+
"effects": {
|
|
2922
|
+
"reads": [],
|
|
2923
|
+
"writes": []
|
|
2924
|
+
}
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"name": "oomVictim",
|
|
2928
|
+
"path": [
|
|
2929
|
+
"algebra",
|
|
2930
|
+
"oomVictim"
|
|
2931
|
+
],
|
|
2932
|
+
"description": "This function gives the index of the task that the OOM killer of a cgroup takes: the task with the most points. Of tasks with equal points, the last one in the order of the scan wins (`mm/oom_kill.c`, lines 342-351). A task replaces the choice unless its points are less. It gives undefined when the OOM killer can take no task.",
|
|
2933
|
+
"params": [
|
|
2934
|
+
"tasks",
|
|
2935
|
+
"totalPages",
|
|
2936
|
+
"pageSize"
|
|
2937
|
+
],
|
|
2938
|
+
"input": {
|
|
2939
|
+
"type": "object",
|
|
2940
|
+
"properties": {
|
|
2941
|
+
"tasks": {
|
|
2942
|
+
"type": "array",
|
|
2943
|
+
"items": {
|
|
2944
|
+
"$ref": "#/$defs/OomTask"
|
|
2945
|
+
}
|
|
2946
|
+
},
|
|
2947
|
+
"totalPages": {
|
|
2948
|
+
"type": "number"
|
|
2949
|
+
},
|
|
2950
|
+
"pageSize": {
|
|
2951
|
+
"type": "number"
|
|
2952
|
+
}
|
|
2953
|
+
},
|
|
2954
|
+
"required": [
|
|
2955
|
+
"tasks",
|
|
2956
|
+
"totalPages"
|
|
2957
|
+
],
|
|
2958
|
+
"additionalProperties": false
|
|
2959
|
+
},
|
|
2960
|
+
"output": {
|
|
2961
|
+
"anyOf": [
|
|
2962
|
+
{
|
|
2963
|
+
"type": "number"
|
|
2964
|
+
},
|
|
2965
|
+
{
|
|
2966
|
+
"type": "null"
|
|
2967
|
+
}
|
|
2968
|
+
]
|
|
2969
|
+
},
|
|
2970
|
+
"effects": {
|
|
2971
|
+
"reads": [],
|
|
2972
|
+
"writes": []
|
|
2973
|
+
}
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
"name": "portSearchSpan",
|
|
2977
|
+
"path": [
|
|
2978
|
+
"algebra",
|
|
2979
|
+
"portSearchSpan"
|
|
2980
|
+
],
|
|
2981
|
+
"description": "This function gives the size that the search reads: the size of the range, rounded down to an even number.",
|
|
2982
|
+
"params": [
|
|
2983
|
+
"size"
|
|
2984
|
+
],
|
|
2985
|
+
"input": {
|
|
2986
|
+
"type": "object",
|
|
2987
|
+
"properties": {
|
|
2988
|
+
"size": {
|
|
2989
|
+
"type": "number"
|
|
2990
|
+
}
|
|
2991
|
+
},
|
|
2992
|
+
"required": [
|
|
2993
|
+
"size"
|
|
2994
|
+
],
|
|
2995
|
+
"additionalProperties": false
|
|
2996
|
+
},
|
|
2997
|
+
"output": {
|
|
2998
|
+
"type": "number"
|
|
2999
|
+
},
|
|
3000
|
+
"effects": {
|
|
3001
|
+
"reads": [],
|
|
3002
|
+
"writes": []
|
|
3003
|
+
}
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"name": "probeTrain",
|
|
3007
|
+
"path": [
|
|
3008
|
+
"algebra",
|
|
3009
|
+
"probeTrain"
|
|
3010
|
+
],
|
|
3011
|
+
"description": "This function gives the times of a train of probes, exactly, in seconds. The first probe is at `first`, and each next probe is one `interval` later, `count` probes in all. A first time without an end gives no probe. An interval without an end gives only the first probe. Keepalive at its defaults sends its probes at 7200 s, 7275 s, and so on to 7800 s.",
|
|
3012
|
+
"params": [
|
|
3013
|
+
"first",
|
|
3014
|
+
"interval",
|
|
3015
|
+
"count"
|
|
3016
|
+
],
|
|
3017
|
+
"input": {
|
|
3018
|
+
"type": "object",
|
|
3019
|
+
"properties": {
|
|
3020
|
+
"first": {
|
|
3021
|
+
"$ref": "#/$defs/Extent"
|
|
3022
|
+
},
|
|
3023
|
+
"interval": {
|
|
3024
|
+
"$ref": "#/$defs/Extent"
|
|
3025
|
+
},
|
|
3026
|
+
"count": {
|
|
3027
|
+
"type": "number"
|
|
3028
|
+
}
|
|
3029
|
+
},
|
|
3030
|
+
"required": [
|
|
3031
|
+
"first",
|
|
3032
|
+
"interval",
|
|
3033
|
+
"count"
|
|
3034
|
+
],
|
|
3035
|
+
"additionalProperties": false
|
|
3036
|
+
},
|
|
3037
|
+
"output": {
|
|
3038
|
+
"type": "array",
|
|
3039
|
+
"items": {
|
|
3040
|
+
"$ref": "#/$defs/Quantity"
|
|
3041
|
+
}
|
|
3042
|
+
},
|
|
3043
|
+
"effects": {
|
|
3044
|
+
"reads": [],
|
|
3045
|
+
"writes": []
|
|
3046
|
+
}
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
"name": "pschedFactor",
|
|
3050
|
+
"path": [
|
|
3051
|
+
"algebra",
|
|
3052
|
+
"pschedFactor"
|
|
3053
|
+
],
|
|
3054
|
+
"description": "This function gives the factor of a rate in bytes per second (`psched_ratecfg_precompute__`). The kernel doubles a factor of 10^9 until the quotient by the rate fills 32 bits. At 125,000 bytes per second, `mult` is 4,194,304,000 and `shift` is 19.",
|
|
3055
|
+
"params": [
|
|
3056
|
+
"rate"
|
|
3057
|
+
],
|
|
3058
|
+
"input": {
|
|
3059
|
+
"type": "object",
|
|
3060
|
+
"properties": {
|
|
3061
|
+
"rate": {
|
|
3062
|
+
"type": "number"
|
|
3063
|
+
}
|
|
3064
|
+
},
|
|
3065
|
+
"required": [
|
|
3066
|
+
"rate"
|
|
3067
|
+
],
|
|
3068
|
+
"additionalProperties": false
|
|
3069
|
+
},
|
|
3070
|
+
"output": {
|
|
3071
|
+
"$ref": "#/$defs/PschedFactor"
|
|
3072
|
+
},
|
|
3073
|
+
"effects": {
|
|
3074
|
+
"reads": [],
|
|
3075
|
+
"writes": []
|
|
3076
|
+
}
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
"name": "pschedLengthTime",
|
|
3080
|
+
"path": [
|
|
3081
|
+
"algebra",
|
|
3082
|
+
"pschedLengthTime"
|
|
3083
|
+
],
|
|
3084
|
+
"description": "This function gives the time of `length` bytes at a rate of the packet scheduler, in nanoseconds (`psched_l2t_ns`). The kernel multiplies by its factor and does not divide. Thus a time can be 1 ns short: 1,500 bytes at 3,000,000 bytes per second give 499,999 ns, not 500,000.",
|
|
3085
|
+
"params": [
|
|
3086
|
+
"length",
|
|
3087
|
+
"rate"
|
|
3088
|
+
],
|
|
3089
|
+
"input": {
|
|
3090
|
+
"type": "object",
|
|
3091
|
+
"properties": {
|
|
3092
|
+
"length": {
|
|
3093
|
+
"type": "number"
|
|
3094
|
+
},
|
|
3095
|
+
"rate": {
|
|
3096
|
+
"$ref": "#/$defs/PschedRate"
|
|
3097
|
+
}
|
|
3098
|
+
},
|
|
3099
|
+
"required": [
|
|
3100
|
+
"length",
|
|
3101
|
+
"rate"
|
|
3102
|
+
],
|
|
3103
|
+
"additionalProperties": false
|
|
3104
|
+
},
|
|
3105
|
+
"output": {
|
|
3106
|
+
"type": "number"
|
|
3107
|
+
},
|
|
3108
|
+
"effects": {
|
|
3109
|
+
"reads": [],
|
|
3110
|
+
"writes": []
|
|
3111
|
+
}
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
"name": "readsFired",
|
|
3115
|
+
"path": [
|
|
3116
|
+
"algebra",
|
|
3117
|
+
"readsFired"
|
|
3118
|
+
],
|
|
3119
|
+
"description": "This function tells if a duration reads the number of times that its timer fired, as the waits of a backoff do.",
|
|
3120
|
+
"params": [
|
|
3121
|
+
"e"
|
|
3122
|
+
],
|
|
3123
|
+
"input": {
|
|
3124
|
+
"type": "object",
|
|
3125
|
+
"properties": {
|
|
3126
|
+
"e": {
|
|
3127
|
+
"$ref": "#/$defs/Expr"
|
|
3128
|
+
}
|
|
3129
|
+
},
|
|
3130
|
+
"required": [
|
|
3131
|
+
"e"
|
|
3132
|
+
],
|
|
3133
|
+
"additionalProperties": false
|
|
3134
|
+
},
|
|
3135
|
+
"output": {
|
|
3136
|
+
"type": "boolean"
|
|
3137
|
+
},
|
|
3138
|
+
"effects": {
|
|
3139
|
+
"reads": [],
|
|
3140
|
+
"writes": []
|
|
3141
|
+
}
|
|
3142
|
+
},
|
|
3143
|
+
{
|
|
3144
|
+
"name": "realizationKnobs",
|
|
3145
|
+
"path": [
|
|
3146
|
+
"algebra",
|
|
3147
|
+
"realizationKnobs"
|
|
3148
|
+
],
|
|
3149
|
+
"description": "This function gives the knobs that a realization reads, by the names of the machine for them.",
|
|
3150
|
+
"params": [
|
|
3151
|
+
"doc",
|
|
3152
|
+
"mechanism"
|
|
3153
|
+
],
|
|
3154
|
+
"input": {
|
|
3155
|
+
"type": "object",
|
|
3156
|
+
"properties": {
|
|
3157
|
+
"doc": {
|
|
3158
|
+
"$ref": "#/$defs/Machine"
|
|
3159
|
+
},
|
|
3160
|
+
"mechanism": {
|
|
3161
|
+
"type": "string"
|
|
3162
|
+
}
|
|
3163
|
+
},
|
|
3164
|
+
"required": [
|
|
3165
|
+
"doc",
|
|
3166
|
+
"mechanism"
|
|
3167
|
+
],
|
|
3168
|
+
"additionalProperties": false
|
|
3169
|
+
},
|
|
3170
|
+
"output": {
|
|
3171
|
+
"type": "array",
|
|
3172
|
+
"items": {
|
|
3173
|
+
"type": "string"
|
|
3174
|
+
}
|
|
3175
|
+
},
|
|
3176
|
+
"effects": {
|
|
3177
|
+
"reads": [],
|
|
3178
|
+
"writes": []
|
|
3179
|
+
}
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"name": "realizationOf",
|
|
3183
|
+
"path": [
|
|
3184
|
+
"algebra",
|
|
3185
|
+
"realizationOf"
|
|
3186
|
+
],
|
|
3187
|
+
"description": "This function gives how long a mechanism takes where a machine operates, from the realization of its document. The realization is one of its timers, whole, or its own duration, lateness and early bound over the knobs of the machine. It gives undefined when the document does not realize the mechanism.",
|
|
3188
|
+
"params": [
|
|
3189
|
+
"doc",
|
|
3190
|
+
"mechanism",
|
|
3191
|
+
"values"
|
|
3192
|
+
],
|
|
3193
|
+
"input": {
|
|
3194
|
+
"type": "object",
|
|
3195
|
+
"properties": {
|
|
3196
|
+
"doc": {
|
|
3197
|
+
"$ref": "#/$defs/Machine"
|
|
3198
|
+
},
|
|
3199
|
+
"mechanism": {
|
|
3200
|
+
"type": "string"
|
|
3201
|
+
},
|
|
3202
|
+
"values": {
|
|
3203
|
+
"type": "object",
|
|
3204
|
+
"description": "One call of a pure procedure, as data, for the function KnobValues. It reads each parameter as {\"$ref\": \"<name>\"}: name.",
|
|
3205
|
+
"required": [
|
|
3206
|
+
"$proc"
|
|
3207
|
+
],
|
|
3208
|
+
"properties": {
|
|
3209
|
+
"$proc": {
|
|
3210
|
+
"type": "array",
|
|
3211
|
+
"items": {
|
|
3212
|
+
"type": "string"
|
|
3213
|
+
},
|
|
3214
|
+
"minItems": 1
|
|
3215
|
+
},
|
|
3216
|
+
"input": {},
|
|
3217
|
+
"$when": {
|
|
3218
|
+
"const": "$never"
|
|
3219
|
+
}
|
|
3220
|
+
},
|
|
3221
|
+
"x-procedures-program": {
|
|
3222
|
+
"params": [
|
|
3223
|
+
"name"
|
|
3224
|
+
],
|
|
3225
|
+
"inputs": [
|
|
3226
|
+
{
|
|
3227
|
+
"type": "string"
|
|
3228
|
+
}
|
|
3229
|
+
],
|
|
3230
|
+
"output": {
|
|
3231
|
+
"anyOf": [
|
|
3232
|
+
{
|
|
3233
|
+
"$ref": "#/$defs/Quantity"
|
|
3234
|
+
},
|
|
3235
|
+
{
|
|
3236
|
+
"$ref": "#/$defs/Unbounded"
|
|
3237
|
+
},
|
|
3238
|
+
{
|
|
3239
|
+
"$ref": "#/$defs/Unknown"
|
|
3240
|
+
}
|
|
3241
|
+
]
|
|
3242
|
+
},
|
|
3243
|
+
"undefinedForNull": true
|
|
3244
|
+
}
|
|
3245
|
+
}
|
|
3246
|
+
},
|
|
3247
|
+
"required": [
|
|
3248
|
+
"doc",
|
|
3249
|
+
"mechanism",
|
|
3250
|
+
"values"
|
|
3251
|
+
],
|
|
3252
|
+
"additionalProperties": false
|
|
3253
|
+
},
|
|
3254
|
+
"output": {
|
|
3255
|
+
"anyOf": [
|
|
3256
|
+
{
|
|
3257
|
+
"$ref": "#/$defs/TimerBounds"
|
|
3258
|
+
},
|
|
3259
|
+
{
|
|
3260
|
+
"type": "null"
|
|
3261
|
+
}
|
|
3262
|
+
]
|
|
3263
|
+
},
|
|
3264
|
+
"effects": {
|
|
3265
|
+
"reads": [],
|
|
3266
|
+
"writes": []
|
|
3267
|
+
}
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
"name": "recovery",
|
|
3271
|
+
"path": [
|
|
3272
|
+
"algebra",
|
|
3273
|
+
"recovery"
|
|
3274
|
+
],
|
|
3275
|
+
"description": "This function gives the recovery from a stall. A backoff timer continues to fire through a stall, and what each firing sends gets through only after the stall ends. Thus the connection moves again at the first firing at the end or after it. That firing can be most of a wait after the end. A stall that stops immediately after one firing costs almost all of the next, longer wait.",
|
|
3276
|
+
"params": [
|
|
3277
|
+
"doc",
|
|
3278
|
+
"timer",
|
|
3279
|
+
"values",
|
|
3280
|
+
"stall"
|
|
3281
|
+
],
|
|
3282
|
+
"input": {
|
|
3283
|
+
"type": "object",
|
|
3284
|
+
"properties": {
|
|
3285
|
+
"doc": {
|
|
3286
|
+
"$ref": "#/$defs/Machine"
|
|
3287
|
+
},
|
|
3288
|
+
"timer": {
|
|
3289
|
+
"type": "string"
|
|
3290
|
+
},
|
|
3291
|
+
"values": {
|
|
3292
|
+
"type": "object",
|
|
3293
|
+
"description": "One call of a pure procedure, as data, for the function KnobValues. It reads each parameter as {\"$ref\": \"<name>\"}: name.",
|
|
3294
|
+
"required": [
|
|
3295
|
+
"$proc"
|
|
3296
|
+
],
|
|
3297
|
+
"properties": {
|
|
3298
|
+
"$proc": {
|
|
3299
|
+
"type": "array",
|
|
3300
|
+
"items": {
|
|
3301
|
+
"type": "string"
|
|
3302
|
+
},
|
|
3303
|
+
"minItems": 1
|
|
3304
|
+
},
|
|
3305
|
+
"input": {},
|
|
3306
|
+
"$when": {
|
|
3307
|
+
"const": "$never"
|
|
3308
|
+
}
|
|
3309
|
+
},
|
|
3310
|
+
"x-procedures-program": {
|
|
3311
|
+
"params": [
|
|
3312
|
+
"name"
|
|
3313
|
+
],
|
|
3314
|
+
"inputs": [
|
|
3315
|
+
{
|
|
3316
|
+
"type": "string"
|
|
3317
|
+
}
|
|
3318
|
+
],
|
|
3319
|
+
"output": {
|
|
3320
|
+
"anyOf": [
|
|
3321
|
+
{
|
|
3322
|
+
"$ref": "#/$defs/Quantity"
|
|
3323
|
+
},
|
|
3324
|
+
{
|
|
3325
|
+
"$ref": "#/$defs/Unbounded"
|
|
3326
|
+
},
|
|
3327
|
+
{
|
|
3328
|
+
"$ref": "#/$defs/Unknown"
|
|
3329
|
+
}
|
|
3330
|
+
]
|
|
3331
|
+
},
|
|
3332
|
+
"undefinedForNull": true
|
|
3333
|
+
}
|
|
3334
|
+
},
|
|
3335
|
+
"stall": {
|
|
3336
|
+
"$ref": "#/$defs/Extent"
|
|
3337
|
+
}
|
|
3338
|
+
},
|
|
3339
|
+
"required": [
|
|
3340
|
+
"doc",
|
|
3341
|
+
"timer",
|
|
3342
|
+
"values",
|
|
3343
|
+
"stall"
|
|
3344
|
+
],
|
|
3345
|
+
"additionalProperties": false
|
|
3346
|
+
},
|
|
3347
|
+
"output": {
|
|
3348
|
+
"anyOf": [
|
|
3349
|
+
{
|
|
3350
|
+
"$ref": "#/$defs/Unknown"
|
|
3351
|
+
},
|
|
3352
|
+
{
|
|
3353
|
+
"$ref": "#/$defs/Recovery"
|
|
3354
|
+
}
|
|
3355
|
+
]
|
|
3356
|
+
},
|
|
3357
|
+
"effects": {
|
|
3358
|
+
"reads": [],
|
|
3359
|
+
"writes": []
|
|
3360
|
+
}
|
|
3361
|
+
},
|
|
3362
|
+
{
|
|
3363
|
+
"name": "replay",
|
|
3364
|
+
"path": [
|
|
3365
|
+
"algebra",
|
|
3366
|
+
"replay"
|
|
3367
|
+
],
|
|
3368
|
+
"description": "This function replays a trace against a machine document, and it gives each disagreement: - Each instance starts in the state that its first transition leaves. - Each transition must leave the state where the replay of its instance is, and that state must be in the document. - The document must have a transition from that state, on that event, to that state. The state \"*\" is each state that is not final.",
|
|
3369
|
+
"params": [
|
|
3370
|
+
"doc",
|
|
3371
|
+
"transitions",
|
|
3372
|
+
"options"
|
|
3373
|
+
],
|
|
3374
|
+
"input": {
|
|
3375
|
+
"type": "object",
|
|
3376
|
+
"properties": {
|
|
3377
|
+
"doc": {
|
|
3378
|
+
"$ref": "#/$defs/Replayable"
|
|
3379
|
+
},
|
|
3380
|
+
"transitions": {
|
|
3381
|
+
"type": "array",
|
|
3382
|
+
"items": {
|
|
3383
|
+
"$ref": "#/$defs/Transition"
|
|
3384
|
+
}
|
|
3385
|
+
},
|
|
3386
|
+
"options": {
|
|
3387
|
+
"$ref": "#/$defs/ReplayOptions"
|
|
3388
|
+
}
|
|
3389
|
+
},
|
|
3390
|
+
"required": [
|
|
3391
|
+
"doc",
|
|
3392
|
+
"transitions"
|
|
3393
|
+
],
|
|
3394
|
+
"additionalProperties": false
|
|
3395
|
+
},
|
|
3396
|
+
"output": {
|
|
3397
|
+
"type": "array",
|
|
3398
|
+
"items": {
|
|
3399
|
+
"type": "string"
|
|
3400
|
+
}
|
|
3401
|
+
},
|
|
3402
|
+
"effects": {
|
|
3403
|
+
"reads": [],
|
|
3404
|
+
"writes": []
|
|
3405
|
+
}
|
|
3406
|
+
},
|
|
3407
|
+
{
|
|
3408
|
+
"name": "stackedDetection",
|
|
3409
|
+
"path": [
|
|
3410
|
+
"algebra",
|
|
3411
|
+
"stackedDetection"
|
|
3412
|
+
],
|
|
3413
|
+
"description": "This function gives the detection through the machine that a machine operates on. The detectors of the lower machine are live in the state below the state of this machine. They use the knobs that this machine sets.",
|
|
3414
|
+
"params": [
|
|
3415
|
+
"upper",
|
|
3416
|
+
"lower",
|
|
3417
|
+
"situation",
|
|
3418
|
+
"manifestation",
|
|
3419
|
+
"upperValues",
|
|
3420
|
+
"lowerValues"
|
|
3421
|
+
],
|
|
3422
|
+
"input": {
|
|
3423
|
+
"type": "object",
|
|
3424
|
+
"properties": {
|
|
3425
|
+
"upper": {
|
|
3426
|
+
"$ref": "#/$defs/Machine"
|
|
3427
|
+
},
|
|
3428
|
+
"lower": {
|
|
3429
|
+
"$ref": "#/$defs/Machine"
|
|
3430
|
+
},
|
|
3431
|
+
"situation": {
|
|
3432
|
+
"$ref": "#/$defs/Situation"
|
|
3433
|
+
},
|
|
3434
|
+
"manifestation": {
|
|
3435
|
+
"$ref": "#/$defs/Manifestation"
|
|
3436
|
+
},
|
|
3437
|
+
"upperValues": {
|
|
3438
|
+
"type": "object",
|
|
3439
|
+
"description": "One call of a pure procedure, as data, for the function KnobValues. It reads each parameter as {\"$ref\": \"<name>\"}: name.",
|
|
3440
|
+
"required": [
|
|
3441
|
+
"$proc"
|
|
3442
|
+
],
|
|
3443
|
+
"properties": {
|
|
3444
|
+
"$proc": {
|
|
3445
|
+
"type": "array",
|
|
3446
|
+
"items": {
|
|
3447
|
+
"type": "string"
|
|
3448
|
+
},
|
|
3449
|
+
"minItems": 1
|
|
3450
|
+
},
|
|
3451
|
+
"input": {},
|
|
3452
|
+
"$when": {
|
|
3453
|
+
"const": "$never"
|
|
3454
|
+
}
|
|
3455
|
+
},
|
|
3456
|
+
"x-procedures-program": {
|
|
3457
|
+
"params": [
|
|
3458
|
+
"name"
|
|
3459
|
+
],
|
|
3460
|
+
"inputs": [
|
|
3461
|
+
{
|
|
3462
|
+
"type": "string"
|
|
3463
|
+
}
|
|
3464
|
+
],
|
|
3465
|
+
"output": {
|
|
3466
|
+
"anyOf": [
|
|
3467
|
+
{
|
|
3468
|
+
"$ref": "#/$defs/Quantity"
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
"$ref": "#/$defs/Unbounded"
|
|
3472
|
+
},
|
|
3473
|
+
{
|
|
3474
|
+
"$ref": "#/$defs/Unknown"
|
|
3475
|
+
}
|
|
3476
|
+
]
|
|
3477
|
+
},
|
|
3478
|
+
"undefinedForNull": true
|
|
3479
|
+
}
|
|
3480
|
+
},
|
|
3481
|
+
"lowerValues": {
|
|
3482
|
+
"type": "object",
|
|
3483
|
+
"description": "One call of a pure procedure, as data, for the function KnobValues. It reads each parameter as {\"$ref\": \"<name>\"}: name.",
|
|
3484
|
+
"required": [
|
|
3485
|
+
"$proc"
|
|
3486
|
+
],
|
|
3487
|
+
"properties": {
|
|
3488
|
+
"$proc": {
|
|
3489
|
+
"type": "array",
|
|
3490
|
+
"items": {
|
|
3491
|
+
"type": "string"
|
|
3492
|
+
},
|
|
3493
|
+
"minItems": 1
|
|
3494
|
+
},
|
|
3495
|
+
"input": {},
|
|
3496
|
+
"$when": {
|
|
3497
|
+
"const": "$never"
|
|
3498
|
+
}
|
|
3499
|
+
},
|
|
3500
|
+
"x-procedures-program": {
|
|
3501
|
+
"params": [
|
|
3502
|
+
"name"
|
|
3503
|
+
],
|
|
3504
|
+
"inputs": [
|
|
3505
|
+
{
|
|
3506
|
+
"type": "string"
|
|
3507
|
+
}
|
|
3508
|
+
],
|
|
3509
|
+
"output": {
|
|
3510
|
+
"anyOf": [
|
|
3511
|
+
{
|
|
3512
|
+
"$ref": "#/$defs/Quantity"
|
|
3513
|
+
},
|
|
3514
|
+
{
|
|
3515
|
+
"$ref": "#/$defs/Unbounded"
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
"$ref": "#/$defs/Unknown"
|
|
3519
|
+
}
|
|
3520
|
+
]
|
|
3521
|
+
},
|
|
3522
|
+
"undefinedForNull": true
|
|
3523
|
+
}
|
|
3524
|
+
}
|
|
3525
|
+
},
|
|
3526
|
+
"required": [
|
|
3527
|
+
"upper",
|
|
3528
|
+
"lower",
|
|
3529
|
+
"situation",
|
|
3530
|
+
"manifestation",
|
|
3531
|
+
"upperValues",
|
|
3532
|
+
"lowerValues"
|
|
3533
|
+
],
|
|
3534
|
+
"additionalProperties": false
|
|
3535
|
+
},
|
|
3536
|
+
"output": {
|
|
3537
|
+
"$ref": "#/$defs/Detection"
|
|
3538
|
+
},
|
|
3539
|
+
"effects": {
|
|
3540
|
+
"reads": [],
|
|
3541
|
+
"writes": []
|
|
3542
|
+
}
|
|
3543
|
+
},
|
|
3544
|
+
{
|
|
3545
|
+
"name": "synGiveUpSends",
|
|
3546
|
+
"path": [
|
|
3547
|
+
"algebra",
|
|
3548
|
+
"synGiveUpSends"
|
|
3549
|
+
],
|
|
3550
|
+
"description": "This function gives the SYNs that a connect sends before it gives up: the first SYN and each retransmission (`synGiveUpWaits`). A connect whose SYN does not leave adds each of them to the field `drop` of conntrack, and each retransmission to `TCPRetransFail`.",
|
|
3551
|
+
"params": [
|
|
3552
|
+
"retries",
|
|
3553
|
+
"linear"
|
|
3554
|
+
],
|
|
3555
|
+
"input": {
|
|
3556
|
+
"type": "object",
|
|
3557
|
+
"properties": {
|
|
3558
|
+
"retries": {
|
|
3559
|
+
"type": "number"
|
|
3560
|
+
},
|
|
3561
|
+
"linear": {
|
|
3562
|
+
"type": "number"
|
|
3563
|
+
}
|
|
3564
|
+
},
|
|
3565
|
+
"required": [
|
|
3566
|
+
"retries",
|
|
3567
|
+
"linear"
|
|
3568
|
+
],
|
|
3569
|
+
"additionalProperties": false
|
|
3570
|
+
},
|
|
3571
|
+
"output": {
|
|
3572
|
+
"type": "number"
|
|
3573
|
+
},
|
|
3574
|
+
"effects": {
|
|
3575
|
+
"reads": [],
|
|
3576
|
+
"writes": []
|
|
3577
|
+
}
|
|
3578
|
+
},
|
|
3579
|
+
{
|
|
3580
|
+
"name": "tbfBuckets",
|
|
3581
|
+
"path": [
|
|
3582
|
+
"algebra",
|
|
3583
|
+
"tbfBuckets"
|
|
3584
|
+
],
|
|
3585
|
+
"description": "This function gives the depths of the buckets of a tbf qdisc and its largest packet.",
|
|
3586
|
+
"params": [
|
|
3587
|
+
"queue"
|
|
3588
|
+
],
|
|
3589
|
+
"input": {
|
|
3590
|
+
"type": "object",
|
|
3591
|
+
"properties": {
|
|
3592
|
+
"queue": {
|
|
3593
|
+
"$ref": "#/$defs/TbfQueue"
|
|
3594
|
+
}
|
|
3595
|
+
},
|
|
3596
|
+
"required": [
|
|
3597
|
+
"queue"
|
|
3598
|
+
],
|
|
3599
|
+
"additionalProperties": false
|
|
3600
|
+
},
|
|
3601
|
+
"output": {
|
|
3602
|
+
"$ref": "#/$defs/TbfBuckets"
|
|
3603
|
+
},
|
|
3604
|
+
"effects": {
|
|
3605
|
+
"reads": [],
|
|
3606
|
+
"writes": []
|
|
3607
|
+
}
|
|
3608
|
+
},
|
|
3609
|
+
{
|
|
3610
|
+
"name": "tbfSchedule",
|
|
3611
|
+
"path": [
|
|
3612
|
+
"algebra",
|
|
3613
|
+
"tbfSchedule"
|
|
3614
|
+
],
|
|
3615
|
+
"description": "This function gives the outcome of each packet in a tbf qdisc. The buckets are full at the first arrival. A packet leaves at the first time after its arrival and after the packet before it, when the tokens of each bucket cover its time. After it leaves, each bucket loses its time. A bucket gains one token for each nanosecond, up to its depth.",
|
|
3616
|
+
"params": [
|
|
3617
|
+
"packets",
|
|
3618
|
+
"queue"
|
|
3619
|
+
],
|
|
3620
|
+
"input": {
|
|
3621
|
+
"type": "object",
|
|
3622
|
+
"properties": {
|
|
3623
|
+
"packets": {
|
|
3624
|
+
"type": "array",
|
|
3625
|
+
"items": {
|
|
3626
|
+
"$ref": "#/$defs/EgressPacket"
|
|
3627
|
+
}
|
|
3628
|
+
},
|
|
3629
|
+
"queue": {
|
|
3630
|
+
"$ref": "#/$defs/TbfQueue"
|
|
3631
|
+
}
|
|
3632
|
+
},
|
|
3633
|
+
"required": [
|
|
3634
|
+
"packets",
|
|
3635
|
+
"queue"
|
|
3636
|
+
],
|
|
3637
|
+
"additionalProperties": false
|
|
3638
|
+
},
|
|
3639
|
+
"output": {
|
|
3640
|
+
"type": "array",
|
|
3641
|
+
"items": {
|
|
3642
|
+
"$ref": "#/$defs/EgressOutcome"
|
|
3643
|
+
}
|
|
3644
|
+
},
|
|
3645
|
+
"effects": {
|
|
3646
|
+
"reads": [],
|
|
3647
|
+
"writes": []
|
|
3648
|
+
}
|
|
3649
|
+
},
|
|
3650
|
+
{
|
|
3651
|
+
"name": "timerBand",
|
|
3652
|
+
"path": [
|
|
3653
|
+
"algebra",
|
|
3654
|
+
"timerBand"
|
|
3655
|
+
],
|
|
3656
|
+
"description": "This function gives the band of a timer from its bounds, exactly, in `unit`. The band goes from its duration less its early bound to its duration plus its lateness. A bound that the document does not give is zero. A duration without an end gives a band without an end. A keepalive of 11 s, 4 ms early and 352 ms late, gives 10.996 s to 11.352 s.",
|
|
3657
|
+
"params": [
|
|
3658
|
+
"bounds",
|
|
3659
|
+
"unit"
|
|
3660
|
+
],
|
|
3661
|
+
"input": {
|
|
3662
|
+
"type": "object",
|
|
3663
|
+
"properties": {
|
|
3664
|
+
"bounds": {
|
|
3665
|
+
"$ref": "#/$defs/TimerBounds"
|
|
3666
|
+
},
|
|
3667
|
+
"unit": {
|
|
3668
|
+
"type": "string"
|
|
3669
|
+
}
|
|
3670
|
+
},
|
|
3671
|
+
"required": [
|
|
3672
|
+
"bounds"
|
|
3673
|
+
],
|
|
3674
|
+
"additionalProperties": false
|
|
3675
|
+
},
|
|
3676
|
+
"output": {
|
|
3677
|
+
"anyOf": [
|
|
3678
|
+
{
|
|
3679
|
+
"$ref": "#/$defs/Unknown"
|
|
3680
|
+
},
|
|
3681
|
+
{
|
|
3682
|
+
"$ref": "#/$defs/Band"
|
|
3683
|
+
}
|
|
3684
|
+
]
|
|
3685
|
+
},
|
|
3686
|
+
"effects": {
|
|
3687
|
+
"reads": [],
|
|
3688
|
+
"writes": []
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
{
|
|
3692
|
+
"name": "timerOf",
|
|
3693
|
+
"path": [
|
|
3694
|
+
"algebra",
|
|
3695
|
+
"timerOf"
|
|
3696
|
+
],
|
|
3697
|
+
"description": "This function gives the bounds of a timer of a machine: how long it operates, how late it can fire, how early. For a backoff timer, it gives one of its waits: the wait after `fired` firings.",
|
|
3698
|
+
"params": [
|
|
3699
|
+
"doc",
|
|
3700
|
+
"timer",
|
|
3701
|
+
"values",
|
|
3702
|
+
"fired"
|
|
3703
|
+
],
|
|
3704
|
+
"input": {
|
|
3705
|
+
"type": "object",
|
|
3706
|
+
"properties": {
|
|
3707
|
+
"doc": {
|
|
3708
|
+
"$ref": "#/$defs/Machine"
|
|
3709
|
+
},
|
|
3710
|
+
"timer": {
|
|
3711
|
+
"type": "string"
|
|
3712
|
+
},
|
|
3713
|
+
"values": {
|
|
3714
|
+
"type": "object",
|
|
3715
|
+
"description": "One call of a pure procedure, as data, for the function KnobValues. It reads each parameter as {\"$ref\": \"<name>\"}: name.",
|
|
3716
|
+
"required": [
|
|
3717
|
+
"$proc"
|
|
3718
|
+
],
|
|
3719
|
+
"properties": {
|
|
3720
|
+
"$proc": {
|
|
3721
|
+
"type": "array",
|
|
3722
|
+
"items": {
|
|
3723
|
+
"type": "string"
|
|
3724
|
+
},
|
|
3725
|
+
"minItems": 1
|
|
3726
|
+
},
|
|
3727
|
+
"input": {},
|
|
3728
|
+
"$when": {
|
|
3729
|
+
"const": "$never"
|
|
3730
|
+
}
|
|
3731
|
+
},
|
|
3732
|
+
"x-procedures-program": {
|
|
3733
|
+
"params": [
|
|
3734
|
+
"name"
|
|
3735
|
+
],
|
|
3736
|
+
"inputs": [
|
|
3737
|
+
{
|
|
3738
|
+
"type": "string"
|
|
3739
|
+
}
|
|
3740
|
+
],
|
|
3741
|
+
"output": {
|
|
3742
|
+
"anyOf": [
|
|
3743
|
+
{
|
|
3744
|
+
"$ref": "#/$defs/Quantity"
|
|
3745
|
+
},
|
|
3746
|
+
{
|
|
3747
|
+
"$ref": "#/$defs/Unbounded"
|
|
3748
|
+
},
|
|
3749
|
+
{
|
|
3750
|
+
"$ref": "#/$defs/Unknown"
|
|
3751
|
+
}
|
|
3752
|
+
]
|
|
3753
|
+
},
|
|
3754
|
+
"undefinedForNull": true
|
|
3755
|
+
}
|
|
3756
|
+
},
|
|
3757
|
+
"fired": {
|
|
3758
|
+
"type": "number"
|
|
3759
|
+
}
|
|
3760
|
+
},
|
|
3761
|
+
"required": [
|
|
3762
|
+
"doc",
|
|
3763
|
+
"timer",
|
|
3764
|
+
"values"
|
|
3765
|
+
],
|
|
3766
|
+
"additionalProperties": false
|
|
3767
|
+
},
|
|
3768
|
+
"output": {
|
|
3769
|
+
"$ref": "#/$defs/TimerBounds"
|
|
3770
|
+
},
|
|
3771
|
+
"effects": {
|
|
3772
|
+
"reads": [],
|
|
3773
|
+
"writes": []
|
|
3774
|
+
}
|
|
3775
|
+
},
|
|
3776
|
+
{
|
|
3777
|
+
"name": "timerUnder",
|
|
3778
|
+
"path": [
|
|
3779
|
+
"algebra",
|
|
3780
|
+
"timerUnder"
|
|
3781
|
+
],
|
|
3782
|
+
"description": "This function gives the bounds of a timer of a machine under a failure: its own bounds, with each duration that the manifestation replaces.",
|
|
3783
|
+
"params": [
|
|
3784
|
+
"doc",
|
|
3785
|
+
"timer",
|
|
3786
|
+
"values",
|
|
3787
|
+
"manifestation",
|
|
3788
|
+
"fired"
|
|
3789
|
+
],
|
|
3790
|
+
"input": {
|
|
3791
|
+
"type": "object",
|
|
3792
|
+
"properties": {
|
|
3793
|
+
"doc": {
|
|
3794
|
+
"$ref": "#/$defs/Machine"
|
|
3795
|
+
},
|
|
3796
|
+
"timer": {
|
|
3797
|
+
"type": "string"
|
|
3798
|
+
},
|
|
3799
|
+
"values": {
|
|
3800
|
+
"type": "object",
|
|
3801
|
+
"description": "One call of a pure procedure, as data, for the function KnobValues. It reads each parameter as {\"$ref\": \"<name>\"}: name.",
|
|
3802
|
+
"required": [
|
|
3803
|
+
"$proc"
|
|
3804
|
+
],
|
|
3805
|
+
"properties": {
|
|
3806
|
+
"$proc": {
|
|
3807
|
+
"type": "array",
|
|
3808
|
+
"items": {
|
|
3809
|
+
"type": "string"
|
|
3810
|
+
},
|
|
3811
|
+
"minItems": 1
|
|
3812
|
+
},
|
|
3813
|
+
"input": {},
|
|
3814
|
+
"$when": {
|
|
3815
|
+
"const": "$never"
|
|
3816
|
+
}
|
|
3817
|
+
},
|
|
3818
|
+
"x-procedures-program": {
|
|
3819
|
+
"params": [
|
|
3820
|
+
"name"
|
|
3821
|
+
],
|
|
3822
|
+
"inputs": [
|
|
3823
|
+
{
|
|
3824
|
+
"type": "string"
|
|
3825
|
+
}
|
|
3826
|
+
],
|
|
3827
|
+
"output": {
|
|
3828
|
+
"anyOf": [
|
|
3829
|
+
{
|
|
3830
|
+
"$ref": "#/$defs/Quantity"
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
"$ref": "#/$defs/Unbounded"
|
|
3834
|
+
},
|
|
3835
|
+
{
|
|
3836
|
+
"$ref": "#/$defs/Unknown"
|
|
3837
|
+
}
|
|
3838
|
+
]
|
|
3839
|
+
},
|
|
3840
|
+
"undefinedForNull": true
|
|
3841
|
+
}
|
|
3842
|
+
},
|
|
3843
|
+
"manifestation": {
|
|
3844
|
+
"$ref": "#/$defs/Manifestation"
|
|
3845
|
+
},
|
|
3846
|
+
"fired": {
|
|
3847
|
+
"type": "number"
|
|
3848
|
+
}
|
|
3849
|
+
},
|
|
3850
|
+
"required": [
|
|
3851
|
+
"doc",
|
|
3852
|
+
"timer",
|
|
3853
|
+
"values",
|
|
3854
|
+
"manifestation"
|
|
3855
|
+
],
|
|
3856
|
+
"additionalProperties": false
|
|
3857
|
+
},
|
|
3858
|
+
"output": {
|
|
3859
|
+
"$ref": "#/$defs/TimerBounds"
|
|
3860
|
+
},
|
|
3861
|
+
"effects": {
|
|
3862
|
+
"reads": [],
|
|
3863
|
+
"writes": []
|
|
3864
|
+
}
|
|
3865
|
+
},
|
|
3866
|
+
{
|
|
3867
|
+
"name": "transitionOn",
|
|
3868
|
+
"path": [
|
|
3869
|
+
"algebra",
|
|
3870
|
+
"transitionOn"
|
|
3871
|
+
],
|
|
3872
|
+
"description": "This function gives the transition that a machine takes from a state on an event, by its document.",
|
|
3873
|
+
"params": [
|
|
3874
|
+
"doc",
|
|
3875
|
+
"state",
|
|
3876
|
+
"event"
|
|
3877
|
+
],
|
|
3878
|
+
"input": {
|
|
3879
|
+
"type": "object",
|
|
3880
|
+
"properties": {
|
|
3881
|
+
"doc": {
|
|
3882
|
+
"$ref": "#/$defs/Machine"
|
|
3883
|
+
},
|
|
3884
|
+
"state": {
|
|
3885
|
+
"type": "string"
|
|
3886
|
+
},
|
|
3887
|
+
"event": {
|
|
3888
|
+
"type": "string"
|
|
3889
|
+
}
|
|
3890
|
+
},
|
|
3891
|
+
"required": [
|
|
3892
|
+
"doc",
|
|
3893
|
+
"state",
|
|
3894
|
+
"event"
|
|
3895
|
+
],
|
|
3896
|
+
"additionalProperties": false
|
|
3897
|
+
},
|
|
3898
|
+
"output": {
|
|
3899
|
+
"anyOf": [
|
|
3900
|
+
{
|
|
3901
|
+
"$ref": "#/$defs/TransitionDef"
|
|
3902
|
+
},
|
|
3903
|
+
{
|
|
3904
|
+
"type": "null"
|
|
3905
|
+
}
|
|
3906
|
+
]
|
|
3907
|
+
},
|
|
3908
|
+
"effects": {
|
|
3909
|
+
"reads": [],
|
|
3910
|
+
"writes": []
|
|
3911
|
+
}
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
"name": "udpFrameLength",
|
|
3915
|
+
"path": [
|
|
3916
|
+
"algebra",
|
|
3917
|
+
"udpFrameLength"
|
|
3918
|
+
],
|
|
3919
|
+
"description": "This function gives the qdisc length of one UDP datagram of `payload` bytes on an Ethernet device or a veth. It adds the Ethernet header of 14 bytes, the IP header and the UDP header of 8 bytes. The IP header is 20 bytes for IPv4 and 40 bytes for IPv6, with no options.",
|
|
3920
|
+
"params": [
|
|
3921
|
+
"payload",
|
|
3922
|
+
"family"
|
|
3923
|
+
],
|
|
3924
|
+
"input": {
|
|
3925
|
+
"type": "object",
|
|
3926
|
+
"properties": {
|
|
3927
|
+
"payload": {
|
|
3928
|
+
"type": "number"
|
|
3929
|
+
},
|
|
3930
|
+
"family": {
|
|
3931
|
+
"enum": [
|
|
3932
|
+
4,
|
|
3933
|
+
6
|
|
3934
|
+
]
|
|
3935
|
+
}
|
|
3936
|
+
},
|
|
3937
|
+
"required": [
|
|
3938
|
+
"payload"
|
|
3939
|
+
],
|
|
3940
|
+
"additionalProperties": false
|
|
3941
|
+
},
|
|
3942
|
+
"output": {
|
|
3943
|
+
"type": "number"
|
|
3944
|
+
},
|
|
3945
|
+
"effects": {
|
|
3946
|
+
"reads": [],
|
|
3947
|
+
"writes": []
|
|
3948
|
+
}
|
|
3949
|
+
}
|
|
3950
|
+
],
|
|
3951
|
+
"exempt": [
|
|
3952
|
+
{
|
|
3953
|
+
"name": "overValues",
|
|
3954
|
+
"reason": "output-not-json",
|
|
3955
|
+
"detail": "KnobValues"
|
|
3956
|
+
},
|
|
3957
|
+
{
|
|
3958
|
+
"name": "parseExpr",
|
|
3959
|
+
"reason": "output-not-json",
|
|
3960
|
+
"detail": "n.n: bigint"
|
|
3961
|
+
},
|
|
3962
|
+
{
|
|
3963
|
+
"name": "portSearchChain",
|
|
3964
|
+
"reason": "output-not-json",
|
|
3965
|
+
"detail": "ReadonlyMap"
|
|
3966
|
+
},
|
|
3967
|
+
{
|
|
3968
|
+
"name": "portSearchShares",
|
|
3969
|
+
"reason": "output-not-json",
|
|
3970
|
+
"detail": "ReadonlyMap"
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
"name": "runMachine",
|
|
3974
|
+
"reason": "input-not-json",
|
|
3975
|
+
"detail": "options.clock: an object with the method now"
|
|
3976
|
+
}
|
|
3977
|
+
],
|
|
3978
|
+
"others": {
|
|
3979
|
+
"classes": [],
|
|
3980
|
+
"values": 2,
|
|
3981
|
+
"types": 38
|
|
3982
|
+
}
|
|
3983
|
+
};
|