Uses of Class
javax.realtime.RelativeTime

Packages that use RelativeTime
javax.realtime   
javax.realtime.DSS   
javax.realtime.test.airplane   
javax.realtime.test.preemption   
javax.realtime.test.traffic   
 

Uses of RelativeTime in javax.realtime
 

Fields in javax.realtime declared as RelativeTime
protected  RelativeTime ReleaseParameters.cost
          The cost of this object
protected  RelativeTime ReleaseParameters.deadline
          The deadline of this object
protected  RelativeTime RealtimeThread.waitTime
          Accumulates time this RealtimeThread has spent waiting for a Resource.
protected  RelativeTime ProcessingGroupParameters.cost
           
protected  RelativeTime ProcessingGroupParameters.deadline
           
protected  RelativeTime PeriodicTimer.interval
          The interval of this PeriodicTimer
protected  RelativeTime PeriodicParameters.period
           
 

Methods in javax.realtime that return RelativeTime
 RelativeTime SporadicParameters.getMinimumInterarrival()
           
 RelativeTime ReleaseParameters.getCost()
          Return the cost of this object.
 RelativeTime ReleaseParameters.getDeadline()
          Return the deadline of this object.
 RelativeTime RelativeTime.add(long millis, long nanos)
          Create a new object representing the result of adding millis and nanos to the values from this and normalizing the result.
 RelativeTime RelativeTime.add(long millis, long nanos, RelativeTime dest)
          Return an object containing the value resulting from adding millis and nanos to the values from this and normalizing the result.
 RelativeTime RelativeTime.add(RelativeTime time)
          Create a new instance of RelativeTime representing the result of adding time to the value of this and normalizing the result.
 RelativeTime RelativeTime.add(RelativeTime time, RelativeTime dest)
          Return an object containing the value resulting from adding time to the value of this and normalizing the result.
 RelativeTime RelativeTime.relative(Clock clock)
          Return a copy of this.
 RelativeTime RelativeTime.subtract(RelativeTime time)
          Create a new instance of RelativeTime representing the result of subtracting time from the value of this and normalizing the result.
 RelativeTime RelativeTime.subtract(RelativeTime time, RelativeTime dest)
          Return an object containing the value resulting from subtracting the value of time from the value of this and normalizing the result.
 RelativeTime RelativeTime.relative(Clock clock, RelativeTime dest)
          Return a copy of this.
 RelativeTime ProcessingGroupParameters.getCost()
           
 RelativeTime ProcessingGroupParameters.getDeadline()
           
 RelativeTime PeriodicTimer.getInterval()
          Return the interval of this Timer.
 RelativeTime PeriodicParameters.getPeriod()
          Gets the period.
abstract  RelativeTime HighResolutionTime.relative(Clock clock, RelativeTime dest)
          Convert the time of this to a relative time, using the given instance of Clock to determine the current time when necessary.
abstract  RelativeTime GarbageCollector.getPreemptionLatency()
          Preemption latency is a measure of the maximum time a schedulable object may have to wait for the collector to reach a preemption-safe point.
abstract  RelativeTime Clock.getResolution()
          Return the resolution of the clock -- the interval between two ticks.
 RelativeTime AbsoluteTime.relative(Clock clock)
          Convert the time of this to a relative time, using the given instance of Clock to determine the current time.
 RelativeTime AbsoluteTime.relative(Clock clock, RelativeTime dest)
          Convert the time of this to a relative time, using the given instance of Clock to determine the current time.
 RelativeTime AbsoluteTime.subtract(AbsoluteTime time)
          Create a new instance of AbsoluteTime representing the result of subtracting time from the value of this and normalizing the result.
 RelativeTime AbsoluteTime.subtract(AbsoluteTime time, RelativeTime dest)
          Return an object containing the value resulting from subtracting time from the value of this and normalizing the result.
 RelativeTime AbsoluteTime.subtract(RelativeTime time, AbsoluteTime dest)
          Return an object containing the value resulting from subtracting time from the value of this and normalizing the result.
 

