Skip to navigation

hololink::module::RoceReceiverFrameInfoV1

View as Markdown

Describes one received frame: where it is in memory, and when and how it arrived.

Filled in by RoceReceiverInterfaceV1::get_next_frame(). All fields are set on a successful call; their values are unspecified when get_next_frame() returns false.

#include <hololink/module/roce_receiver.hpp>

Member variables

NameTypeDescription
frame_memoryuint64_tDevice memory holding this frame’s data, as a CUdeviceptr.
metadata_memoryuint64_tDevice memory holding the metadata block that follows this frame’s data, as a CUdeviceptr.
received_frame_numberuint64_tFrames the receiver has taken in since it started, this one included.
frame_numberuint32_tFrame counter the device reports, extended to 32 bits.
received_suint64_tHost time when the receiver was notified that the frame had arrived, in seconds.
received_nsuint64_tNanoseconds part of received_s.
droppeduint32_tFrames discarded since the receiver started, as of this frame’s arrival.