mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
e8db9bda9a
commit
2ba5f8f4f3
@ -65,10 +65,9 @@ bool Timeout::Alarm::on_alarm(unsigned)
|
||||
** Alarm_timeout_scheduler **
|
||||
*****************************/
|
||||
|
||||
void Alarm_timeout_scheduler::handle_timeout(Duration)
|
||||
void Alarm_timeout_scheduler::handle_timeout(Duration duration)
|
||||
{
|
||||
unsigned long const curr_time_us =
|
||||
_time_source.curr_time().trunc_to_plain_us().value;
|
||||
unsigned long const curr_time_us = duration.trunc_to_plain_us().value;
|
||||
|
||||
_alarm_scheduler.handle(curr_time_us);
|
||||
|
||||
|
@ -92,7 +92,7 @@ void Timer::Connection::_handle_timeout()
|
||||
_update_real_time();
|
||||
}
|
||||
if (_handler) {
|
||||
_handler->handle_timeout(Duration(Microseconds(us)));
|
||||
_handler->handle_timeout(curr_time());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user