Methods in javax.realtime with parameters of type RelativeTime
 boolean SporadicParameters.setIfFeasible(RelativeTime interarrival, RelativeTime cost, RelativeTime deadline)
           
 void SporadicParameters.setMinimumInterarrival(RelativeTime minimum)
           
 void ReleaseParameters.setCost(RelativeTime cost)
          Set the cost of this object
 void ReleaseParameters.setDeadline(RelativeTime deadline)
          Set the deadline of this object
 boolean ReleaseParameters.setIfFeasible(RelativeTime cost, RelativeTime deadline)
          Set the cost and deadline of this object
 RelativeTime RelativeTime.add(long millis, long nanos, RelativeTime dest)
          Return an object containing the value resulting from adding millis and nanos to the values from this and normalizing the result.
 RelativeTime RelativeTime.add(RelativeTime time)
          Create a new instance of RelativeTime representing the result of adding time to the value of this and normalizing the result.
 RelativeTime RelativeTime.add(RelativeTime time, RelativeTime dest)
          Return an object containing the value resulting from adding time to the value of this and normalizing the result.
 RelativeTime RelativeTime.subtract(RelativeTime time)
          Create a new instance of RelativeTime representing the result of subtracting time from the value of this and normalizing the result.
 RelativeTime RelativeTime.subtract(RelativeTime time, RelativeTime dest)
          Return an object containing the value resulting from subtracting the value of time from the value of this and normalizing the result.
 RelativeTime RelativeTime.relative(Clock clock, RelativeTime dest)
          Return a copy of this.
 void RealtimeThread.addToWaitTime(RelativeTime time)
           
 void ProcessingGroupParameters.setCost(RelativeTime cost)
           
 void ProcessingGroupParameters.setDeadline(RelativeTime deadline)
           
 boolean ProcessingGroupParameters.setIfFeasible(RelativeTime period, RelativeTime cost, RelativeTime deadline)
          Not currently implemented
 void ProcessingGroupParameters.setPeriod(RelativeTime period)
           
 void PeriodicTimer.setInterval(RelativeTime interval)
          Reset the interval of this Timer
 void PeriodicParameters.setDeadline(RelativeTime deadline)
          Sets the deadline value.
 boolean PeriodicParameters.setIfFeasible(RelativeTime period, RelativeTime cost, RelativeTime deadline)
          This method first performs a feasibility analysis using the new period, cost and deadline attributes as replacements for the matching attributes of this.
 void PeriodicParameters.setPeriod(RelativeTime period)
          Sets the period.
abstract  RelativeTime HighResolutionTime.relative(Clock clock, RelativeTime dest)
          Convert the time of this to a relative time, using the given instance of Clock to determine the current time when necessary.
abstract  void Clock.setResolution(RelativeTime resolution)
          Set the resolution of this.
 void AperiodicParameters.setDeadline(RelativeTime deadline)
          Sets the deadline value.
 boolean AperiodicParameters.setIfFeasible(RelativeTime cost, RelativeTime deadline)
          This method first performs a feasibility analysis using the new cost, and deadline as replacements for the matching attributes of this.
 AbsoluteTime AbsoluteTime.add(RelativeTime time)
          Create a new instance of AbsoluteTime representing the result of adding time to the value of this and normalizing the result.
 AbsoluteTime AbsoluteTime.add(RelativeTime time, AbsoluteTime destination)
          Return an object containing the value resulting from adding time to the value of this and normalizing the result.
 RelativeTime AbsoluteTime.relative(Clock clock, RelativeTime dest)
          Convert the time of this to a relative time, using the given instance of Clock to determine the current time.
 RelativeTime AbsoluteTime.subtract(AbsoluteTime time, RelativeTime dest)
          Return an object containing the value resulting from subtracting time from the value of this and normalizing the result.
 AbsoluteTime AbsoluteTime.subtract(RelativeTime time)
          Subtract a given RelativeTime from this AbsoluteTime.
 RelativeTime AbsoluteTime.subtract(RelativeTime time, AbsoluteTime dest)
          Return an object containing the value resulting from subtracting time from the value of this and normalizing the result.
 

Constructors in javax.realtime with parameters of type RelativeTime
SporadicParameters(RelativeTime minInterarrival, RelativeTime cost, RelativeTime deadline, AsyncEventHandler overrunHandler, AsyncEventHandler missHandler)
          Create a SporadicParameters object.
SporadicParameters(RelativeTime minInterval, RelativeTime cost)
          Constructor.
ReleaseParameters(RelativeTime cost, RelativeTime deadline, AsyncEventHandler overrunHandler, AsyncEventHandler missHandler)
          Constructor.
RelativeTime(RelativeTime time)
          Make a new RelativeTime object from the given RelativeTime object.
RelativeTime(RelativeTime time, Clock clock)
          Make a new RelativeTime object from the given RelativeTime object.
