summaryrefslogtreecommitdiffstats
path: root/spec/rtems/ratemon/glossary/interval.yml
blob: 6e9dfc3631167b83d6102a77a06c4a6ac682c562 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
glossary-type: term
links:
- role: glossary-member
  uid: group
term: interval
text: |
  The current interval starts with the last return from a successful call to
  ${../if/period:/name} which does not use ${../if/period-status-define:/name}
  as value for parameter ${../if/period:/params[1]/name}.  The current
  interval ends with the return from the next successful call to
  ${../if/period:/name} which does not use ${../if/period-status-define:/name}
  as value for parameter ${../if/period:/params[1]/name}.  See also
  start/end ${../glossary/deadline:/term}.

  The parameter ${../if/period:/params[1]/name} of that call specifies the
  interval length of the period.

  **Warning**: All calls to ${../if/period:/name} for the same period must
  provide the same value for parameter ${../if/period:/params[1]/name}.  That
  is, the intervals of a period must have a strictly regular length.  If that
  is not the case and the period enters ${../glossary/expired:/term}
  ${../glossary/state:/term}, future period ${../glossary/deadline:/term} are
  set arbitrarily because the use of ${../glossary/postponedjob:/plural}
  implicitly assumes a fixed time length for future
  ${../glossary/job:/plural}.

  Note, an interval denotes a time while ${../glossary/job:/term} denotes code.
  Note also, if a first call to ${../if/period:/name} which does not use
  ${../if/period-status-define:/name} returned and a second
  ${../if/period:/name} which does not use ${../if/period-status-define:/name}
  is invoked but did not yet return, the current interval is still the one of
  the first call.
type: glossary