|
Loop Timing Witness
Native controller and runtime interfaces; hardware qualification pending
|
#include <power_journal.h>
Public Member Functions | |
| template<class Device> | |
| PowerJournal (const char *path, const PowerConfiguration &config, Pac1934Device &device, Device &fabric) | |
| ~PowerJournal () | |
| PowerJournal (const PowerJournal &)=delete | |
| PowerJournal & | operator= (const PowerJournal &)=delete |
| void | start () |
| void | check () |
| void | finish () |
| RunHooks | hooks () |
Separate normal-policy worker; exact raw readings never imply atomic rail windows.
Definition at line 26 of file power_journal.h.
|
inline |
Validate configuration before creating and flushing the exclusive journal header.
Definition at line 58 of file power_journal.h.
| witness::PowerJournal::~PowerJournal | ( | ) |
Join before releasing UIO/IIO resources, retaining all partial evidence.
| void witness::PowerJournal::check | ( | ) |
Propagate a worker acquisition failure to the controller.
| void witness::PowerJournal::finish | ( | ) |
Require a started worker; capture after drain, join and close once with error checks.
| RunHooks witness::PowerJournal::hooks | ( | ) |
Bind the logger to the common native run lifecycle.
| void witness::PowerJournal::start | ( | ) |
Start once before stop/close; require its initial actual acquisition before START.