x-trigapi1.html

来自「vxworks相关论文」· HTML 代码 · 共 92 行

HTML
92
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Triggering API   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="x-trigAPI.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="x-trigAPI.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="x-trigAPI.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="x-trigAPI2.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="88786">E.1  &nbsp;&nbsp;Overview</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="87038"> </a>Because event triggering is based on the same instrumented points used by WindView, interactions occur between the two mechanisms which are managed to avoid interference or conflicts. When an instrumentation point is hit, one of the following situations exists:</p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="86606"> </a>neither instrumentation nor triggering is active </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="86607"> </a>instrumentation is active but not triggering </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="89363"> </a>triggering is active but not instrumentation </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="89364"> </a>both triggering and instrumentation are active </li></ul></p></dl><dl class="margin"><dd><p class="Body"><a name="89365"> </a><b class="symbol_UC"></b>In order to keep the two mechanisms separate, the macro <b class="symbol_UC">ACTION_IS_SET</b> is introduced. It is shared by the two tools and regulates the activation and interactions of both logging and triggering. The process flow is shown in the following pseudocode: </p><dl class="margin"><dd><pre class="Code2"><b><a name="88393">if ACTION_IS_SET      {     if WV_ACTION_IS_SET          <i class="i">do logging</i>      if TRG_ACTION_IS_SET          <i class="i">do triggering</i>      }</a></b></pre></dl><dd><p class="Body"><a name="88548"> </a>The <i class="term">do logging</i> portion of the process is described in <a href="c-datacol.html#84193"><i class="title">7.&nbsp;Data Collection</i></a>. The <i class="term">do triggering</i> function performs the steps described in the flow chart in <a href="x-trigAPI1.html#88555">Figure&nbsp;E-1</a>.&nbsp;&nbsp;<div class="frame"><h4 class="EntityTitle"><a name="88555"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure E-1:&nbsp;&nbsp;Process Followed if Triggering is Activated</font></a></h4><dl class="margin"><div class="Anchor"><a name="88694"> </a><img class="figure" border="0" src="images/x-trigAPI0.gif"></div></dl></div></p><dd><p class="Body"><a name="86642"> </a>The trigger data structures are shown in <a href="x-trigAPI2.html#83710"><i class="title">E.2&nbsp;Trigger Structure</i></a>. All the operations allowed on triggers, such as create, destroy, enable, and disable, are described in <a href="x-trigAPI3.html#84486"><i class="title">E.3&nbsp;Triggering API</i></a>. These functions should be used principally through the host GUI. Many parameters are involved and the GUI provides guidance in choosing the proper environment for the construction or modification of a trigger.</p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="x-trigAPI.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="x-trigAPI.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="x-trigAPI.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="x-trigAPI2.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc.    conversion tool:  Quadralay WebWorks Publisher 4.0.11    template:         CSS Template, Jan 1998 - Jefro --->

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?