diff options
Diffstat (limited to 'sim/common/hw-events.h')
-rw-r--r-- | sim/common/hw-events.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/common/hw-events.h b/sim/common/hw-events.h index a9b6f8b..29e10fa 100644 --- a/sim/common/hw-events.h +++ b/sim/common/hw-events.h @@ -58,4 +58,8 @@ void hw_event_queue_deschedule signed64 hw_event_queue_time (struct hw *me); +/* Returns the time that remains before the event is raised. */ +signed64 hw_event_remain_time +(struct hw *me, struct hw_event *event); + #endif |