Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > ae19f57cd4e306abd5716199a310070b > files > 6992

gnuradio-doc-3.2.2-3.fc13.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>GNU Radio 3.2.2 C++ API: gc_comp_info Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="contents">
<h1>gc_comp_info Struct Reference</h1><!-- doxytag: class="gc_comp_info" -->
<p>Used to return info to PPE on which jobs are completed.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="gc__spu__args_8h_source.html">gc_spu_args.h</a>&gt;</code></p>

<p><a href="structgc__comp__info-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgc__comp__info.html#af399517e4c8c10baed052bc40fa2259a">in_use</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgc__comp__info.html#aa0a863264a7d2a1445c3ee31fb2a6e9b">ncomplete</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgc__comp__info.html#adc0389c565c52a5513a5d45aba210663">job_id</a> [GC_CI_NJOBS]</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Used to return info to PPE on which jobs are completed. </p>
<p>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 <a class="el" href="gc__mbox_8h.html">gc_mbox.h</a>) 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. </p>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="af399517e4c8c10baed052bc40fa2259a"></a><!-- doxytag: member="gc_comp_info::in_use" ref="af399517e4c8c10baed052bc40fa2259a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="structgc__comp__info.html#af399517e4c8c10baed052bc40fa2259a">gc_comp_info::in_use</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="adc0389c565c52a5513a5d45aba210663"></a><!-- doxytag: member="gc_comp_info::job_id" ref="adc0389c565c52a5513a5d45aba210663" args="[GC_CI_NJOBS]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="structgc__comp__info.html#adc0389c565c52a5513a5d45aba210663">gc_comp_info::job_id</a>[GC_CI_NJOBS]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa0a863264a7d2a1445c3ee31fb2a6e9b"></a><!-- doxytag: member="gc_comp_info::ncomplete" ref="aa0a863264a7d2a1445c3ee31fb2a6e9b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="structgc__comp__info.html#aa0a863264a7d2a1445c3ee31fb2a6e9b">gc_comp_info::ncomplete</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="gc__spu__args_8h_source.html">gc_spu_args.h</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>