|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
One per-page progress event the run emits through mdl_progress_fn. More...
#include <mdl_fetch.h>
Data Fields | |
| size_t | chapter_index |
| 1-based chapter position in the run. | |
| size_t | chapter_total |
| Total chapters in the run. | |
| const char * | chapter_id |
| Chapter identifier (URL leaf). | |
| size_t | page_index |
| 1-based page position within the chapter. | |
| size_t | page_total |
| Pages in the chapter. | |
| uint64_t | page_bytes |
| Bytes transferred (0 when reused). | |
| uint32_t | elapsed_ms |
| Wall time for the transfer (0 when reused). | |
| bool | reused |
| Page served from an already-held file. | |
One per-page progress event the run emits through mdl_progress_fn.
Carries everything a redirect-safe progress line needs: where we are in the run (chapter index/total), where we are in the chapter (page index/total), and how the page went (bytes and wall time, or a reuse flag). Rate is bytes over elapsed_ms; the sink formats it.
Definition at line 125 of file mdl_fetch.h.
| const char* mdl_fetch_progress_t::chapter_id |
Chapter identifier (URL leaf).
Definition at line 128 of file mdl_fetch.h.
Referenced by internal_report_position().
| size_t mdl_fetch_progress_t::chapter_index |
1-based chapter position in the run.
Definition at line 126 of file mdl_fetch.h.
Referenced by internal_report_position().
| size_t mdl_fetch_progress_t::chapter_total |
Total chapters in the run.
Definition at line 127 of file mdl_fetch.h.
Referenced by internal_report_position().
| uint32_t mdl_fetch_progress_t::elapsed_ms |
Wall time for the transfer (0 when reused).
Definition at line 132 of file mdl_fetch.h.
Referenced by mdl_report_progress(), and mdl_report_progress_bar().
| uint64_t mdl_fetch_progress_t::page_bytes |
Bytes transferred (0 when reused).
Definition at line 131 of file mdl_fetch.h.
Referenced by mdl_report_progress(), and mdl_report_progress_bar().
| size_t mdl_fetch_progress_t::page_index |
1-based page position within the chapter.
Definition at line 129 of file mdl_fetch.h.
Referenced by internal_report_position(), and mdl_report_progress_bar().
| size_t mdl_fetch_progress_t::page_total |
Pages in the chapter.
Definition at line 130 of file mdl_fetch.h.
Referenced by internal_report_position(), and mdl_report_progress_bar().
| bool mdl_fetch_progress_t::reused |
Page served from an already-held file.
Definition at line 133 of file mdl_fetch.h.
Referenced by mdl_report_progress(), and mdl_report_progress_bar().