| 253 | } |
| 254 | |
| 255 | float LocalFrameBuffer::getVariance() const |
| 256 | { |
| 257 | // Return maximum error over all tasks if variance has been calculated in a |
| 258 | // FrameOp |
| 259 | if (varianceFrameOp && varianceFrameOp->validError()) |
| 260 | return varianceFrameOp->getAvgError(errorThreshold); |
| 261 | |
| 262 | // Return set value otherwise |
| 263 | return FrameBuffer::getVariance(); |
| 264 | } |
| 265 | |
| 266 | std::string LocalFrameBuffer::toString() const |
| 267 | { |
nothing calls this directly
no test coverage detected