亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? resource arbitration and power management - tinyos documentation wiki.htm

?? 從官方網站上下載tinyos2.0的學習指南
?? HTM
?? 第 1 頁 / 共 3 頁
字號:
?<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0074)http://docs.tinyos.net/index.php/Resource_Arbitration_and_Power_Management -->
<HTML lang=en dir=ltr xml:lang="en" 
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Resource Arbitration and Power Management - TinyOS Documentation Wiki</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META 
content="Resource Arbitration and Power Management,Storage,Writing Low-Power Applications,Concurrency" 
name=keywords><LINK href="/favicon.ico" rel="shortcut icon"><LINK 
title="TinyOS Documentation Wiki (English)" href="/opensearch_desc.php" 
type=application/opensearchdescription+xml rel=search>
<STYLE type=text/css media="screen, projection">@import url( /skins/common/shared.css?97 );
@import url( /skins/monobook/main.css?97 );
</STYLE>
<LINK media=print 
href="Resource Arbitration and Power Management - TinyOS Documentation Wiki.files/commonPrint.css" 
type=text/css rel=stylesheet><!--[if lt IE 5.5000]><style type="text/css">@import "/skins/monobook/IE50Fixes.css?97";</style><![endif]--><!--[if IE 5.5000]><style type="text/css">@import "/skins/monobook/IE55Fixes.css?97";</style><![endif]--><!--[if IE 6]>
<STYLE type=text/css>@import url( /skins/monobook/IE60Fixes.css?97 );
</STYLE>
<![endif]--><!--[if IE 7]><style type="text/css">@import "/skins/monobook/IE70Fixes.css?97";</style><![endif]--><!--[if lt IE 7]>
<SCRIPT 
src="Resource Arbitration and Power Management - TinyOS Documentation Wiki.files/IEFixes.js" 
type=text/javascript></SCRIPT>

<META http-equiv=imagetoolbar content=no><![endif]-->
<SCRIPT type=text/javascript>/*<![CDATA[*/var skin = "monobook";var stylepath = "/skins";var wgArticlePath = "/index.php/$1";var wgScriptPath = "";var wgScript = "/index.php";var wgServer = "http://docs.tinyos.net";var wgCanonicalNamespace = "";var wgCanonicalSpecialPageName = false;var wgNamespaceNumber = 0;var wgPageName = "Resource_Arbitration_and_Power_Management";var wgTitle = "Resource Arbitration and Power Management";var wgAction = "view";var wgRestrictionEdit = [];var wgRestrictionMove = [];var wgArticleId = "14";var wgIsArticle = true;var wgUserName = null;var wgUserGroups = null;var wgUserLanguage = "en";var wgContentLanguage = "en";var wgBreakFrames = false;var wgCurRevisionId = "285";/*]]>*/</SCRIPT>

<SCRIPT 
src="Resource Arbitration and Power Management - TinyOS Documentation Wiki.files/wikibits.js" 
type=text/javascript><!-- wikibits js --></SCRIPT>

<SCRIPT 
src="Resource Arbitration and Power Management - TinyOS Documentation Wiki.files/index.php" 
type=text/javascript><!-- site js --></SCRIPT>

<STYLE type=text/css>@import url( /index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000 );
@import url( /index.php?title=MediaWiki:Monobook.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000 );
@import url( /index.php?title=-&action=raw&gen=css&maxage=18000 );
</STYLE>
<!-- Head Scripts -->
<SCRIPT 
src="Resource Arbitration and Power Management - TinyOS Documentation Wiki.files/ajax.js" 
type=text/javascript></SCRIPT>

<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY class="mediawiki ns-0 ltr page-Resource_Arbitration_and_Power_Management">
<DIV id=globalWrapper>
<DIV id=column-content>
<DIV id=content><A id=top name=top></A>
<H1 class=firstHeading>Resource Arbitration and Power Management</H1>
<DIV id=bodyContent>
<H3 id=siteSub>From TinyOS Documentation Wiki</H3>
<DIV id=contentSub></DIV>
<DIV id=jump-to-nav>Jump to: <A 
href="http://docs.tinyos.net/index.php/Resource_Arbitration_and_Power_Management#column-one">navigation</A>, 
<A 
href="http://docs.tinyos.net/index.php/Resource_Arbitration_and_Power_Management#searchInput">search</A></DIV><!-- start content -->
<TABLE class=toc id=toc summary=Contents>
  <TBODY>
  <TR>
    <TD>
      <DIV id=toctitle>
      <H2>Contents</H2></DIV>
      <UL>
        <LI class=toclevel-1><A 
        href="http://docs.tinyos.net/index.php/Resource_Arbitration_and_Power_Management#Introduction"><SPAN 
        class=tocnumber>1</SPAN> <SPAN class=toctext>Introduction</SPAN></A> 
        <LI class=toclevel-1><A 
        href="http://docs.tinyos.net/index.php/Resource_Arbitration_and_Power_Management#Working_with_Shared_Resources"><SPAN 
        class=tocnumber>2</SPAN> <SPAN class=toctext>Working with Shared 
        Resources</SPAN></A> 
        <LI class=toclevel-1><A 
        href="http://docs.tinyos.net/index.php/Resource_Arbitration_and_Power_Management#Conclusion"><SPAN 
        class=tocnumber>3</SPAN> <SPAN class=toctext>Conclusion</SPAN></A> 
        <LI class=toclevel-1><A 
        href="http://docs.tinyos.net/index.php/Resource_Arbitration_and_Power_Management#Related_Documentation"><SPAN 
        class=tocnumber>4</SPAN> <SPAN class=toctext>Related 
        Documentation</SPAN></A> </LI></UL></TD></TR></TBODY></TABLE>
