⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c-browser8.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Browser   </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="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-browser.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-browser7.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-browser9.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="84206">7.8  &nbsp;&nbsp;Object-Information Windows</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84208"> </a>Clicking <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Object Information</font></b> in the browser window selector brings up a window where you can request a specialized display for VxWorks system objects (<a href="c-browser8.html#84228">Figure&nbsp;7-7</a>). Type or paste either the name or the ID of a system object in the text box next to the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Show</font></b> button. Then click <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Show</font></b> (or press <kbd>ENTER</kbd>) to display information about that particular object. As a convenient shorthand, we refer to the browser's object-information windows as <i class="term">object browsers</i>: task browsers, semaphore browsers, and so on.</p><dd><p class="Body"><a name="84212"> </a>Another way to bring up an object-information window is to click on the name of an object in the module browser (<a href="c-browser9.html#84427"><i class="title">7.9&nbsp;The Module-Information Window</i></a>). If the object is a recognized system object, the data area for it is displayed just as if you had copied the name to the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Show</font></b> box.</p><dd><p class="Body"><a name="84219"> </a>For example, <a href="c-browser8.html#84228">Figure&nbsp;7-7</a> shows the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Show</font></b> box filled in with a request to display an object called <b class="symbol_lc">graphSem</b>.<div class="frame"><h4 class="EntityTitle"><a name="84228"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 7-7:&nbsp;&nbsp;Filling in the Object-Display Box</font></a></h4><dl class="margin"><div class="Anchor"><a name="84225"> </a><img class="figure" border="0" src="images/c-browsera15.gif"></div></dl></div></p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84230">7.8.1  &nbsp;&nbsp;The Task Browser</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84232"> </a>To see more detailed information about a particular task, click on any task's summary line in a browser <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Tasks</font></b> window (or enter the task name or task ID in the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Show</font></b> box of an <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Object Information</font></b> browser window). The browser displays a window for that task, similar to <a href="c-browser8.html#84271">Figure&nbsp;7-8</a>.<div class="frame"><h4 class="EntityTitle"><a name="84271"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 7-8:&nbsp;&nbsp;Task Browser (Initial Display)</font></a></h4><dl class="margin"><div class="Anchor"><a name="84268"> </a><img class="figure" border="0" src="images/c-browser16.gif"></div></dl></div></p><dd><p class="Body"><a name="84272"> </a>At the top of the task browser you can see global task attributes, and information about stack allocation and usage. The last major region shows the hardware registers for this task; their precise organization and contents depends on your target architecture. As usual, a scrollbar is displayed if more room is needed.</p><dd><p class="Body"><a name="84277"> </a>Notice the <img class="figure" border="0" src="images/c-browser17.gif"> (minus sign) icons; the lines they mark categorize the task information. As in other parts of Tornado that display hierarchical data, you can hide categories by clicking on any <img class="figure" border="0" src="images/c-browser18.gif"> icon, or expose hidden categories by clicking on any <img class="figure" border="0" src="images/c-browser19.gif"> (plus sign) icon. </p><dd><p class="Body"><a name="84287"> </a><a href="c-browser8.html#84301">Figure&nbsp;7-9</a> shows another task browser running on the same target, but with most of the hardware registers hidden.<div class="frame"><h4 class="EntityTitle"><a name="84301"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 7-9:&nbsp;&nbsp;Task Browser (Hiding Registers)</font></a></h4><dl class="margin"><div class="Anchor"><a name="84298"> </a><img class="figure" border="0" src="images/c-browser20.gif"></div></dl></div></p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84303">7.8.2  &nbsp;&nbsp;The Semaphore Browser</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84305"> </a>To inspect a semaphore, enter either its name or its semaphore ID in the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Show</font></b> box of a browser window with <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Object Information</font></b> selected. A specialized semaphore browser appears, similar to the one shown in <a href="c-browser8.html#84324">Figure&nbsp;7-10</a>. The semaphore browser displays both information about the semaphore itself (under the heading <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Attributes</font></b>), and the complete queue of tasks blocked on that semaphore, under the heading <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Blocked Tasks</font></b>. <div class="frame"><h4 class="EntityTitle"><a name="84324"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 7-10:&nbsp;&nbsp;Semaphore Browser</font></a></h4><dl class="margin"><div class="Anchor"><a name="84321"> </a><img class="figure" border="0" src="images/c-browser21.gif"></div></dl></div></p><dd><p class="Body"><a name="84328"> </a><a href="c-browser8.html#84324">Figure&nbsp;7-10</a> shows a binary semaphore with several blocked tasks in its queue. As in other browser windows, you can click on the levels of the display to control detail. To start a browser for any queued task, click on the task name or ID; both are displayed for each task.</p><dd><p class="Body"><a name="84329"> </a>POSIX semaphores have a somewhat different collection of attributes, and the browser display for a POSIX semaphore reflects those differences. Similarly, the semaphore browser adapts to shared-memory semaphores.</p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="84331">7.8.3  &nbsp;&nbsp;The Message-Queue Browser</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84333"> </a>To inspect a message queue, enter its name or message-queue ID in the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Show</font></b> box of a browser window with <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Object Information</font></b> selected. A message-queue browser like the one in <a href="c-browser8.html#84345">Figure&nbsp;7-11</a> is displayed.<div class="frame"><h4 class="EntityTitle"><a name="84345"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 7-11:&nbsp;&nbsp;Message-Queue Browser</font></a></h4><dl class="margin"><div class="Anchor"><a name="84342"> </a><img class="figure" border="0" src="images/c-browser22.gif"></div></dl></div></p><dd><p class="Body"><a name="84346"> </a>In addition to displaying the attributes of the message queue, the message-queue browser shows three queues: </p></dl><dl class="margin">

⌨️ 快捷键说明

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