r"""Returns the mean of the scalars that were accumulated for the given statistic between the last two calls to `update()`, or NaN if no scalars were collected.
(self, name)
| 188 | return int(delta[0]) |
| 189 | |
| 190 | def mean(self, name): |
| 191 | r"""Returns the mean of the scalars that were accumulated for the |
| 192 | given statistic between the last two calls to `update()`, or NaN if |
| 193 | no scalars were collected. |
| 194 | """ |
| 195 | delta = self._get_delta(name) |
| 196 | if int(delta[0]) == 0: |
| 197 | return float('nan') |
| 198 | return float(delta[1] / delta[0]) |
| 199 | |
| 200 | def std(self, name): |
| 201 | r"""Returns the standard deviation of the scalars that were |
no test coverage detected