<SCRIPT type=text/javascript> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </SCRIPT>
<A name=Introduction></A>
<H1><SPAN class=mw-headline>Introduction</SPAN></H1>
<P>TinyOS distinguishes between three kinds of resource abstractions: 
<B>dedicated</B>, <B>virtualized</B>, and <B>shared</B>. </P>
<P>Two fundamental questions must be asked about each type of abstraction. </P>
<OL>
  <LI>How can a client gain access to the resource provided through this 
  abstraction? 
  <LI>How can the power state of that resource be controlled? </LI></OL>
<P>Components offer resource sharing mechanisms and power mangement capabilites 
according to the goals and level of abstraction required by their clients. </P>
<HR>

<P>An abstraction is dedicated if it represents a resource which a subsystem 
needs exclusive access to at all times. In this class of resources, no sharing 
policy is needed since only a single component ever requires use of the 
resource. Resource clients simply call commands from the interfaces provided by 
the resource just as they would with any other TinyOS component. Resources of 
this type provide either an <TT>AsyncStdControl</TT>, <TT>StdControl</TT>, or 
<TT>SplitControl</TT> interface for controlling their power states. The 
definition of each of these interfaces can be found in 
<TT>tinyos-2.x/tos/interfaces</TT>. </P><PRE>interface AsyncStdControl {
  async command error_t start();
  async command error_t stop();
}
</PRE><PRE>interface StdControl {
  command error_t start();
  command error_t stop();
}

interface SplitControl {
  async command error_t start();
  async command void startDone(error_t error);
  async command error_t stop();
  async command void stopDone(error_t error);
}
</PRE>
<P>Currently, the power states of all dedicated resources are controlled by one 
of these three interfaces. They are only allowed to enter one of two logical 
power states (on/off), regardless of the number of physical power states 
provided by the hardware on top of which their resource abstraction has been 
built. Which of these interfaces is provided by a particular resource depends on 
the timing requirements for physically powering it on or off. </P>
<HR>

<P>Virtual abstractions hide multiple clients from each other through software 
virtualization. Every client of a virtualized resource interacts with it as if 
it were a dedicated resource, with all virtualized instances being multiplexed 
on top of a single underlying resource. Because the virtualization is done in 
software, there is no upper bound on the number of clients using the 
abstraction, barring memory or efficiency constraints. The power states of a 
virtualized resource are handled automatically, and no interface is provided to 
the user for explicity controlling its power state. As they are built on top of 
shared resources, the reason their power states can be automatically controlled 
will become clearer after reading the following section. </P>
<HR>