ProcessingGroupParameters(HighResolutionTime start, HighResolutionTime period, RelativeTime cost, RelativeTime deadline, AsyncEventHandler overrunHandler, AsyncEventHandler missHandler)
          Constructor.
PeriodicTimer(HighResolutionTime start, RelativeTime interval, AsyncEventHandler handler)
          Create an instance of AsynchEvent that executes its fire() method periodically.
PeriodicTimer(HighResolutionTime start, RelativeTime interval, Clock clock, AsyncEventHandler handler)
          Create an instance of AsynchEvent that executes its fire() method periodically.
PeriodicParameters(HighResolutionTime start, RelativeTime period)
          Create a PeriodicParameters object.
PeriodicParameters(HighResolutionTime start, RelativeTime period, RelativeTime cost, RelativeTime deadline, AsyncEventHandler overrunHandler, AsyncEventHandler missHandler)
          Create a PeriodicParameters object.
PeriodicParameters(RelativeTime period)
          Create a PeriodicParameters object.
AperiodicParameters(RelativeTime cost, RelativeTime deadline, AsyncEventHandler overrunHandler, AsyncEventHandler missHandler)
          Create an AperiodicParameters object.
 

Uses of RelativeTime in javax.realtime.DSS
 

Fields in javax.realtime.DSS declared as RelativeTime
protected  RelativeTime Resource.busyTimeThusFar
           
protected  RelativeTime PeriodicTimerThread.interval
           
 

Methods in javax.realtime.DSS that return RelativeTime
 RelativeTime SimulationClock.getResolution()
          Return the resolution of the clock -- the interval between two ticks.
static RelativeTime DSS.fetchAndClearActivePhaseCost()
          If running under JPF, use the MJI interface to obtain the byte code execution cost of this active phase as observed through a JPF JVM listener.
 

Methods in javax.realtime.DSS with parameters of type RelativeTime
 void SimulationClock.setResolution(RelativeTime resolution)
           
static void DSS.holdGivingUpResource(RelativeTime t, Resource resource, boolean simulateActivePhaseTime)
          Perform a hold operation bracketing it by release() and seize() operations on a resource.
static void DSS.holdWithResource(RelativeTime holdTime, Resource resource, boolean simulateActivePhaseTime)
          Perform a hold operation wherein periods when the resource has been stolen do not count toward the hold time.
static void DSS.hold(RelativeTime t)
          Passivate and activate the current RealtimeThread at current time plus t.
static void DSS.hold(RelativeTime t, Resource resource)
           
static void DSS.hold(RelativeTime t, boolean simulateActivePhaseTime)
           
static void DSS.hold(RelativeTime t, boolean simulateActivePhaseTime, Resource resource)
          Passivate and activate the current RealtimeThread at current time plus t.
static double DSS.relativeTimeNanos(RelativeTime time)
           
 

Constructors in javax.realtime.DSS with parameters of type RelativeTime
Terminator(RelativeTime shutdownTime)
          Constructor
PeriodicTimerThread(java.lang.String name, int basePriority, RelativeTime interval, AsyncEvent event)
          Constructor
OneShotTimerThread(java.lang.String name, int basePriority, RelativeTime delay, AsyncEvent event)
          Constructor
ActivationLatency(RealtimeThread thread, RelativeTime delay)
           
 

Uses of RelativeTime in javax.realtime.test.airplane
 

Methods in javax.realtime.test.airplane with parameters of type RelativeTime
 int Airplane.feetCovered(RelativeTime interval)
          Feet covered at current speed for given time interval
 

Uses of RelativeTime in javax.realtime.test.preemption
 

Constructors in javax.realtime.test.preemption with parameters of type RelativeTime
Job(java.lang.String name, int priority, Resource cpu, int cycles, RelativeTime pauseTime, RelativeTime computationTime)
          Constructor
 

Uses of RelativeTime in javax.realtime.test.traffic
 

Fields in javax.realtime.test.traffic declared as RelativeTime
static RelativeTime Intersection.nominalSectorTransitTime
           
 

Methods in javax.realtime.test.traffic that return RelativeTime
 RelativeTime Intersection.timeInSector(Car car)
          Time it taks this car to transit an entire sector, at current speed -- as determined by priority
 

Constructors in javax.realtime.test.traffic with parameters of type RelativeTime
Car(java.lang.String choiceMode, int priority, java.lang.String direction, java.lang.String turn, RelativeTime cost, RelativeTime deadline, Intersection intersection, java.util.Random myRandom)