ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
mdl_fetch_faillog_t Struct Reference

Bounded record of every failure in a run (declare at file scope). More...

#include <mdl_fetch.h>

Collaboration diagram for mdl_fetch_faillog_t:

Data Fields

mdl_fetch_fail_t items [k_mdl_fetch_fail_max]
 Stored failures.
size_t count
 Stored (<= capacity).
size_t total
 Observed (may exceed count).

Detailed Description

Bounded record of every failure in a run (declare at file scope).

About 135 KiB (a fixed mdl_fetch_fail_t table), so it lives in .bss beside the other large run buffers. The caller clears it before a run; the loop only appends. count is what is stored (at most k_mdl_fetch_fail_max), total is what was observed, so a saturated log still reports the true failure count.

Invariant
count <= k_mdl_fetch_fail_max and count <= total.
See also
mdl_fetch_run
Since
0.1.0

Definition at line 108 of file mdl_fetch.h.

Field Documentation

◆ count

size_t mdl_fetch_faillog_t::count

Stored (<= capacity).

Definition at line 110 of file mdl_fetch.h.

◆ items

mdl_fetch_fail_t mdl_fetch_faillog_t::items[k_mdl_fetch_fail_max]

Stored failures.

Definition at line 109 of file mdl_fetch.h.

◆ total

size_t mdl_fetch_faillog_t::total

Observed (may exceed count).

Definition at line 111 of file mdl_fetch.h.


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