Skip to content

Commit d1d25f2

Browse files
author
Vasileios Karakasis
authored
Merge pull request #1009 from teojgo/doc/fix_perflog_docs
[doc] Fix literal include lines in performance logging documentation
2 parents b355cd0 + bd0f951 commit d1d25f2

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

docs/running.rst

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ The following command will run the CUDA matrix-vector multiplication example fro
579579
.. code-block:: none
580580
581581
Command line: ./bin/reframe -C tutorial/config/settings.py -c tutorial/example7.py -r --performance-report
582-
Reframe version: 2.18-dev1
582+
Reframe version: 2.20-dev2
583583
Launched by user: USER
584584
Launched on host: daint101
585585
Reframe paths
@@ -590,7 +590,7 @@ The following command will run the CUDA matrix-vector multiplication example fro
590590
Output dir prefix : /path/to/reframe/output/
591591
Perf. logging prefix : /path/to/reframe/perflogs
592592
[==========] Running 1 check(s)
593-
[==========] Started on Mon Apr 15 13:49:34 2019
593+
[==========] Started on Thu Oct 24 17:46:55 2019
594594
595595
[----------] started processing Example7Test (Matrix-vector multiplication (CUDA performance test))
596596
[ RUN ] Example7Test on daint:gpu using PrgEnv-cray
@@ -602,25 +602,28 @@ The following command will run the CUDA matrix-vector multiplication example fro
602602
[----------] finished processing Example7Test (Matrix-vector multiplication (CUDA performance test))
603603
604604
[ PASSED ] Ran 3 test case(s) from 1 check(s) (0 failure(s))
605-
[==========] Finished on Mon Apr 15 13:55:22 2019
605+
[==========] Finished on Thu Oct 24 17:47:34 2019
606606
==============================================================================
607607
PERFORMANCE REPORT
608608
------------------------------------------------------------------------------
609609
Example7Test
610610
- daint:gpu
611611
- PrgEnv-cray
612-
* perf: 49.994311 Gflop/s
612+
* num_tasks: 1
613+
* perf: 49.403965 Gflop/s
613614
- PrgEnv-gnu
614-
* perf: 50.748701 Gflop/s
615+
* num_tasks: 1
616+
* perf: 50.093877 Gflop/s
615617
- PrgEnv-pgi
616-
* perf: 49.844147 Gflop/s
618+
* num_tasks: 1
619+
* perf: 50.549009 Gflop/s
617620
------------------------------------------------------------------------------
618621
619622
620623
For completeness, we show here the corresponding section from the ``Example7Test``, so that the connection between the test's code and the output becomes clear:
621624

622625
.. literalinclude:: ../tutorial/example7.py
623-
:lines: 20-28
626+
:lines: 19-27
624627
:dedent: 8
625628

626629

@@ -788,7 +791,7 @@ Logging in ReFrame is configured by the ``logging_config`` variable in the ``ref
788791
The default configuration looks as follows:
789792

790793
.. literalinclude:: ../reframe/settings.py
791-
:lines: 51-78
794+
:lines: 47-74
792795
:dedent: 4
793796

794797
Note that this configuration dictionary is not the same as the one used by Python's logging framework.
@@ -913,7 +916,7 @@ ReFrame supports an additional logging facility for recording performance values
913916
This is configured by the ``perf_logging_config`` variables, whose syntax is the same as for the ``logging_config``:
914917

915918
.. literalinclude:: ../reframe/settings.py
916-
:lines: 77-96
919+
:lines: 76-95
917920
:dedent: 4
918921

919922
Performance logging introduces two new log record handlers, specifically designed for this purpose.

0 commit comments

Comments
 (0)