Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 if the the CPU
usage monitoring is supported.
|
Modifier and Type | Class and Description |
---|---|
class |
RationalTime
Deprecated.
RTSJ V1.0.1 class RationalTime is deprecated
|
Modifier and Type | Method and Description |
---|---|
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 rturns 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.
|
RelativeTime |
Chronograph.getEpochOffset()
Determines the time on the UTC clock when this chronograph was
zero.
|
RelativeTime |
Clock.getEpochOffset()
Determines the time on the UTC clock when this chronograph was
zero.
|
RelativeTime |
Chronograph.getEpochOffset(RelativeTime dest)
Determines the difference between the epoch of this clock from the Epoch.
|
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 |
ProcessingGroupParameters.getPeriod()
getPeriod returns the current period.
|
RelativeTime |
PeriodicParameters.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.
|
RelativeTime |
Chronograph.getQueryPrecision()
Obtain the precision with which time can be read, i.e., the nominal
interval between ticks.
|
RelativeTime |
Clock.getQueryPrecision() |
RelativeTime |
Chronograph.getQueryPrecision(RelativeTime dest)
Obtain the precision with which time can be read, i.e., the nominal
interval between ticks.
|
RelativeTime |
Clock.getQueryPrecision(RelativeTime dest) |
abstract RelativeTime |
Clock.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 |
AbsoluteTime.relative(Chronograph chronograph)
relative implements abstract method inherited from
HighResolutionTime.
|
abstract RelativeTime |
HighResolutionTime.relative(Chronograph chronograph)
relative returns a new relative time object for this relative to
the given chronograph.
|
RelativeTime |
RelativeTime.relative(Chronograph chronograph)
relative returns a new instance of this interval with the given
chronograph association.
|
RelativeTime |
AbsoluteTime.relative(Chronograph chronograph,
RelativeTime dest)
relative implements abstract method inherited from
HighResolutionTime.
|
abstract RelativeTime |
HighResolutionTime.relative(Chronograph chronograph,
RelativeTime time)
relative converts this time to a relative time using the given
chronograph.
|
RelativeTime |
RelativeTime.relative(Chronograph chronograph,
RelativeTime destination)
relative returns a copy of this interval with the given chronograph
association.
|
RelativeTime |
AbsoluteTime.relative(Clock clock)
relative implements abstract method inherited from
HighResolutionTime.
|
abstract RelativeTime |
HighResolutionTime.relative(Clock clock)
relative returns a new relative time object for this relative to
the given clock.
|
RelativeTime |
RelativeTime.relative(Clock clock)
relative returns a new instance of this interval with the given
clock association.
|
RelativeTime |
AbsoluteTime.relative(Clock clock,
RelativeTime dest)
relative implements abstract method inherited from
HighResolutionTime.
|
abstract RelativeTime |
HighResolutionTime.relative(Clock clock,
RelativeTime time)
relative converts this time to a relative time using the given
clock.
|
RelativeTime |
RelativeTime.relative(Clock clock,
RelativeTime destination)
relative returns a copy of this interval with the given clock
association.
|
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 |
RationalTime.set(RelativeTime time)
Deprecated.
Changes the value represented by
this to that of the given
time . |
RelativeTime |
AbsoluteTime.subtract(AbsoluteTime time)
subtract subtracts another absolute time from this absolute
time.
|
RelativeTime |
AbsoluteTime.subtract(AbsoluteTime time,
RelativeTime dest)
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.
|
Modifier and Type | Method and Description |
---|---|
RelativeTime |
RelativeTime.add(long millis,
int nanos,
RelativeTime dest)
add adds time given in milliseconds and nanoseconds to this
relative time.
|
AbsoluteTime |
AbsoluteTime.add(RelativeTime time)
add adds interval given as RelativeTime instance to this
absolute time.
|
RelativeTime |
RelativeTime.add(RelativeTime time)
add adds interval given as an instance of RelativeTime to this
relative 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 |
Chronograph.getEpochOffset(RelativeTime dest)
Determines the difference between the epoch of this clock from the Epoch.
|
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 |
Chronograph.getQueryPrecision(RelativeTime dest)
Obtain the precision with which time can be read, i.e., the nominal
interval between ticks.
|
RelativeTime |
Clock.getQueryPrecision(RelativeTime dest) |
RelativeTime |
RelativeTime.negate(RelativeTime destination)
Multiply the current time by -1.
|
RelativeTime |
AbsoluteTime.relative(Chronograph chronograph,
RelativeTime dest)
relative implements abstract method inherited from
HighResolutionTime.
|
abstract RelativeTime |
HighResolutionTime.relative(Chronograph chronograph,
RelativeTime time)
relative converts this time to a relative time using the given
chronograph.
|
RelativeTime |
RelativeTime.relative(Chronograph chronograph,
RelativeTime destination)
relative returns a copy of this interval with the given chronograph
association.
|
RelativeTime |
AbsoluteTime.relative(Clock clock,
RelativeTime dest)
relative implements abstract method inherited from
HighResolutionTime.
|
abstract RelativeTime |
HighResolutionTime.relative(Clock clock,
RelativeTime time)
relative converts this time to a relative time using the given
clock.
|
RelativeTime |
RelativeTime.relative(Clock clock,
RelativeTime destination)
relative returns a copy of this interval with the given clock
association.
|
RelativeTime |
RelativeTime.scale(int factor,
RelativeTime destination)
Multiply the current time by an integral factor.
|
RelativeTime |
RationalTime.set(RelativeTime time)
Deprecated.
Changes the value represented by
this to that of the given
time . |
T |
ReleaseParameters.setCost(RelativeTime cost)
setCost sets the cost for this ReleaseParameters.
|
void |
ProcessingGroupParameters.setCost(RelativeTime cost)
setCost sets the cost value.
|
T |
ReleaseParameters.setDeadline(RelativeTime deadline)
setDeadline sets the deadline.
|
void |
ProcessingGroupParameters.setDeadline(RelativeTime deadline)
setDeadline set the deadline to a new 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.
|
boolean |
ReleaseParameters.setIfFeasible(RelativeTime cost,
RelativeTime deadline)
setIfFeasible performs a feasibility analysis using the new
cost and deadline parameters.
|
boolean |
SporadicParameters.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.
|
boolean |
ProcessingGroupParameters.setIfFeasible(RelativeTime period,
RelativeTime cost,
RelativeTime deadline)
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.
|
PeriodicTimer |
PeriodicTimer.setInterval(RelativeTime newinterval)
setInterval changes the interval for this periodic timer.
|
SporadicParameters |
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 |
ProcessingGroupParameters.setPeriod(RelativeTime period)
setPeriod sets the period to a new value.
|
PeriodicParameters |
PeriodicParameters.setPeriod(RelativeTime period)
setPeriod sets the period.
|
abstract void |
Clock.setResolution(RelativeTime resolution)
Sets the resolution of this time to the provided value.
|
RelativeTime |
AbsoluteTime.subtract(AbsoluteTime time,
RelativeTime dest)
subtracts another absolute time from this absolute time.
|
AbsoluteTime |
AbsoluteTime.subtract(RelativeTime time)
subtract subtracts an interval given as an instance of
RelativeTime from this.
|
RelativeTime |
RelativeTime.subtract(RelativeTime time)
substract substracts interval given as an instance of
RelativeTime from this relative time.
|
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.
|
Constructor and Description |
---|
AperiodicParameters(RelativeTime deadline)
Equivalent to
AperiodicParameters(RelativeTime, RelativeTime,
AsyncEventHandler, AsyncEventHandler, boolean) with the argument list
(null, deadline, null, null, false) . |
AperiodicParameters(RelativeTime deadline,
AsyncEventHandler missHandler,
boolean rousable)
Equivalent to
AperiodicParameters(RelativeTime, RelativeTime,
AsyncEventHandler, AsyncEventHandler, boolean) with the argument list
(null, deadline, null, missHandler, rousable) . |
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.
|
AperiodicParameters(RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler,
boolean rousable)
Creates an
AperiodicParameters object. |
PeriodicParameters(HighResolutionTime<?> start,
RelativeTime period)
Create a PeriodicParameters object.
|
PeriodicParameters(HighResolutionTime<?> start,
RelativeTime period,
RelativeTime deadline,
AsyncEventHandler missHandler,
boolean rousable)
Equivalent to
PeriodicParameters(HighResolutionTime,
RelativeTime, RelativeTime, RelativeTime, AsyncEventHandler,
AsyncEventHandler, boolean) with the argument list
(start, period, deadline, null, null, missHandler, rousable) ; |
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(HighResolutionTime<?> start,
RelativeTime period,
RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler,
boolean rousable)
Creates a
PeriodicParameters object with attributes set to
the specified values. |
PeriodicParameters(RelativeTime period)
Create a PeriodicParameters object.
|
PeriodicTimer(HighResolutionTime<?> start,
RelativeTime interval,
AsyncBaseEventHandler 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,
AsyncBaseEventHandler 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
chronograph association.
|
RelativeTime(RelativeTime time,
Chronograph chronograph)
Constructor to create a new RelativeTime object that represents
the same interval as the given RelativeTime and that has the same
chronograph association or the chronograph association provided
as the clock parameter.
|
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.
|
ReleaseParameters(RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler,
boolean rousable)
Constructor to create a new instance of ReleaseParameters.
|
SporadicParameters(RelativeTime minInterarrival)
Create a SporadicParameters object.
|
SporadicParameters(RelativeTime minInterarrival,
RelativeTime cost,
AsyncEventHandler overrunhandler,
boolean rousable)
Equivalent to
SporadicParameters(RelativeTime, RelativeTime,
RelativeTime, AsyncEventHandler, AsyncEventHandler, boolean) with an
argument list of (minInterarrival, null, deadline, null,
missHandler, rousable) . |
SporadicParameters(RelativeTime minInterarrival,
RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler)
Constructor of SporadicParameters to be used as ReleaseParameters
for AsyncBaseEventHandler if the event handler will be scheduled
aperiodically with a miminum interarrival time between each two
releases.
|
SporadicParameters(RelativeTime minInterarrival,
RelativeTime cost,
RelativeTime deadline,
AsyncEventHandler overrunHandler,
AsyncEventHandler missHandler,
boolean rousable)
Creates a
SporadicParameters object. |
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2022 aicas GmbH. All Rights Reserved.