Previous: , Up: Guile Report Reference   [Contents][Index]


6.3.3 Guile Report Output Reference

Variable: Guile Value output/console

Representation of the console format.


Variable: Guile Value output/lisp

Representation of the S-expression format.


Variable: Guile Value output/text

Representation of the text format.


Variable: Guile Value stats/mean

Print only the mean value.


Variable: Guile Value stats/variance

Print only the variance value.


Variable: Guile Value stats/std-deviation

Print only the standard deviation value.


Variable: Guile Value stats/basic

Print the mean and standard deviation values.


Variable: Guile Value stats/all

Print the mean, variance standard deviation values.


Guile Function: print-report report #:key type port self-test size-constraints total-time total-iterations samples extra-data iteration-time sample-time sample-iterations

Preconditions:

  1. report was returned by get-report.
  2. If #:type is provided, its value is one of the output/ values defined in this section.
  3. If #:iteration-time, #:sample-time or #:sample-iterations is provided, its value is one of the stats/ values defined in this section.
  4. If #:self-test, #:size-constraints, #:total-time, #:total-iterations, #:samples or #:extra-data is provided, its value is either #t or #f.

Effects:

  1. If #:port is provided, the output is written to its value unless its value is #f, when the output is returned as a string. Otherwise, the output is printed to the standard output.
  2. If #:type is provided, the report is printed with the specified format. Otherwise, the output is printed with the console format.
  3. If #:self-test is provided, its value determines if the self test results are printed. Otherwise, this is determined by the default value of the library.
  4. If #:size-constraints is provided, its value determines if the size constraints of each test execution are printed. Otherwise, this is determined by the default value of the library.
  5. If #:total-time is provided, its value determines if the total time of each test execution is printed. Otherwise, this is determined by the default value of the library.
  6. If #:total-iterations is provided, its value determines if the total number of iterations of each test execution is printed. Otherwise, this is determined by the default value of the library.
  7. If #:samples is provided, its value determines if the number of samples of each test execution is printed. Otherwise, this is determined by the default value of the library.
  8. If #:extra-data is provided, its value determines if the extra data of each test execution is printed. Otherwise, this is determined by the default value of the library.
  9. If #:iteration-time is provided, its value determines how is printed the iteration time data aggregated from each test execution. Otherwise, this is determined by the default value of the library.
  10. If #:sample-time is provided, its value determines how is printed the sample time data aggregated from each test execution. Otherwise, this is determined by the default value of the library.
  11. If #:sample-iterations is provided, its value determines how is printed the iterations per sample data aggregated from each test execution. Otherwise, this is determined by the default value of the library.

Postconditions:

  1. The standard output, or the output provided through #:port has received the full printed report..


Previous: Guile Exec Report Reference, Up: Guile Report Reference   [Contents][Index]