|
![]() |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RelativeTime | |
---|---|
com.aicas.jamaica.lang | Provides classes that are specific to JamaicaVM including access to the CPU timer, debugging support, and an API for generating and dumping profiles. |
javax.realtime | Jamaica's implementation of the Real-Time Specification for Java. |
Uses of RelativeTime in com.aicas.jamaica.lang |
---|
Methods in com.aicas.jamaica.lang that return RelativeTime | |
---|---|
static RelativeTime |
CpuTime.getAccurateCpuTime(Thread t,
RelativeTime time)
This method retrieves the current CPU time that was consumed by the given thread and stores it into the given relativeTime-object. |
Methods in com.aicas.jamaica.lang with parameters of type RelativeTime | |
---|---|
static void |
CpuTime.cycles2RelativeTime(long cycles,
RelativeTime relTime)
Convert a number of CPU cycles into a RelativeTime value. |
static RelativeTime |
CpuTime.getAccurateCpuTime(Thread t,
RelativeTime time)
This method retrieves the current CPU time that was consumed by the given thread and stores it into the given relativeTime-object. |
static long |
CpuTime.relativeTime2Cycles(RelativeTime relTime)
Convert a positive relative time to a CPU cycles value. |
Uses of RelativeTime in javax.realtime |
---|
Subclasses of RelativeTime in javax.realtime | |
---|---|
class |
RationalTime
Deprecated. RTSJ V1.0.1 class RationalTime is deprecated |
Methods in javax.realtime that return RelativeTime | |
---|---|
RelativeTime |
RelativeTime.add(long millis,
int nanos)
add adds time given in milliseconds and nanoseconds to this relative time. |
RelativeTime |
RelativeTime.add(long millis,
int nanos,
RelativeTime dest)
add adds time given in milliseconds and nanoseconds to this relative time. |
RelativeTime |
RelativeTime.add(RelativeTime time)
add adds interval given as an instance of RelativeTime to this relative time. |
RelativeTime |
RelativeTime.add(RelativeTime time,
RelativeTime dest)
add adds interval given as an instance of RelativeTime to this relative time. |
RelativeTime |
ReleaseParameters.getCost()
getCost returns the current value of cost |
RelativeTime |
ProcessingGroupParameters.getCost()
getCost returns the current value for cost |
RelativeTime |
ReleaseParameters.getDeadline()
getDeadline returns the current deadline. |
RelativeTime |
ProcessingGroupParameters.getDeadline()
getDeadline returns the current deadline. |
abstract RelativeTime |
Clock.getEpochOffset()
getEpochOffset returns the relative time of the offset from the Epoch (1. |
RelativeTime |
RationalTime.getInterarrivalTime()
Deprecated. RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. |
RelativeTime |
RelativeTime.getInterarrivalTime()
Deprecated. RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. |
RelativeTime |
RationalTime.getInterarrivalTime(RelativeTime dest)
Deprecated. RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. |
RelativeTime |
RelativeTime.getInterarrivalTime(RelativeTime dest)
Deprecated. RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. |
RelativeTime |
PeriodicTimer.getInterval()
getInterval returns the interval of this periodic timer. |
RelativeTime |
SporadicParameters.getMinimumInterarrival()
getMinimumInterarrival returns the minimum interarrival time. |
RelativeTime |
PeriodicParameters.getPeriod()
getPeriod returns the current period. |
RelativeTime |
ProcessingGroupParameters.getPeriod()
getPeriod returns the current period. |
abstract RelativeTime |
GarbageCollector.getPreemptionLatency()
getPreemptionLatency returns the maximum time required for any schedulable object to preempt ongoing garbage collection activity. |
abstract RelativeTime |
Clock.getResolution()
getResolution returns the resolution of this clock, i.e. |
RelativeTime |
RelativeTime.negate()
Multiply the current time by -1. |
RelativeTime |
RelativeTime.negate(RelativeTime destination)
Multiply the current time by -1. |
RelativeTime |
RelativeTime.relative(Clock clock)
relative returns a new instance of this interval with the given clock association. |
abstract RelativeTime |
HighResolutionTime.relative(Clock clock)
relative returns a new relative time object for this relative to the given clock. |
RelativeTime |
AbsoluteTime.relative(Clock clock)
relative implements abstract method inherited from HighResolutionTime. |
RelativeTime |
RelativeTime.relative(Clock clock,
RelativeTime destination)
relative returns a copy of this interval with the given clock association. |
abstract RelativeTime |
HighResolutionTime.relative(Clock clock,
RelativeTime time)
relative converts this time to a relative time using the given clock. |
RelativeTime |
AbsoluteTime.relative(Clock clock,
RelativeTime dest)
relative implements abstract method inherited from HighResolutionTime. |
RelativeTime |
RelativeTime.scale(int factor)
multiply the current time by an integral scaling factor. |
RelativeTime |
RelativeTime.scale(int factor,
RelativeTime destination)
Multiply the current time by an integral factor. |
RelativeTime |
AbsoluteTime.subtract(AbsoluteTime time)
subtract subtracts another absolute time from this absolute time. |
RelativeTime |
AbsoluteTime.subtract(AbsoluteTime time,
RelativeTime dest)
subtract subtracts another absolute time from this absolute time. |
RelativeTime |
RelativeTime.subtract(RelativeTime time)
substract substracts interval given as an instance of RelativeTime from this relative time. |
RelativeTime |
RelativeTime.subtract(RelativeTime time,
RelativeTime dest)
Subtracts time from this. |
Methods in javax.realtime with parameters of type RelativeTime | |
---|---|
RelativeTime |
RelativeTime.add(long millis,
int nanos,
RelativeTime dest)
add adds time given in milliseconds and nanoseconds to this relative time. |
RelativeTime |
RelativeTime.add(RelativeTime time)
add adds interval given as an instance of RelativeTime to this relative time. |
AbsoluteTime |
AbsoluteTime.add(RelativeTime time)
add adds interval given as RelativeTime instance to this absolute time. |
AbsoluteTime |
AbsoluteTime.add(RelativeTime time,
AbsoluteTime dest)
add adds interval given as RelativeTime instance to this absolute time. |
RelativeTime |
RelativeTime.add(RelativeTime time,
RelativeTime dest)
add adds interval given as an instance of RelativeTime to this relative time. |
RelativeTime |
RationalTime.getInterarrivalTime(RelativeTime dest)
Deprecated. RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. |
RelativeTime |
RelativeTime.getInterarrivalTime(RelativeTime dest)
Deprecated. RTSJ V1.0.1 this method is only required to support the deprecated RationalTime. |
RelativeTime |
RelativeTime.negate(RelativeTime destination)
Multiply the current time by -1. |
RelativeTime |
RelativeTime.relative(Clock clock,
RelativeTime destination)
relative returns a copy of this interval with the given clock association. |
abstract RelativeTime |
HighResolutionTime.relative(Clock clock,
RelativeTime time)
relative converts this time to a relative time using the given clock. |
RelativeTime |
AbsoluteTime.relative(Clock clock,
RelativeTime dest)
relative implements abstract method inherited from HighResolutionTime. |
RelativeTime |
RelativeTime.scale(int factor,
RelativeTime destination)
Multiply the current time by an integral factor. |
void |
ReleaseParameters.setCost(RelativeTime cost)
setCost sets the cost for this ReleaseParameters. |
void |
ProcessingGroupParameters.setCost(RelativeTime cost)
setCost sets the cost value. |
void |
ReleaseParameters.setDeadline(RelativeTime deadline)
setDeadline sets the deadline. |
void |
ProcessingGroupParameters.setDeadline(RelativeTime deadline)
setDeadline set the deadline to a new value. |
boolean |
ReleaseParameters.setIfFeasible(RelativeTime cost,
RelativeTime deadline)
setIfFeasible performs a feasibility analysis using the new cost and deadline parameters. |
boolean |
AperiodicParameters.setIfFeasible(RelativeTime cost,
RelativeTime deadline)
setIfFeasible performs a feasibility analysis using the new cost and deadline parameters. |
boolean |
ReleaseParameters.setIfFeasible(RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler)
setIfFeasible performs a feasibility analysis using the new period, cost and deadline parameters. |
boolean |
SporadicParameters.setIfFeasible(RelativeTime interarrival,
RelativeTime cost,
RelativeTime deadline)
setIfFeasible performs a feasibility analysis using the new period, cost and deadline parameters. |
boolean |
PeriodicParameters.setIfFeasible(RelativeTime period,
RelativeTime cost,
RelativeTime deadline)
setIfFeasible performs a feasibility analysis using the new period, cost, and deadline parameters. |
boolean |
ProcessingGroupParameters.setIfFeasible(RelativeTime period,
RelativeTime cost,
RelativeTime deadline)
setIfFeasible performs a feasibility analysis using the new period, cost, and deadline parameters. |
void |
PeriodicTimer.setInterval(RelativeTime newinterval)
setInterval changes the interval for this periodic timer. |
void |
SporadicParameters.setMinimumInterarrival(RelativeTime interarrival)
setMinimumInterarrival sets the minimum interarrival time to a new value, independent on the impact this will have on the feasibility of the system. |
void |
PeriodicParameters.setPeriod(RelativeTime period)
setPeriod sets the period. |
void |
ProcessingGroupParameters.setPeriod(RelativeTime period)
setPeriod sets the period to a new value. |
abstract void |
Clock.setResolution(RelativeTime resolution)
setResolution sets the resolution of this time to the provided value. |
RelativeTime |
AbsoluteTime.subtract(AbsoluteTime time,
RelativeTime dest)
subtract subtracts another absolute time from this absolute time. |
RelativeTime |
RelativeTime.subtract(RelativeTime time)
substract substracts interval given as an instance of RelativeTime from this relative time. |
AbsoluteTime |
AbsoluteTime.subtract(RelativeTime time)
subtract subtracts an interval given as an instance of RelativeTime from this. |
AbsoluteTime |
AbsoluteTime.subtract(RelativeTime time,
AbsoluteTime dest)
subtract subtracts an interval given as an instance of RelativeTime from this. |
RelativeTime |
RelativeTime.subtract(RelativeTime time,
RelativeTime dest)
Subtracts time from this. |
Constructors in javax.realtime with parameters of type RelativeTime | |
---|---|
AperiodicParameters(RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler)
Constructor of AperiodicParameters to be used as ReleaseParameters for AsyncEventHandler if the event handler will be scheduled aperiodically. |
|
PeriodicParameters(HighResolutionTime start,
RelativeTime period)
Create a PeriodicParameters object. |
|
PeriodicParameters(HighResolutionTime start,
RelativeTime period,
RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler)
Constructor to create an instance of PeriodicParameters with the given initial settings. |
|
PeriodicParameters(RelativeTime period)
Create a PeriodicParameters object. |
|
PeriodicTimer(HighResolutionTime start,
RelativeTime interval,
AbstractAsyncEventHandler handler)
Constructor to create an instance with given time, interval and handler. |
|
PeriodicTimer(HighResolutionTime start,
RelativeTime interval,
AsyncEventHandler handler)
Constructor to create an instance with given time, interval and handler. |
|
PeriodicTimer(HighResolutionTime start,
RelativeTime interval,
Clock clock,
AbstractAsyncEventHandler handler)
Constructor to create an instance with given time, interval, clock and handler. |
|
PeriodicTimer(HighResolutionTime start,
RelativeTime interval,
Clock clock,
AsyncEventHandler handler)
Constructor to create an instance with given time, interval, clock and handler. |
|
ProcessingGroupParameters(HighResolutionTime start,
RelativeTime period,
RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler)
Constructor to create a new instance of ProcessingGroupParameters. |
|
RationalTime(int frequency,
RelativeTime interval)
Deprecated. RTSJ V1.0.1 class RationalTime is deprecated |
|
RelativeTime(RelativeTime time)
Constructor to create a new RelativeTime object that represents the same interval as the given RelativeTime and that has the same clock association. |
|
RelativeTime(RelativeTime time,
Clock clock)
Constructor to create a new RelativeTime object that represents the same interval as the given RelativeTime and that has the same clock association or the clock association provided as a non-null clock parameter. |
|
ReleaseParameters(RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler)
Constructor to create a new instance of ReleaseParameters. |
|
SporadicParameters(RelativeTime interarrival)
Create a SporadicParameters object. |
|
SporadicParameters(RelativeTime interarrival,
RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler)
Constructor of SporadicParameters to be used as ReleaseParameters for AbstractAsyncEventHandler if the event handler will be scheduled aperiodically with a miminum interarrival time between each two releases. |
|
![]() |
|||||||||
PREV NEXT | FRAMES NO FRAMES |