Struct ToHostDmaStats

Struct Documentation

struct ToHostDmaStats

Monitoring info for one DMA buffer.

Public Functions

inline explicit ToHostDmaStats(uint32_t dma_id, uint32_t free_MB, uint64_t irq)

Constructor to initialize DMA stats with specific values.

Parameters:
  • dma_id -- DMA ID

  • free_MB -- Free memory in MB

  • irq -- IRQ count

Public Members

uint32_t dmaid = {}

ID of the DMA.

uint32_t dma_free_MB = {}

Free memory in the DMA buffer in MB.

uint64_t irq_count = {}

IRQ count.