@@ -672,7 +672,13 @@ def pipeline_hooks(cls):
672
672
#: performance variables defined in :attr:`perf_patterns` and scoped under
673
673
#: the system/partition combinations.
674
674
#: The reference itself is a four-tuple that contains the reference value,
675
- #: the lower and upper thresholds and the measurement unit.
675
+ #: the lower and upper thresholds, and the measurement unit.
676
+ #:
677
+ #: For non-zero reference values, lower and upper thresholds are
678
+ #: percentages -/+ from the reference value in decimal form.
679
+ #:
680
+ #: When a reference value of ``0`` is expected, lower and upper
681
+ #: thresholds are interpreted as absolute values.
676
682
#:
677
683
#: An example follows:
678
684
#:
@@ -690,7 +696,7 @@ def pipeline_hooks(cls):
690
696
#: }
691
697
#:
692
698
#: To better understand how to set the performance reference tuple, here
693
- #: are some examples with both positive and negative reference values:
699
+ #: are some examples with positive, negative, and zero reference values:
694
700
#:
695
701
#: ============================== ============ ========== ===========
696
702
#: **Performance Tuple** **Expected** **Lowest** **Highest**
@@ -700,13 +706,14 @@ def pipeline_hooks(cls):
700
706
#: ``(-100, -0.01, 0.02, 'C')`` -100 C -101 C -98 C
701
707
#: ``(-100, -0.01, None, 'C')`` -100 C -101 C inf C
702
708
#: ``(-100, None, 0.02, 'C')`` -100 C -inf C -98 C
709
+ #: ``(0, -2, 5, 'C')`` 0 C -2 C 5 C
703
710
#: ============================== ============ ========== ===========
704
711
#:
705
712
#: During the performance stage of the pipeline, the reference tuple
706
713
#: elements, except the unit, are passed to the
707
714
#: :func:`~reframe.utility.sanity.assert_reference` function along with the
708
- #: obtained performance value in order to actually assess whether the test
709
- #: passes the performance check or not .
715
+ #: obtained performance value to assess whether the test
716
+ #: passes or fails the performance check.
710
717
#:
711
718
#: :type: A scoped dictionary with system names as scopes, performance
712
719
#: variables as keys and reference tuples as values.
0 commit comments