Loop Timing Witness
Native controller and runtime interfaces; hardware qualification pending
Loading...
Searching...
No Matches
witness::AmpLogger< Device > Class Template Reference

#include <amp_logger.h>

Public Member Functions

 AmpLogger (Device &backend, const RunConfiguration &run, RunOutput &files, std::uint64_t mailbox_address, const RunHooks *acquisition=nullptr)
bool poll ()
RunResult completion () const

Detailed Description

template<class Device>
class witness::AmpLogger< Device >

Sole consumer of actual firmware RAM telemetry; sole drainer of the fabric event FIFO.

Definition at line 28 of file amp_logger.h.

Constructor & Destructor Documentation

◆ AmpLogger()

template<class Device>
witness::AmpLogger< Device >::AmpLogger ( Device & backend,
const RunConfiguration & run,
RunOutput & files,
std::uint64_t mailbox_address,
const RunHooks * acquisition = nullptr )
inline

Bind hash-bound run data and an explicit reserved mailbox before either owner starts.

Definition at line 116 of file amp_logger.h.

Member Function Documentation

◆ completion()

template<class Device>
RunResult witness::AmpLogger< Device >::completion ( ) const
inline

Return observed counts only after successful final event and telemetry drain.

Definition at line 209 of file amp_logger.h.

◆ poll()

template<class Device>
bool witness::AmpLogger< Device >::poll ( )
inline

Poll real owners; start only after firmware arms, finish only after both streams drain.

Definition at line 126 of file amp_logger.h.


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