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


6.4.2 Guile Stats Utilities Reference

Guile Record: <stat-value>

This type represents the time elapsed on a test.


Guile Predicate: stat-value? object

Preconditions:

  1. None.

Effects:

  1. Check if object type is <stat-value>

Postconditions:

  1. The returned value is #f if object type is not <stat-value>.

Guile Function: stat-value-unit stat

Preconditions:

  1. (stat-value? stat) is #t.

Effects:

  1. None.

Postconditions:

  1. The returned value is the unit stored on stat.

Guile Function: stat-value-mean stat

Preconditions:

  1. (stat-value? stat) is #t.

Effects:

  1. None.

Postconditions:

  1. The returned value is the mean stored on stat.