rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
log_writer_t Struct Reference

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.

Detailed Description

A log writer: its sink, its counts and its latched failure.

Field Documentation

◆ committed_s

float log_writer_t::committed_s

t_s of the row the last commit ended at

◆ failed

bool log_writer_t::failed

a write failed; the file is not trustworthy

◆ header_done

bool log_writer_t::header_done

whether the header row is written

◆ last_s

float log_writer_t::last_s

t_s of the last row written

◆ pending

uint32_t log_writer_t::pending

rows written since the last commit


The documentation for this struct was generated from the following file: