GNU Radio 3.4.0 C++ API
gc_comp_info Struct Reference

Used to return info to PPE on which jobs are completed. More...

#include <gc_spu_args.h>

List of all members.

Public Attributes

uint16_t in_use
uint16_t ncomplete
uint16_t job_id [GC_CI_NJOBS]

Detailed Description

Used to return info to PPE on which jobs are completed.

When each SPE is initalized, it is passed EA pointers to two of these structures. The SPE uses these to communicate which jobs that it has worked on are complete. The SPE notifies the PPE by sending an OP_JOBS_DONE message (see gc_mbox.h) with an argument of 0 or 1, indicating which of the two comp_info's to examine. The SPE sets the in_use flag to 1 before DMA'ing to the PPE. When the PPE is done with the structure, it must clear the in_use field to let the SPE know it can begin using it again.


Member Data Documentation

uint16_t gc_comp_info::job_id[GC_CI_NJOBS]

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