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

Outcome + observable facts of one demo run (for the banner / asserts). More...

#include <cache_store_demo.h>

Data Fields

cache_store_demo_status_t status
 Overall verdict.
cache_store_demo_stage_t last_stage
 Furthest stage reached.
uint32_t survivors
 Live entries after the remount.
uint32_t evicted_key
 Key dropped by the forced eviction.
bool evicted_stayed_gone
 Evicted key still absent post-remount.
bool pin_survived
 Pinned entry still refuses eviction.

Detailed Description

Outcome + observable facts of one demo run (for the banner / asserts).

Populated by cache_store_demo_run. The example prints these fields; the host test asserts them.

Invariant
When status == k_cache_store_demo_ok, survivors is the live entry count after the remount and both survival flags are true.
Since
0.1.0

Definition at line 84 of file cache_store_demo.h.

Field Documentation

◆ evicted_key

uint32_t cache_store_demo_result_t::evicted_key

Key dropped by the forced eviction.

Definition at line 88 of file cache_store_demo.h.

◆ evicted_stayed_gone

bool cache_store_demo_result_t::evicted_stayed_gone

Evicted key still absent post-remount.

Definition at line 89 of file cache_store_demo.h.

Referenced by internal_demo_phase_remount(), and internal_rcs_report().

◆ last_stage

cache_store_demo_stage_t cache_store_demo_result_t::last_stage

Furthest stage reached.

Definition at line 86 of file cache_store_demo.h.

Referenced by cache_store_demo_run(), internal_demo_phase_remount(), and internal_rcs_report().

◆ pin_survived

bool cache_store_demo_result_t::pin_survived

Pinned entry still refuses eviction.

Definition at line 90 of file cache_store_demo.h.

Referenced by internal_demo_phase_remount(), and internal_rcs_report().

◆ status

cache_store_demo_status_t cache_store_demo_result_t::status

Overall verdict.

Definition at line 85 of file cache_store_demo.h.

Referenced by cache_store_demo_run(), internal_demo_phase_remount(), and internal_rcs_report().

◆ survivors

uint32_t cache_store_demo_result_t::survivors

Live entries after the remount.

Definition at line 87 of file cache_store_demo.h.

Referenced by internal_demo_phase_remount(), and internal_rcs_report().


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