Skip to navigation

hololink::module::LinuxReceiverFrameInfoV1

View as Markdown

Received frame metadata.

LinuxReceiverInterfaceV1::get_next_frame() fills one of these in for every frame it hands back, including information about which buffer is updated, timestamps associated with the received data, and other diagnostics.

#include <hololink/module/linux_receiver.hpp>

Member variables

NameTypeDescription
frame_memoryuint64_tDevice memory holding this frame’s data, as a CUdeviceptr.
frame_packets_receiveduint32_tCount of packets received for this specific data frame.
frame_bytes_receiveduint32_tNumber of bytes from all packets received for this frame; note that this doesn’t specify which bytes were written to the buffer.
received_frame_numberuint32_tData frames the receiver has handled since it started, this one included.
frame_numberuint32_tFrame counter the device reports, extended to 32 bits.
imm_datauint32_tImmediate value the device sent with the frame’s last write.
received_sint64_tHost time when the frame’s last packet arrived.
received_nsint64_tNanoseconds part of received_s.
packets_droppeduint64_tPackets missing from the stream since the receiver started.
flagsuint32_tDevice-reported status of the frame.
psnuint32_tPacket sequence number the frame ended on.
crcuint32_tCRC the device computed over the frame data.
timestamp_nsuint32_tNanoseconds part of timestamp_s.
timestamp_suint64_tDevice time when the frame’s first sample data was received.
bytes_writtenuint64_tFrame data the device wrote, in bytes.
metadata_nsuint32_tNanoseconds part of metadata_s.
metadata_suint64_tDevice time when the metadata block itself was sent; this timestamp follows the last data included in the data frame.