<P>Dedicated abstractions are useful when a resource is always controlled by a 
single component. Virtualized abstractions are useful when clients are willing 
to pay a bit of overhead and sacrifice control in order to share a resource in a 
simple way. There are situations, however, when many clients need precise 
control of a resource. Clearly, they can't all have such control at the same 
time: some degree of multiplexing is needed. </P>
<P>A motivating example of a shared resource is a bus. The bus may have multiple 
peripherals on it, corresponding to different subsystems. For example, on the 
Telos platform the flash chip (storage) and the radio (network) share a bus. The 
storage and network stacks need exclusive access to the bus when using it, but 
they also need to share it with the other subsystem. In this case, 
virtualization is problematic, as the radio stack needs to be able to perform a 
series of operations in quick succession without having to reacquire the bus in 
each case. Having the bus be a shared resource allows the radio stack to send a 
series of operations to the radio atomically, without having to buffer them all 
up in memory beforehand (introducing memory pressure in the process). </P>
<P>In TinyOS, a resource <B>arbiter</B> is responsible for multiplexing between 
the different clients of a shared resource. It determines which client has 
access to the resource at which time. While a client holds a resource, it has 
complete and unfettered control. Arbiters assume that clients are cooperative, 
only acquiring the resource when needed and holding on to it no longer than 
necessary. Clients explicitly release resources: there is no way for an arbiter 
to forcibly reclaim it. </P>
<P>Shared resources are essentially built on top of dedicated resources, with 
access to them being controlled by an arbiter component. In this way, <B>power 
managers</B> can be used to automatically control the power state of these 
resources through their <TT>AsyncStdControl</TT>, <TT>StdControl</TT>, or 
<TT>SplitControl</TT> interfaces. They communicate with the arbiter (through the 
use of a <TT>ResourceDefaultOwner</TT> interface), monitoring whether the 
resource is being used by any of its clients and powering it on/off accordingly. 
The figure below shows how an arbiter component and a power manager can be wired 
together to provide arbitration and automatic power management for a shared 
resource. </P>
<CENTER><A class=image 
title="This is a picture of how an arbiter and power manager work together" 
href="http://docs.tinyos.net/index.php/Image:Arbiter_pm_graph.png"><IMG 
height=76 
alt="This is a picture of how an arbiter and power manager work together" 
src="Resource Arbitration and Power Management - TinyOS Documentation Wiki.files/225px-Arbiter_pm_graph.png" 
width=225 border=0></A><BR>Figure 1: Arbiters and Power Managers </CENTER>
<P>The arbiter component provides the <TT>Resource</TT>, <TT>ArbiterInfo</TT>, 
<TT>ResourceRequested</TT>, and <TT>ResourceDefaultOwner</TT> interfaces and 
uses the <TT>ResourceConfigure</TT> interface. The power manager doesn't provide 
any interfaces, but uses one of either the <TT>AsyncStdControl</TT>, 
<TT>StdControl</TT>, or <TT>SplitControl</TT> interfaces from the underlying 
resource, as well as the <TT>ResourceDefaultOwner</TT> interface provided by the 
arbiter. The figure below shows how these interface are then wired together with 
the implementation of a shared resource. Please refer to TEP 108 for more 
information on arbiters and TEP 115 for more information on Power Managers. </P>
<CENTER><A class=image 
title="This is a picture of how a shared resource works together with an arbiter and a power manager" 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线免费视频一区二区| 久久精品国产秦先生| 亚洲国产高清在线观看视频| 亚洲黄色在线视频| 狠狠色丁香婷综合久久| 国产麻豆精品久久一二三| 中文字幕精品一区| 日本高清不卡在线观看| 亚洲va欧美va天堂v国产综合| 欧美日韩亚洲不卡| 欧美日韩在线综合| 久久久久久久久岛国免费| 美腿丝袜在线亚洲一区| 91麻豆精品久久久久蜜臀| 日韩在线播放一区二区| 亚洲天堂中文字幕| 免费不卡在线观看| 91视频国产资源| 国产一区久久久| 成人精品视频网站| 国产成人免费xxxxxxxx| 不卡一区二区中文字幕| 91色porny在线视频| 91黄色在线观看| 狠狠色丁香久久婷婷综合_中| 日韩高清不卡一区二区三区| 精品午夜一区二区三区在线观看| 久久99久国产精品黄毛片色诱| 九色综合国产一区二区三区| 国产不卡免费视频| 色综合中文综合网| 久久精品99国产精品日本| 亚洲超碰97人人做人人爱| 国产精品系列在线播放| 亚洲欧美日韩国产综合在线| 91啪亚洲精品| 一区二区三区在线视频免费观看| 亚洲精品一区二区在线观看| 波多野结衣一区二区三区 | 蜜桃91丨九色丨蝌蚪91桃色| 午夜精品久久久久久久99樱桃| 亚洲一区影音先锋| 一区二区三区中文在线| 国产精品不卡在线| 亚洲最新在线观看| 捆绑变态av一区二区三区| 国产在线精品一区二区不卡了| 国产制服丝袜一区| 99久久久久久99| 欧美精品高清视频| 亚洲愉拍自拍另类高清精品| 蜜臀av一区二区三区| 亚洲欧美激情视频在线观看一区二区三区| 日韩一区二区三区视频| 99精品国产99久久久久久白柏| 久久精品国内一区二区三区| 国产精品国产馆在线真实露脸| 国产精品免费视频一区| 国内成+人亚洲+欧美+综合在线| 免费观看成人鲁鲁鲁鲁鲁视频| 中文幕一区二区三区久久蜜桃| 欧美一级xxx| 久久影院电视剧免费观看| 亚洲一区二区三区四区在线免费观看 | 亚洲精品一区二区三区99| 国产欧美精品区一区二区三区| 一区二区三区四区在线免费观看 | 一区二区三区.www| 国产成人精品亚洲日本在线桃色| 日本精品一区二区三区高清| 精品国产亚洲在线| 精油按摩中文字幕久久| 欧美日韩一区二区三区在线看| 综合激情网...| 成人黄色综合网站| 欧美精品日韩精品| 亚洲视频电影在线| 色哟哟欧美精品| 亚洲在线观看免费视频| 91国产免费观看| 亚洲国产视频在线| 欧美卡1卡2卡| 日本成人在线视频网站| 91麻豆精品国产91久久久久久| 夜夜精品视频一区二区| 欧美中文字幕不卡| 日韩国产欧美在线观看| 日韩精品专区在线影院重磅| 久久99精品久久久久久| 国产精品系列在线| 一本高清dvd不卡在线观看| 亚洲午夜三级在线| 精品对白一区国产伦| 岛国精品在线播放| 亚洲bt欧美bt精品777| 亚洲人成网站在线| 欧美精品乱码久久久久久按摩 | 欧美老肥妇做.爰bbww视频| 天堂午夜影视日韩欧美一区二区| 精品欧美一区二区久久| 日本高清不卡在线观看| 国产成人精品一区二区三区四区 | 成人一道本在线| 三级成人在线视频| 亚洲精品久久嫩草网站秘色| 日韩亚洲欧美成人一区| 色婷婷av久久久久久久| 国产一区二区不卡老阿姨| 日韩av网站在线观看| 精品成人免费观看| 欧美专区日韩专区| 色婷婷综合久久久久中文| 国产成人亚洲精品狼色在线| 视频一区在线视频| 亚洲电影视频在线| 亚洲一区精品在线| 一区二区三区四区乱视频| 亚洲欧美中日韩| 1000部国产精品成人观看| 91在线免费视频观看| 亚洲欧美综合网| 亚洲国产成人tv| 亚洲成人免费视频| 免费的成人av| 国产精品一区二区无线| 国产乱码一区二区三区| 国产精品自在欧美一区| 国产成人综合自拍| 色欧美日韩亚洲| 欧美丰满嫩嫩电影| 久久久久久久电影| 一区二区三区四区蜜桃| 免费av成人在线| 99久久精品免费看国产免费软件| 91在线丨porny丨国产| 欧美一区二区在线不卡| 亚洲国产精品国自产拍av| 亚洲激情图片小说视频| 国产精品一二三四五| 欧美在线视频不卡| 中文字幕制服丝袜成人av| 人人精品人人爱| 日本福利一区二区| 国产亚洲精品资源在线26u| 无吗不卡中文字幕| 一本一道综合狠狠老| 欧美国产激情一区二区三区蜜月| 日韩av网站免费在线| 91麻豆蜜桃一区二区三区| 精品国产伦一区二区三区免费| 中文字幕在线不卡国产视频| 国产在线视频一区二区| 91精品综合久久久久久| 日韩女同互慰一区二区| 亚洲狠狠爱一区二区三区| 9i看片成人免费高清| 中文字幕亚洲成人| 99免费精品视频| 亚洲欧美中日韩| 91视频一区二区| 亚洲精品写真福利| 欧美视频精品在线观看| 亚洲日本va在线观看| 在线免费av一区| 午夜成人免费电影| 日韩视频一区在线观看| 狠狠色伊人亚洲综合成人| 久久久久久麻豆| 国产精品18久久久久久久网站| 久久久www成人免费毛片麻豆| 国产真实乱对白精彩久久| 国产女主播在线一区二区| 91视频.com| 免费日韩伦理电影| 中文字幕亚洲一区二区av在线| 91麻豆成人久久精品二区三区| 亚洲午夜久久久久中文字幕久| 在线亚洲人成电影网站色www| 日韩在线一区二区| 国产精品理论在线观看| 欧美一区二区视频观看视频| 成人黄色小视频在线观看| 亚洲自拍偷拍九九九| 久久这里只精品最新地址| 欧美影院午夜播放| 国产69精品久久久久777| 亚洲国产欧美一区二区三区丁香婷| 精品成人a区在线观看| 91久久线看在观草草青青| 国产精品一线二线三线| 六月丁香婷婷久久| 午夜成人免费视频| 亚洲综合色自拍一区| 国产精品成人一区二区三区夜夜夜| 91精品国产高清一区二区三区蜜臀| 99久久亚洲一区二区三区青草| 国产在线精品免费| 国产伦精一区二区三区| 精品影视av免费| 激情偷乱视频一区二区三区|