[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/TestPowerManager MyComponentC.nc, 1.1.4.3, 1.1.4.4

Kevin Klues klueska at users.sourceforge.net
Wed Jun 21 09:02:07 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/TestPowerManager
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv21075/apps/tests/TestPowerManager

Modified Files:
      Tag: tos-2-resource-pm-eval-cand
	MyComponentC.nc 
Log Message:
Updated to reflect changes to the newly propsed resource TEP

Index: MyComponentC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/TestPowerManager/Attic/MyComponentC.nc,v
retrieving revision 1.1.4.3
retrieving revision 1.1.4.4
diff -C2 -d -r1.1.4.3 -r1.1.4.4
*** MyComponentC.nc	7 Jun 2006 10:47:16 -0000	1.1.4.3
--- MyComponentC.nc	21 Jun 2006 16:02:05 -0000	1.1.4.4
***************
*** 47,62 ****
               new ControlledFcfsArbiterC(MYCOMPONENT_RESOURCE) as Arbiter,
  //              new AsyncStdControlPowerManagerC() as PowerManager;
!              new AsyncStdControlDeferredPowerManagerC(750) as PowerManager;
  //              new StdControlPowerManagerC() as PowerManager;
  //              new StdControlDeferredPowerManagerC(750) as PowerManager;
  //              new SplitControlPowerManagerC() as PowerManager;
! //              new SplitControlDeferredPowerManagerC(750) as PowerManager;
  
    Init = PowerManager;
    Resource = Arbiter;
  
!   PowerManager.AsyncStdControl -> MyComponentP.AsyncStdControl;
  //   PowerManager.StdControl -> MyComponentP.StdControl;
! //   PowerManager.SplitControl -> MyComponentP.SplitControl;
    PowerManager.ResourceController -> Arbiter.ResourceController;
    PowerManager.ArbiterInfo -> Arbiter.ArbiterInfo;
--- 47,62 ----
               new ControlledFcfsArbiterC(MYCOMPONENT_RESOURCE) as Arbiter,
  //              new AsyncStdControlPowerManagerC() as PowerManager;
! //              new AsyncStdControlDeferredPowerManagerC(750) as PowerManager;
  //              new StdControlPowerManagerC() as PowerManager;
  //              new StdControlDeferredPowerManagerC(750) as PowerManager;
  //              new SplitControlPowerManagerC() as PowerManager;
!              new SplitControlDeferredPowerManagerC(750) as PowerManager;
  
    Init = PowerManager;
    Resource = Arbiter;
  
! //   PowerManager.AsyncStdControl -> MyComponentP.AsyncStdControl;
  //   PowerManager.StdControl -> MyComponentP.StdControl;
!   PowerManager.SplitControl -> MyComponentP.SplitControl;
    PowerManager.ResourceController -> Arbiter.ResourceController;
    PowerManager.ArbiterInfo -> Arbiter.ArbiterInfo;



More information about the Tinyos-2-commits mailing list