error_cache_element Class Reference
#include <error_summary.h>
Public Member Functions | |
| error_cache_element () | |
| void | update_error (const float error_rate) |
| void | update_cycle (const size_t cycle_within_read) |
| float | average () const |
| size_t | max_cycle () const |
| bool | is_empty () const |
Detailed Description
Cache data structure for error metrics
Constructor & Destructor Documentation
|
inline |
Constructor
Member Function Documentation
|
inline |
Average error rate
- Returns
- average
|
inline |
Test if there are no error values
- Returns
- true if no values have been averaged
|
inline |
Get the maximum cycle apart of the average
- Returns
- maximum cycle
|
inline |
Update the cache element
- Parameters
-
cycle_within_read cycle within read
|
inline |
Update the cache element
- Parameters
-
error_rate error rate
The documentation for this class was generated from the following file:
- /io/interop/logic/summary/error_summary.h