com.sentilla.platform.tmote
Class Cpu

java.lang.Object
  extended by com.sentilla.platform.tmote.Action
      extended by com.sentilla.platform.tmote.Cpu
All Implemented Interfaces:
Action, Cpu

public class Cpu
extends Action
implements Cpu

Provides access to features of the Tmote CPU.


Field Summary
 
Fields inherited from class com.sentilla.platform.tmote.Action
actionAuto, actionId, actionState, isolateOwner
 
Fields inherited from interface com.sentilla.system.Action
DONE, ERROR, IDLE, PENDING
 
Constructor Summary
Cpu()
           
 
Method Summary
static void clearMimeoWatchdog()
          Restart the Mimeo watchdog timer.
protected static void clearMimeoWatchdog(int password)
           
 int getCpuSeconds()
           
static void heapDump()
          for Sentilla internal use only
static void profileClear()
          for Sentilla internal use only
static void profileDump()
          for Sentilla internal use only
 void reboot()
           
static void stopMimeoWatchdog()
          stop the Mimeo watchdog timer.
 
Methods inherited from class com.sentilla.platform.tmote.Action
block, block, cancel, getActionState, initAction, isDone, lookup, submit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sentilla.system.Action
block, block, cancel, getActionState, isDone, submit
 

Constructor Detail

Cpu

public Cpu()
Method Detail

heapDump

public static void heapDump()
for Sentilla internal use only


profileDump

public static void profileDump()
for Sentilla internal use only


profileClear

public static void profileClear()
for Sentilla internal use only


clearMimeoWatchdog

protected static void clearMimeoWatchdog(int password)

clearMimeoWatchdog

public static void clearMimeoWatchdog()
Restart the Mimeo watchdog timer. This is used internally by the Mimeo thread; there is no need for user code to call this.


stopMimeoWatchdog

public static void stopMimeoWatchdog()
stop the Mimeo watchdog timer. The Mimeo watchdog will be disabled. Use clearMimeoWatchdog() to restart the Mimeo watchdog. This is used internally by Mimeo; there is no need for user code to call this.


reboot

public void reboot()
Specified by:
reboot in interface Cpu

getCpuSeconds

public int getCpuSeconds()
Specified by:
getCpuSeconds in interface Cpu


Copyright © 2007 Sentilla Corporation. All Rights Reserved.