|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
A log writer: its sink, its counts and its latched failure. More...
#include <log_writer.h>
Data Fields | |
| log_sink_t | sink |
| uint32_t | rows |
| uint32_t | pending |
| float | last_s |
| float | committed_s |
| bool | header_done |
| bool | failed |
| bool | by_map |
| The INA3221 columns go by cols (log_writer_set_cols()), not CH1 to CH3. | |
| log_cols_t | cols |
| char | line [LOG_WRITER_LINE_MAX] |
| A bench row as it is built: up to 25 cells, here rather than on the stack of the task that writes the card. | |
A log writer: its sink, its counts and its latched failure.
| float log_writer_t::committed_s |
t_s of the row the last commit ended at
| bool log_writer_t::failed |
a write failed; the file is not trustworthy
| bool log_writer_t::header_done |
whether the header row is written
| float log_writer_t::last_s |
t_s of the last row written
| uint32_t log_writer_t::pending |
rows written since the last commit