Package | Description |
---|---|
io.ciera.runtime.summit.application | |
io.ciera.runtime.summit.time | |
io.ciera.runtime.summit.util | |
io.ciera.runtime.summit.util.impl |
Modifier and Type | Method and Description |
---|---|
TimerHandle |
ApplicationExecutor.addTimer(Timer timer) |
TimerHandle |
IRunContext.addTimer(Timer timer) |
Modifier and Type | Method and Description |
---|---|
boolean |
ApplicationExecutor.cancelTimer(TimerHandle t) |
boolean |
IRunContext.cancelTimer(TimerHandle t) |
Timer |
ApplicationExecutor.getTimer(TimerHandle t) |
Timer |
IRunContext.getTimer(TimerHandle t) |
Modifier and Type | Method and Description |
---|---|
static TimerHandle |
TimerHandle.deserialize(Object o) |
TimerHandle |
Timer.getId() |
static TimerHandle |
TimerHandle.random() |
Constructor and Description |
---|
Timer(TimerHandle id,
int populationId,
EventHandle e,
long wakeUpTime,
int period,
boolean recur) |
Modifier and Type | Method and Description |
---|---|
TimerHandle |
TIM.timer_start_recurring(EventHandle event_inst,
int microseconds)
Start a new recurring timer to wake in
microseconds microseconds
from the current system time. |
TimerHandle |
TIM.timer_start(EventHandle event_inst,
int microseconds)
Start a new timer to wake in
microseconds microseconds from the
current system time. |
Modifier and Type | Method and Description |
---|---|
boolean |
TIM.timer_add_time(int microseconds,
TimerHandle timer_inst_ref)
Add time to a running timer.
|
boolean |
TIM.timer_cancel(TimerHandle timer_inst_ref)
Cancel a running timer.
|
int |
TIM.timer_remaining_time(TimerHandle timer_inst_ref)
Get the remaining time of a running timer in microseconds.
|
boolean |
TIM.timer_reset_time(int microseconds,
TimerHandle timer_inst_ref)
Reset the timer and set a new duration from the current system time.
|
Modifier and Type | Method and Description |
---|---|
TimerHandle |
TIMImpl.timer_start_recurring(EventHandle event_inst,
int microseconds) |
TimerHandle |
TIMImpl.timer_start(EventHandle event_inst,
int microseconds) |
Modifier and Type | Method and Description |
---|---|
boolean |
TIMImpl.timer_add_time(int microseconds,
TimerHandle timer_inst_ref) |
boolean |
TIMImpl.timer_cancel(TimerHandle timer_inst_ref) |
int |
TIMImpl.timer_remaining_time(TimerHandle timer_inst_ref) |
boolean |
TIMImpl.timer_reset_time(int microseconds,
TimerHandle timer_inst_ref) |
Copyright © 2020. All rights reserved.