mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
committed by
Christian Helmuth
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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user