Loop Timing Witness
Native controller and runtime interfaces; hardware qualification pending
Loading...
Searching...
No Matches
witness::PowerJournal Class Reference

#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 ()

Detailed Description

Separate normal-policy worker; exact raw readings never imply atomic rail windows.

Definition at line 26 of file power_journal.h.

Constructor & Destructor Documentation

◆ PowerJournal()

template<class Device>
witness::PowerJournal::PowerJournal ( const char * path,
const PowerConfiguration & config,
Pac1934Device & device,
Device & fabric )
inline

Validate configuration before creating and flushing the exclusive journal header.

Definition at line 58 of file power_journal.h.

◆ ~PowerJournal()

witness::PowerJournal::~PowerJournal ( )

Join before releasing UIO/IIO resources, retaining all partial evidence.

Member Function Documentation

◆ check()

void witness::PowerJournal::check ( )

Propagate a worker acquisition failure to the controller.

◆ finish()

void witness::PowerJournal::finish ( )

Require a started worker; capture after drain, join and close once with error checks.

◆ hooks()

RunHooks witness::PowerJournal::hooks ( )

Bind the logger to the common native run lifecycle.

◆ start()

void witness::PowerJournal::start ( )

Start once before stop/close; require its initial actual acquisition before START.


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