DRCL J-Sim API

drcl.sim.event
Class SESimulatorOld

java.lang.Object
  extended bydrcl.DrclObj
      extended bydrcl.comp.ForkManager
          extended bydrcl.comp.ACARuntime
              extended bydrcl.sim.event.SESimulatorOld
All Implemented Interfaces:
java.lang.Cloneable, ObjectCloneable, ObjectDuplicable, java.io.Serializable

public class SESimulatorOld
extends ACARuntime

This is the previous version of the sequential event simulation engine. Refer to SESimulator for the complete implementation.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class drcl.comp.ACARuntime
debug, DEFAULT_RUNTIME, logenabled, resetting, State_INACTIVE, State_RUNNING, State_SUSPENDED
 
Constructor Summary
SESimulatorOld()
           
SESimulatorOld(java.lang.String name_)
           
 
Method Summary
 void ___PROFILE___()
           
 java.lang.String a_info(boolean listWaitingTasks_)
          Asynchronous version of ACARuntime.diag().
 void forceReset()
          Forces to reset this runtime.
 java.lang.Object getEventQueue()
           
 double getEventRate()
          Returns the event processing rate of this runtime.
 SEThreadOld getMainThread()
           
 long getNumberOfArrivalEvents()
          Returns the number of arrival events.
 long getWallTimeElapsed()
          Returns the actual time (in ms) for which this runtime has participated.
 java.lang.String info()
          Returns general information of this runtime.
 void println(java.lang.String msg_)
           
 void reset()
           
 void resume()
          Resumes the system.
 java.lang.String s_info()
           
 java.lang.String ss_info()
          Synchronized version of s_info().
 java.lang.String t_info()
           
 java.lang.String tasks()
          Returns information of the task queue.
 
Methods inherited from class drcl.comp.ACARuntime
a_info, addDebugLevel, addRunHook, addRunnable, addRunnable, addRunnableAt, addRunnableAt, addStateListener, addStopHook, addSuspendHook, containsDebugLevel, debug_info, diag, diag, getAllDebugLevels, getAllStateListeners, getName, getParent, getState, getTime, getTimeScale, isDebugEnabled, isDebugEnabledAt, isIdle, isRunning, isStopped, isSuspended, notifyStateListeners, reboot, removeAllRunHooks, removeAllStopHooks, removeAllSuspendHooks, removeDebugLevel, removeRunHook, removeStateListener, removeStopHook, removeSuspendHook, resumeFor, resumeTo, setDebugEnabled, setDebugEnabledAt, setDebugLevels, setMaxWorkforce, setName, setParent, setRuntime, setTimeScale, stop, stop, stopAt, takeover, takeover, toString, tr_info
 
Methods inherited from class drcl.comp.ForkManager
a_list, getRuntime, info, list, takeover
 
Methods inherited from class drcl.DrclObj
clone, duplicate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SESimulatorOld

public SESimulatorOld()

SESimulatorOld

public SESimulatorOld(java.lang.String name_)
Method Detail

info

public java.lang.String info()
Description copied from class: ACARuntime
Returns general information of this runtime.

Specified by:
info in class ACARuntime

ss_info

public java.lang.String ss_info()
Synchronized version of s_info().


s_info

public java.lang.String s_info()

getMainThread

public SEThreadOld getMainThread()

a_info

public java.lang.String a_info(boolean listWaitingTasks_)
Asynchronous version of ACARuntime.diag().

Specified by:
a_info in class ACARuntime

tasks

public java.lang.String tasks()
Returns information of the task queue.


forceReset

public void forceReset()
Forces to reset this runtime.


___PROFILE___

public void ___PROFILE___()

getNumberOfArrivalEvents

public long getNumberOfArrivalEvents()
Description copied from class: ACARuntime
Returns the number of arrival events.

Specified by:
getNumberOfArrivalEvents in class ACARuntime

getEventRate

public double getEventRate()
Description copied from class: ACARuntime
Returns the event processing rate of this runtime.

Specified by:
getEventRate in class ACARuntime

resume

public void resume()
Description copied from class: ACARuntime
Resumes the system. The state must advance to RUNNING when this method returns.

Specified by:
resume in class ACARuntime

reset

public void reset()
Specified by:
reset in class ACARuntime

getWallTimeElapsed

public long getWallTimeElapsed()
Description copied from class: ACARuntime
Returns the actual time (in ms) for which this runtime has participated.

Specified by:
getWallTimeElapsed in class ACARuntime

t_info

public java.lang.String t_info()
Overrides:
t_info in class ACARuntime

println

public void println(java.lang.String msg_)

getEventQueue

public java.lang.Object getEventQueue()
Specified by:
getEventQueue in class ACARuntime

DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~