2016-12-09 22:09:17 +00:00
|
|
|
#
|
|
|
|
# \brief Genode application binary interface (ABI)
|
|
|
|
# \author Norman Feske
|
|
|
|
# \date 2016-12-20
|
|
|
|
#
|
|
|
|
# This file contains the binary application interface (ABI) provided by
|
|
|
|
# Genode's dynamic linker. Each line contains the name of a symbol followed
|
|
|
|
# by its type (according to the encoding used by binutil's 'nm' tool). Data
|
|
|
|
# symbols are furher annotated by the size of their corresponding data object.
|
|
|
|
# The latter is only needed on ARM.
|
|
|
|
#
|
|
|
|
# On the ARM architecture, copy relocations are created for read-only data
|
|
|
|
# objects that are present in shared libraries. For each data object, the
|
|
|
|
# linker preserves a slot in the program's BSS according to the object size.
|
|
|
|
# At runtime, the dynamic linker copies the data from the shared library's
|
|
|
|
# read-only segment to these slots. The copy relocations for a given binary
|
|
|
|
# can be inspected via 'objdump -R'. The size of data symbols as present in a
|
|
|
|
# shared library (like 'ld-hw.lib.a') can be inspected via 'nm --format posix'.
|
|
|
|
# The data-object sizes as annotated here must always be at least as big as the
|
|
|
|
# corresponding data objects present in the dynamic linker.
|
|
|
|
#
|
|
|
|
# The original version of this file is based on the output of the
|
|
|
|
# 'tool/abi_symbols' tool with 'ld-<platform>.lib.so' used as argument.
|
|
|
|
# However, this tool was solely used as a starting point for the - now
|
|
|
|
# manually maintained - file.
|
|
|
|
#
|
|
|
|
# Note that not all symbols present in this list are provided by each variant
|
|
|
|
# of the dynamic linker. I.e., there are a few symbols that are specific for a
|
|
|
|
# particular kernel or the C++ ABI of a specific architecture.
|
|
|
|
#
|
|
|
|
# Please keep the file sorted via 'LC_COLLATE=C sort'.
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
2017-02-20 12:23:52 +00:00
|
|
|
# Copyright (C) 2016-2017 Genode Labs GmbH
|
2016-12-09 22:09:17 +00:00
|
|
|
#
|
|
|
|
# This file is part of the Genode OS framework, which is distributed
|
2017-02-20 12:23:52 +00:00
|
|
|
# under the terms of the GNU Affero General Public License version 3.
|
2016-12-09 22:09:17 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
_Unwind_Complete T
|
|
|
|
_Unwind_DeleteException T
|
|
|
|
_Unwind_Resume T
|
|
|
|
_Z11genode_exiti T
|
|
|
|
_Z13genode_atexitPFvvE T
|
|
|
|
_Z16main_thread_utcbv T
|
|
|
|
_Z21genode___cxa_finalizePv T
|
|
|
|
_Z22__ldso_raise_exceptionv T
|
os/timer: interpolate time via timestamps
Previously, the Genode::Timer::curr_time always used the
Timer_session::elapsed_ms RPC as back end. Now, Genode::Timer reads
this remote time only in a periodic fashion independently from the calls
to Genode::Timer::curr_time. If now one calls Genode::Timer::curr_time,
the function takes the last read remote time value and adapts it using
the timestamp difference since the remote-time read. The conversion
factor from timestamps to time is estimated on every remote-time read
using the last read remote-time value and the timestamp difference since
the last remote time read.
This commit also re-works the timeout test. The test now has two stages.
In the first stage, it tests fast polling of the
Genode::Timer::curr_time. This stage checks the error between locally
interpolated and timer-driver time as well as wether the locally
interpolated time is monotone and sufficiently homogeneous. In the
second stage several periodic and one-shot timeouts are scheduled at
once. This stage checks if the timeouts trigger sufficiently precise.
This commit adds the new Kernel::time syscall to base-hw. The syscall is
solely used by the Genode::Timer on base-hw as substitute for the
timestamp. This is because on ARM, the timestamp function uses the ARM
performance counter that stops counting when the WFI (wait for
interrupt) instruction is active. This instruction, however is used by
the base-hw idle contexts that get active when no user thread needs to
be scheduled. Thus, the ARM performance counter is not a good choice for
time interpolation and we use the kernel internal time instead.
With this commit, the timeout library becomes a basic library. That means
that it is linked against the LDSO which then provides it to the program it
serves. Furthermore, you can't use the timeout library anymore without the
LDSO because through the kernel-dependent LDSO make-files we can achieve a
kernel-dependent timeout implementation.
This commit introduces a structured Duration type that shall successively
replace the use of Microseconds, Milliseconds, and integer types for duration
values.
Open issues:
* The timeout test fails on Raspberry PI because of precision errors in the
first stage. However, this does not render the framework unusable in general
on the RPI but merely is an issue when speaking of microseconds precision.
* If we run on ARM with another Kernel than HW the timestamp speed may
continuously vary from almost 0 up to CPU speed. The Timer, however,
only uses interpolation if the timestamp speed remained stable (12.5%
tolerance) for at least 3 observation periods. Currently, one period is
100ms, so its 300ms. As long as this is not the case,
Timer_session::elapsed_ms is called instead.
Anyway, it might happen that the CPU load was stable for some time so
interpolation becomes active and now the timestamp speed drops. In the
worst case, we would now have 100ms of slowed down time. The bad thing
about it would be, that this also affects the timeout of the period.
Thus, it might "freeze" the local time for more than 100ms.
On the other hand, if the timestamp speed suddenly raises after some
stable time, interpolated time can get too fast. This would shorten the
period but nonetheless may result in drifting away into the far future.
Now we would have the problem that we can't deliver the real time
anymore until it has caught up because the output of Timer::curr_time
shall be monotone. So, effectively local time might "freeze" again for
more than 100ms.
It would be a solution to not use the Trace::timestamp on ARM w/o HW but
a function whose return value causes the Timer to never use
interpolation because of its stability policy.
Fixes #2400
2017-04-21 22:52:23 +00:00
|
|
|
_ZN5Timer10Connection16schedule_timeoutEN6Genode12MicrosecondsERNS1_11Time_source15Timeout_handlerE T
|
|
|
|
_ZN5Timer10Connection18_schedule_one_shotERN6Genode7TimeoutENS1_12MicrosecondsE T
|
|
|
|
_ZN5Timer10Connection18_schedule_periodicERN6Genode7TimeoutENS1_12MicrosecondsE T
|
|
|
|
_ZN5Timer10Connection8_discardERN6Genode7TimeoutE T
|
|
|
|
_ZN5Timer10Connection9curr_timeEv T
|
|
|
|
_ZN5Timer10ConnectionC1ERN6Genode3EnvEPKc T
|
|
|
|
_ZN5Timer10ConnectionC1Ev T
|
|
|
|
_ZN5Timer10ConnectionC2ERN6Genode3EnvEPKc T
|
|
|
|
_ZN5Timer10ConnectionC2Ev T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode10Entrypoint16_dispatch_signalERNS_6SignalE T
|
|
|
|
_ZN6Genode10Entrypoint16schedule_suspendEPFvvES2_ T
|
os/timer: interpolate time via timestamps
Previously, the Genode::Timer::curr_time always used the
Timer_session::elapsed_ms RPC as back end. Now, Genode::Timer reads
this remote time only in a periodic fashion independently from the calls
to Genode::Timer::curr_time. If now one calls Genode::Timer::curr_time,
the function takes the last read remote time value and adapts it using
the timestamp difference since the remote-time read. The conversion
factor from timestamps to time is estimated on every remote-time read
using the last read remote-time value and the timestamp difference since
the last remote time read.
This commit also re-works the timeout test. The test now has two stages.
In the first stage, it tests fast polling of the
Genode::Timer::curr_time. This stage checks the error between locally
interpolated and timer-driver time as well as wether the locally
interpolated time is monotone and sufficiently homogeneous. In the
second stage several periodic and one-shot timeouts are scheduled at
once. This stage checks if the timeouts trigger sufficiently precise.
This commit adds the new Kernel::time syscall to base-hw. The syscall is
solely used by the Genode::Timer on base-hw as substitute for the
timestamp. This is because on ARM, the timestamp function uses the ARM
performance counter that stops counting when the WFI (wait for
interrupt) instruction is active. This instruction, however is used by
the base-hw idle contexts that get active when no user thread needs to
be scheduled. Thus, the ARM performance counter is not a good choice for
time interpolation and we use the kernel internal time instead.
With this commit, the timeout library becomes a basic library. That means
that it is linked against the LDSO which then provides it to the program it
serves. Furthermore, you can't use the timeout library anymore without the
LDSO because through the kernel-dependent LDSO make-files we can achieve a
kernel-dependent timeout implementation.
This commit introduces a structured Duration type that shall successively
replace the use of Microseconds, Milliseconds, and integer types for duration
values.
Open issues:
* The timeout test fails on Raspberry PI because of precision errors in the
first stage. However, this does not render the framework unusable in general
on the RPI but merely is an issue when speaking of microseconds precision.
* If we run on ARM with another Kernel than HW the timestamp speed may
continuously vary from almost 0 up to CPU speed. The Timer, however,
only uses interpolation if the timestamp speed remained stable (12.5%
tolerance) for at least 3 observation periods. Currently, one period is
100ms, so its 300ms. As long as this is not the case,
Timer_session::elapsed_ms is called instead.
Anyway, it might happen that the CPU load was stable for some time so
interpolation becomes active and now the timestamp speed drops. In the
worst case, we would now have 100ms of slowed down time. The bad thing
about it would be, that this also affects the timeout of the period.
Thus, it might "freeze" the local time for more than 100ms.
On the other hand, if the timestamp speed suddenly raises after some
stable time, interpolated time can get too fast. This would shorten the
period but nonetheless may result in drifting away into the far future.
Now we would have the problem that we can't deliver the real time
anymore until it has caught up because the output of Timer::curr_time
shall be monotone. So, effectively local time might "freeze" again for
more than 100ms.
It would be a solution to not use the Trace::timestamp on ARM w/o HW but
a function whose return value causes the Timer to never use
interpolation because of its stability policy.
Fixes #2400
2017-04-21 22:52:23 +00:00
|
|
|
_ZN6Genode10Entrypoint22Signal_proxy_component6signalEv T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode10Entrypoint25_process_incoming_signalsEv T
|
2017-05-18 14:04:21 +00:00
|
|
|
_ZN6Genode10Entrypoint32_wait_and_dispatch_one_io_signalEb T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode10Entrypoint6manageERNS_22Signal_dispatcher_baseE T
|
|
|
|
_ZN6Genode10Entrypoint8dissolveERNS_22Signal_dispatcher_baseE T
|
|
|
|
_ZN6Genode10EntrypointC1ERNS_3EnvE T
|
|
|
|
_ZN6Genode10EntrypointC1ERNS_3EnvEmPKc T
|
|
|
|
_ZN6Genode10EntrypointC2ERNS_3EnvE T
|
|
|
|
_ZN6Genode10EntrypointC2ERNS_3EnvEmPKc T
|
|
|
|
_ZN6Genode10Ipc_serverC1Ev T
|
|
|
|
_ZN6Genode10Ipc_serverC2Ev T
|
|
|
|
_ZN6Genode10Ipc_serverD1Ev T
|
|
|
|
_ZN6Genode10Ipc_serverD2Ev T
|
|
|
|
_ZN6Genode11Sliced_heap4freeEPvm T
|
|
|
|
_ZN6Genode11Sliced_heap5allocEmPPv T
|
2017-05-07 21:49:43 +00:00
|
|
|
_ZN6Genode11Sliced_heapC1ERNS_13Ram_allocatorERNS_10Region_mapE T
|
|
|
|
_ZN6Genode11Sliced_heapC2ERNS_13Ram_allocatorERNS_10Region_mapE T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode11Sliced_heapD0Ev T
|
|
|
|
_ZN6Genode11Sliced_heapD1Ev T
|
|
|
|
_ZN6Genode11Sliced_heapD2Ev T
|
|
|
|
_ZN6Genode12Address_infoC1Em T
|
|
|
|
_ZN6Genode12Address_infoC2Em T
|
|
|
|
_ZN6Genode13Avl_node_base15_rotate_subtreeEPS0_bRNS0_6PolicyE T
|
|
|
|
_ZN6Genode13Avl_node_base18_rebalance_subtreeEPS0_RNS0_6PolicyE T
|
|
|
|
_ZN6Genode13Avl_node_base6_adoptEPS0_bRNS0_6PolicyE T
|
|
|
|
_ZN6Genode13Avl_node_base6insertEPS0_RNS0_6PolicyE T
|
|
|
|
_ZN6Genode13Avl_node_base6removeERNS0_6PolicyE T
|
|
|
|
_ZN6Genode13Avl_node_baseC1Ev T
|
|
|
|
_ZN6Genode13Avl_node_baseC2Ev T
|
|
|
|
_ZN6Genode13Registry_base7ElementC1ERS0_Pv T
|
|
|
|
_ZN6Genode13Registry_base7ElementC2ERS0_Pv T
|
|
|
|
_ZN6Genode13Registry_base7ElementD1Ev T
|
|
|
|
_ZN6Genode13Registry_base7ElementD2Ev T
|
|
|
|
_ZN6Genode13Registry_base7_insertERNS0_7ElementE T
|
|
|
|
_ZN6Genode13Registry_base7_removeERNS0_7ElementE T
|
|
|
|
_ZN6Genode13Registry_base9_for_eachERNS0_15Untyped_functorE T
|
|
|
|
_ZN6Genode13Session_state7destroyEv T
|
2017-02-14 16:38:09 +00:00
|
|
|
_ZN6Genode13Session_stateC1ERNS_7ServiceERNS_8Id_spaceINS_6Parent6ClientEEENS6_2IdERKNS_13Session_labelERKNS_6StringILm256EEERKNS_8AffinityE T
|
|
|
|
_ZN6Genode13Session_stateC2ERNS_7ServiceERNS_8Id_spaceINS_6Parent6ClientEEENS6_2IdERKNS_13Session_labelERKNS_6StringILm256EEERKNS_8AffinityE T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode13Shared_objectC1ERNS_3EnvERNS_9AllocatorEPKcNS0_4BindENS0_4KeepE T
|
|
|
|
_ZN6Genode13Shared_objectC2ERNS_3EnvERNS_9AllocatorEPKcNS0_4BindENS0_4KeepE T
|
|
|
|
_ZN6Genode13Shared_objectD1Ev T
|
|
|
|
_ZN6Genode13Shared_objectD2Ev T
|
|
|
|
_ZN6Genode13sleep_foreverEv T
|
|
|
|
_ZN6Genode14Capability_map6insertEmm T
|
|
|
|
_ZN6Genode14Parent_service15_env_deprecatedEv T
|
|
|
|
_ZN6Genode14Rpc_entrypoint13_free_rpc_capERNS_10Pd_sessionENS_17Native_capabilityE T
|
|
|
|
_ZN6Genode14Rpc_entrypoint14_alloc_rpc_capERNS_10Pd_sessionENS_17Native_capabilityEm T
|
|
|
|
_ZN6Genode14Rpc_entrypoint17_activation_entryEv T
|
|
|
|
_ZN6Genode14Rpc_entrypoint17reply_signal_infoENS_17Native_capabilityEmm T
|
|
|
|
_ZN6Genode14Rpc_entrypoint22_block_until_cap_validEv T
|
|
|
|
_ZN6Genode14Rpc_entrypoint5entryEv T
|
|
|
|
_ZN6Genode14Rpc_entrypoint7_manageEPNS_15Rpc_object_baseE T
|
|
|
|
_ZN6Genode14Rpc_entrypoint8activateEv T
|
|
|
|
_ZN6Genode14Rpc_entrypoint9_dissolveEPNS_15Rpc_object_baseE T
|
|
|
|
_ZN6Genode14Rpc_entrypointC1EPNS_10Pd_sessionEmPKcbNS_8Affinity8LocationE T
|
|
|
|
_ZN6Genode14Rpc_entrypointC2EPNS_10Pd_sessionEmPKcbNS_8Affinity8LocationE T
|
|
|
|
_ZN6Genode14Rpc_entrypointD0Ev T
|
|
|
|
_ZN6Genode14Rpc_entrypointD1Ev T
|
|
|
|
_ZN6Genode14Rpc_entrypointD2Ev T
|
|
|
|
_ZN6Genode14Signal_context6submitEj T
|
|
|
|
_ZN6Genode14Signal_contextD0Ev T
|
|
|
|
_ZN6Genode14Signal_contextD1Ev T
|
|
|
|
_ZN6Genode14Signal_contextD2Ev T
|
|
|
|
_ZN6Genode14Timeout_thread11alarm_timerEv T
|
|
|
|
_ZN6Genode14Timeout_thread5entryEv T
|
|
|
|
_ZN6Genode14cache_coherentEmm T
|
os/timer: interpolate time via timestamps
Previously, the Genode::Timer::curr_time always used the
Timer_session::elapsed_ms RPC as back end. Now, Genode::Timer reads
this remote time only in a periodic fashion independently from the calls
to Genode::Timer::curr_time. If now one calls Genode::Timer::curr_time,
the function takes the last read remote time value and adapts it using
the timestamp difference since the remote-time read. The conversion
factor from timestamps to time is estimated on every remote-time read
using the last read remote-time value and the timestamp difference since
the last remote time read.
This commit also re-works the timeout test. The test now has two stages.
In the first stage, it tests fast polling of the
Genode::Timer::curr_time. This stage checks the error between locally
interpolated and timer-driver time as well as wether the locally
interpolated time is monotone and sufficiently homogeneous. In the
second stage several periodic and one-shot timeouts are scheduled at
once. This stage checks if the timeouts trigger sufficiently precise.
This commit adds the new Kernel::time syscall to base-hw. The syscall is
solely used by the Genode::Timer on base-hw as substitute for the
timestamp. This is because on ARM, the timestamp function uses the ARM
performance counter that stops counting when the WFI (wait for
interrupt) instruction is active. This instruction, however is used by
the base-hw idle contexts that get active when no user thread needs to
be scheduled. Thus, the ARM performance counter is not a good choice for
time interpolation and we use the kernel internal time instead.
With this commit, the timeout library becomes a basic library. That means
that it is linked against the LDSO which then provides it to the program it
serves. Furthermore, you can't use the timeout library anymore without the
LDSO because through the kernel-dependent LDSO make-files we can achieve a
kernel-dependent timeout implementation.
This commit introduces a structured Duration type that shall successively
replace the use of Microseconds, Milliseconds, and integer types for duration
values.
Open issues:
* The timeout test fails on Raspberry PI because of precision errors in the
first stage. However, this does not render the framework unusable in general
on the RPI but merely is an issue when speaking of microseconds precision.
* If we run on ARM with another Kernel than HW the timestamp speed may
continuously vary from almost 0 up to CPU speed. The Timer, however,
only uses interpolation if the timestamp speed remained stable (12.5%
tolerance) for at least 3 observation periods. Currently, one period is
100ms, so its 300ms. As long as this is not the case,
Timer_session::elapsed_ms is called instead.
Anyway, it might happen that the CPU load was stable for some time so
interpolation becomes active and now the timestamp speed drops. In the
worst case, we would now have 100ms of slowed down time. The bad thing
about it would be, that this also affects the timeout of the period.
Thus, it might "freeze" the local time for more than 100ms.
On the other hand, if the timestamp speed suddenly raises after some
stable time, interpolated time can get too fast. This would shorten the
period but nonetheless may result in drifting away into the far future.
Now we would have the problem that we can't deliver the real time
anymore until it has caught up because the output of Timer::curr_time
shall be monotone. So, effectively local time might "freeze" again for
more than 100ms.
It would be a solution to not use the Trace::timestamp on ARM w/o HW but
a function whose return value causes the Timer to never use
interpolation because of its stability policy.
Fixes #2400
2017-04-21 22:52:23 +00:00
|
|
|
_ZN6Genode14env_deprecatedEv T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode14ipc_reply_waitERKNS_17Native_capabilityENS_18Rpc_exception_codeERNS_11Msgbuf_baseES5_ T
|
|
|
|
_ZN6Genode15Alarm_scheduler12_setup_alarmERNS_5AlarmEmm T
|
|
|
|
_ZN6Genode15Alarm_scheduler13next_deadlineEPm T
|
|
|
|
_ZN6Genode15Alarm_scheduler17schedule_absoluteEPNS_5AlarmEm T
|
|
|
|
_ZN6Genode15Alarm_scheduler18_get_pending_alarmEv T
|
|
|
|
_ZN6Genode15Alarm_scheduler23_unsynchronized_dequeueEPNS_5AlarmE T
|
|
|
|
_ZN6Genode15Alarm_scheduler23_unsynchronized_enqueueEPNS_5AlarmE T
|
|
|
|
_ZN6Genode15Alarm_scheduler6handleEm T
|
|
|
|
_ZN6Genode15Alarm_scheduler7discardEPNS_5AlarmE T
|
|
|
|
_ZN6Genode15Alarm_scheduler8scheduleEPNS_5AlarmEm T
|
|
|
|
_ZN6Genode15Alarm_schedulerD1Ev T
|
|
|
|
_ZN6Genode15Alarm_schedulerD2Ev T
|
|
|
|
_ZN6Genode15Cancelable_lock4lockEv T
|
|
|
|
_ZN6Genode15Cancelable_lock6unlockEv T
|
|
|
|
_ZN6Genode15Cancelable_lock9Applicant7wake_upEv T
|
|
|
|
_ZN6Genode15Cancelable_lockC1ENS0_5StateE T
|
|
|
|
_ZN6Genode15Cancelable_lockC2ENS0_5StateE T
|
|
|
|
_ZN6Genode15Connection_baseC1Ev T
|
|
|
|
_ZN6Genode15Connection_baseC2Ev T
|
|
|
|
_ZN6Genode15Signal_receiver12local_submitENS_6Signal4DataE T
|
|
|
|
_ZN6Genode15Signal_receiver14pending_signalEv T
|
|
|
|
_ZN6Genode15Signal_receiver15wait_for_signalEv T
|
|
|
|
_ZN6Genode15Signal_receiver16block_for_signalEv T
|
|
|
|
_ZN6Genode15Signal_receiver6manageEPNS_14Signal_contextE T
|
|
|
|
_ZN6Genode15Signal_receiver7pendingEv T
|
|
|
|
_ZN6Genode15Signal_receiver8dissolveEPNS_14Signal_contextE T
|
|
|
|
_ZN6Genode15Signal_receiverC1Ev T
|
|
|
|
_ZN6Genode15Signal_receiverC2Ev T
|
|
|
|
_ZN6Genode15Signal_receiverD1Ev T
|
|
|
|
_ZN6Genode15Signal_receiverD2Ev T
|
|
|
|
_ZN6Genode16raw_write_stringEPKc T
|
|
|
|
_ZN6Genode17Native_capability4_decEv T
|
|
|
|
_ZN6Genode17Native_capability4_incEv T
|
|
|
|
_ZN6Genode17Native_capabilityC1Ev T
|
|
|
|
_ZN6Genode17Native_capabilityC2Ev T
|
|
|
|
_ZN6Genode17Region_map_client13fault_handlerENS_10CapabilityINS_14Signal_contextEEE T
|
|
|
|
_ZN6Genode17Region_map_client5stateEv T
|
|
|
|
_ZN6Genode17Region_map_client6attachENS_10CapabilityINS_9DataspaceEEEmlbNS_10Region_map10Local_addrEb T
|
|
|
|
_ZN6Genode17Region_map_client6detachENS_10Region_map10Local_addrE T
|
|
|
|
_ZN6Genode17Region_map_client9dataspaceEv T
|
|
|
|
_ZN6Genode17Region_map_clientC1ENS_10CapabilityINS_10Region_mapEEE T
|
|
|
|
_ZN6Genode17Region_map_clientC2ENS_10CapabilityINS_10Region_mapEEE T
|
|
|
|
_ZN6Genode17Rm_session_client6createEm T
|
|
|
|
_ZN6Genode17Rm_session_client7destroyENS_10CapabilityINS_10Region_mapEEE T
|
|
|
|
_ZN6Genode17Rm_session_clientC1ENS_10CapabilityINS_10Rm_sessionEEE T
|
|
|
|
_ZN6Genode17Rm_session_clientC2ENS_10CapabilityINS_10Rm_sessionEEE T
|
|
|
|
_ZN6Genode18Allocator_avl_base10_add_blockEPNS0_5BlockEmmb T
|
|
|
|
_ZN6Genode18Allocator_avl_base10alloc_addrEmm T
|
|
|
|
_ZN6Genode18Allocator_avl_base12remove_rangeEmm T
|
|
|
|
_ZN6Genode18Allocator_avl_base13alloc_alignedEmPPvimm T
|
|
|
|
_ZN6Genode18Allocator_avl_base14_destroy_blockEPNS0_5BlockE T
|
|
|
|
_ZN6Genode18Allocator_avl_base14any_block_addrEPm T
|
|
|
|
_ZN6Genode18Allocator_avl_base15_cut_from_blockEPNS0_5BlockEmmS2_S2_ T
|
|
|
|
_ZN6Genode18Allocator_avl_base20_find_any_used_blockEPNS0_5BlockE T
|
|
|
|
_ZN6Genode18Allocator_avl_base21_alloc_block_metadataEv T
|
|
|
|
_ZN6Genode18Allocator_avl_base26_alloc_two_blocks_metadataEPPNS0_5BlockES3_ T
|
|
|
|
_ZN6Genode18Allocator_avl_base30_revert_allocations_and_rangesEv T
|
|
|
|
_ZN6Genode18Allocator_avl_base4freeEPv T
|
|
|
|
_ZN6Genode18Allocator_avl_base5Block13find_best_fitEmjmm T
|
|
|
|
_ZN6Genode18Allocator_avl_base5Block15find_by_addressEmmb T
|
|
|
|
_ZN6Genode18Allocator_avl_base5Block16avail_in_subtreeEv T
|
|
|
|
_ZN6Genode18Allocator_avl_base5Block9recomputeEv T
|
|
|
|
_ZN6Genode18Allocator_avl_base9add_rangeEmm T
|
|
|
|
_ZN6Genode18Signal_transmitter6submitEj T
|
|
|
|
_ZN6Genode18Signal_transmitter7contextENS_10CapabilityINS_14Signal_contextEEE T
|
|
|
|
_ZN6Genode18Signal_transmitter7contextEv T
|
|
|
|
_ZN6Genode18Signal_transmitterC1ENS_10CapabilityINS_14Signal_contextEEE T
|
|
|
|
_ZN6Genode18Signal_transmitterC2ENS_10CapabilityINS_14Signal_contextEEE T
|
|
|
|
_ZN6Genode18server_socket_pairEv T
|
|
|
|
_ZN6Genode20env_session_id_spaceEv T
|
os/timer: interpolate time via timestamps
Previously, the Genode::Timer::curr_time always used the
Timer_session::elapsed_ms RPC as back end. Now, Genode::Timer reads
this remote time only in a periodic fashion independently from the calls
to Genode::Timer::curr_time. If now one calls Genode::Timer::curr_time,
the function takes the last read remote time value and adapts it using
the timestamp difference since the remote-time read. The conversion
factor from timestamps to time is estimated on every remote-time read
using the last read remote-time value and the timestamp difference since
the last remote time read.
This commit also re-works the timeout test. The test now has two stages.
In the first stage, it tests fast polling of the
Genode::Timer::curr_time. This stage checks the error between locally
interpolated and timer-driver time as well as wether the locally
interpolated time is monotone and sufficiently homogeneous. In the
second stage several periodic and one-shot timeouts are scheduled at
once. This stage checks if the timeouts trigger sufficiently precise.
This commit adds the new Kernel::time syscall to base-hw. The syscall is
solely used by the Genode::Timer on base-hw as substitute for the
timestamp. This is because on ARM, the timestamp function uses the ARM
performance counter that stops counting when the WFI (wait for
interrupt) instruction is active. This instruction, however is used by
the base-hw idle contexts that get active when no user thread needs to
be scheduled. Thus, the ARM performance counter is not a good choice for
time interpolation and we use the kernel internal time instead.
With this commit, the timeout library becomes a basic library. That means
that it is linked against the LDSO which then provides it to the program it
serves. Furthermore, you can't use the timeout library anymore without the
LDSO because through the kernel-dependent LDSO make-files we can achieve a
kernel-dependent timeout implementation.
This commit introduces a structured Duration type that shall successively
replace the use of Microseconds, Milliseconds, and integer types for duration
values.
Open issues:
* The timeout test fails on Raspberry PI because of precision errors in the
first stage. However, this does not render the framework unusable in general
on the RPI but merely is an issue when speaking of microseconds precision.
* If we run on ARM with another Kernel than HW the timestamp speed may
continuously vary from almost 0 up to CPU speed. The Timer, however,
only uses interpolation if the timestamp speed remained stable (12.5%
tolerance) for at least 3 observation periods. Currently, one period is
100ms, so its 300ms. As long as this is not the case,
Timer_session::elapsed_ms is called instead.
Anyway, it might happen that the CPU load was stable for some time so
interpolation becomes active and now the timestamp speed drops. In the
worst case, we would now have 100ms of slowed down time. The bad thing
about it would be, that this also affects the timeout of the period.
Thus, it might "freeze" the local time for more than 100ms.
On the other hand, if the timestamp speed suddenly raises after some
stable time, interpolated time can get too fast. This would shorten the
period but nonetheless may result in drifting away into the far future.
Now we would have the problem that we can't deliver the real time
anymore until it has caught up because the output of Timer::curr_time
shall be monotone. So, effectively local time might "freeze" again for
more than 100ms.
It would be a solution to not use the Trace::timestamp on ARM w/o HW but
a function whose return value causes the Timer to never use
interpolation because of its stability policy.
Fixes #2400
2017-04-21 22:52:23 +00:00
|
|
|
_ZN6Genode23Alarm_timeout_scheduler14handle_timeoutENS_8DurationE T
|
|
|
|
_ZN6Genode23Alarm_timeout_scheduler18_schedule_one_shotERNS_7TimeoutENS_12MicrosecondsE T
|
|
|
|
_ZN6Genode23Alarm_timeout_scheduler18_schedule_periodicERNS_7TimeoutENS_12MicrosecondsE T
|
|
|
|
_ZN6Genode23Alarm_timeout_scheduler7_enableEv T
|
2017-09-29 12:12:10 +00:00
|
|
|
_ZN6Genode23Alarm_timeout_schedulerC1ERNS_11Time_sourceENS_12MicrosecondsE T
|
|
|
|
_ZN6Genode23Alarm_timeout_schedulerC2ERNS_11Time_sourceENS_12MicrosecondsE T
|
2017-05-11 17:39:46 +00:00
|
|
|
_ZN6Genode25env_stack_area_region_mapE B 8
|
|
|
|
_ZN6Genode28env_stack_area_ram_allocatorE B 8
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode3Log3logEv T
|
|
|
|
_ZN6Genode3Log8_acquireENS0_4TypeE T
|
|
|
|
_ZN6Genode3Log8_releaseEv T
|
|
|
|
_ZN6Genode3Raw7_outputEv T
|
|
|
|
_ZN6Genode3Raw8_acquireEv T
|
|
|
|
_ZN6Genode3Raw8_releaseEv T
|
|
|
|
_ZN6Genode4Heap11quota_limitEm T
|
|
|
|
_ZN6Genode4Heap4freeEPvm T
|
|
|
|
_ZN6Genode4Heap5allocEmPPv T
|
2017-05-07 21:49:43 +00:00
|
|
|
_ZN6Genode4HeapC1EPNS_13Ram_allocatorEPNS_10Region_mapEmPvm T
|
|
|
|
_ZN6Genode4HeapC2EPNS_13Ram_allocatorEPNS_10Region_mapEmPvm T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode4HeapD0Ev T
|
|
|
|
_ZN6Genode4HeapD1Ev T
|
|
|
|
_ZN6Genode4HeapD2Ev T
|
|
|
|
_ZN6Genode4Slab13any_used_elemEv T
|
|
|
|
_ZN6Genode4Slab5Block11_slab_entryEi T
|
|
|
|
_ZN6Genode4Slab5Block14any_used_entryEv T
|
|
|
|
_ZN6Genode4Slab5Block5allocEv T
|
|
|
|
_ZN6Genode4Slab5Block9inc_availERNS0_5EntryE T
|
|
|
|
_ZN6Genode4Slab5_freeEPv T
|
|
|
|
_ZN6Genode4Slab5allocEmPPv T
|
|
|
|
_ZN6Genode4Slab9insert_sbEPv T
|
|
|
|
_ZN6Genode4SlabC1EmmPvPNS_9AllocatorE T
|
|
|
|
_ZN6Genode4SlabC2EmmPvPNS_9AllocatorE T
|
|
|
|
_ZN6Genode4SlabD0Ev T
|
|
|
|
_ZN6Genode4SlabD1Ev T
|
|
|
|
_ZN6Genode4SlabD2Ev T
|
|
|
|
_ZN6Genode5AlarmD0Ev T
|
|
|
|
_ZN6Genode5AlarmD1Ev T
|
|
|
|
_ZN6Genode5AlarmD2Ev T
|
|
|
|
_ZN6Genode5Child10yield_sighENS_10CapabilityINS_14Signal_contextEEE T
|
|
|
|
_ZN6Genode5Child11session_capENS_8Id_spaceINS_6Parent6ClientEE2IdE T
|
|
|
|
_ZN6Genode5Child12session_sighENS_10CapabilityINS_14Signal_contextEEE T
|
|
|
|
_ZN6Genode5Child13session_readyERNS_13Session_stateE T
|
|
|
|
_ZN6Genode5Child13yield_requestEv T
|
|
|
|
_ZN6Genode5Child14session_closedERNS_13Session_stateE T
|
|
|
|
_ZN6Genode5Child14yield_responseEv T
|
|
|
|
_ZN6Genode5Child16resource_requestERKNS_6StringILm160EEE T
|
|
|
|
_ZN6Genode5Child16session_responseENS_8Id_spaceINS_6Parent6ServerEE2IdENS2_16Session_responseE T
|
2018-01-12 13:10:47 +00:00
|
|
|
_ZN6Genode5Child18close_all_sessionsEv T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode5Child19deliver_session_capENS_8Id_spaceINS_6Parent6ServerEE2IdENS_10CapabilityINS_7SessionEEE T
|
|
|
|
_ZN6Genode5Child19resource_avail_sighENS_10CapabilityINS_14Signal_contextEEE T
|
2017-02-19 20:40:52 +00:00
|
|
|
_ZN6Genode5Child21initiate_env_sessionsEv T
|
|
|
|
_ZN6Genode5Child24initiate_env_ram_sessionEv T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode5Child4exitEi T
|
|
|
|
_ZN6Genode5Child5closeENS_8Id_spaceINS_6Parent6ClientEE2IdE T
|
|
|
|
_ZN6Genode5Child5yieldERKNS_6StringILm160EEE T
|
|
|
|
_ZN6Genode5Child7sessionENS_8Id_spaceINS_6Parent6ClientEE2IdERKNS_13Rpc_in_bufferILm64EEERKNS6_ILm160EEERKNS_8AffinityE T
|
|
|
|
_ZN6Genode5Child7upgradeENS_8Id_spaceINS_6Parent6ClientEE2IdERKNS_13Rpc_in_bufferILm160EEE T
|
|
|
|
_ZN6Genode5Child8announceERKNS_13Rpc_in_bufferILm64EEE T
|
|
|
|
_ZN6Genode5ChildC1ERNS_10Region_mapERNS_14Rpc_entrypointERNS_12Child_policyE T
|
|
|
|
_ZN6Genode5ChildC2ERNS_10Region_mapERNS_14Rpc_entrypointERNS_12Child_policyE T
|
|
|
|
_ZN6Genode5ChildD0Ev T
|
|
|
|
_ZN6Genode5ChildD1Ev T
|
|
|
|
_ZN6Genode5ChildD2Ev T
|
|
|
|
_ZN6Genode5Stack4sizeEm T
|
|
|
|
_ZN6Genode5Trace6Logger17_evaluate_controlEv T
|
|
|
|
_ZN6Genode5Trace6Logger3logEPKcm T
|
|
|
|
_ZN6Genode5Trace6LoggerC1Ev T
|
|
|
|
_ZN6Genode5Trace6LoggerC2Ev T
|
|
|
|
_ZN6Genode5printERNS_6OutputEPKc T
|
|
|
|
_ZN6Genode5printERNS_6OutputEPKv T
|
|
|
|
_ZN6Genode5printERNS_6OutputEd T
|
|
|
|
_ZN6Genode5printERNS_6OutputEf T
|
|
|
|
_ZN6Genode5printERNS_6OutputEl T
|
|
|
|
_ZN6Genode5printERNS_6OutputEm T
|
|
|
|
_ZN6Genode5printERNS_6OutputEx T
|
|
|
|
_ZN6Genode5printERNS_6OutputEy T
|
|
|
|
_ZN6Genode6Output10out_stringEPKcm T
|
|
|
|
_ZN6Genode6Parent8announceERKNS_13Rpc_in_bufferILm64EEENS_10CapabilityINS_4RootEEE T
|
|
|
|
_ZN6Genode6Signal19_dec_ref_and_unlockEv T
|
|
|
|
_ZN6Genode6Signal8_inc_refEv T
|
|
|
|
_ZN6Genode6SignalC1ENS0_4DataE T
|
|
|
|
_ZN6Genode6SignalC1ERKS0_ T
|
|
|
|
_ZN6Genode6SignalC2ENS0_4DataE T
|
|
|
|
_ZN6Genode6SignalC2ERKS0_ T
|
|
|
|
_ZN6Genode6SignalD1Ev T
|
|
|
|
_ZN6Genode6SignalD2Ev T
|
|
|
|
_ZN6Genode6SignalaSERKS0_ T
|
|
|
|
_ZN6Genode6Thread10stack_sizeEm T
|
|
|
|
_ZN6Genode6Thread13native_threadEv T
|
|
|
|
_ZN6Genode6Thread15cancel_blockingEv T
|
|
|
|
_ZN6Genode6Thread18stack_virtual_sizeEv T
|
|
|
|
_ZN6Genode6Thread20free_secondary_stackEPv T
|
|
|
|
_ZN6Genode6Thread21alloc_secondary_stackEPKcm T
|
|
|
|
_ZN6Genode6Thread23stack_area_virtual_baseEv T
|
|
|
|
_ZN6Genode6Thread23stack_area_virtual_sizeEv T
|
|
|
|
_ZN6Genode6Thread4joinEv T
|
|
|
|
_ZN6Genode6Thread4nameEPcm T
|
|
|
|
_ZN6Genode6Thread4utcbEv T
|
|
|
|
_ZN6Genode6Thread5startEv T
|
|
|
|
_ZN6Genode6Thread6myselfEv T
|
|
|
|
_ZN6Genode6Thread7_loggerEv T
|
|
|
|
_ZN6Genode6Thread7mystackEv T
|
|
|
|
_ZN6Genode6ThreadC1ERNS_3EnvERKNS_6StringILm32EEEm T
|
|
|
|
_ZN6Genode6ThreadC1ERNS_3EnvERKNS_6StringILm32EEEmNS_8Affinity8LocationENS_11Cpu_session6WeightERS9_ T
|
|
|
|
_ZN6Genode6ThreadC1EmPKcmNS0_4TypeENS_8Affinity8LocationE T
|
|
|
|
_ZN6Genode6ThreadC1EmPKcmNS0_4TypeEPNS_11Cpu_sessionENS_8Affinity8LocationE T
|
|
|
|
_ZN6Genode6ThreadC2ERNS_3EnvERKNS_6StringILm32EEEm T
|
|
|
|
_ZN6Genode6ThreadC2ERNS_3EnvERKNS_6StringILm32EEEmNS_8Affinity8LocationENS_11Cpu_session6WeightERS9_ T
|
|
|
|
_ZN6Genode6ThreadC2EmPKcmNS0_4TypeENS_8Affinity8LocationE T
|
|
|
|
_ZN6Genode6ThreadC2EmPKcmNS0_4TypeEPNS_11Cpu_sessionENS_8Affinity8LocationE T
|
|
|
|
_ZN6Genode6ThreadD0Ev T
|
|
|
|
_ZN6Genode6ThreadD1Ev T
|
|
|
|
_ZN6Genode6ThreadD2Ev T
|
|
|
|
_ZN6Genode6printfEPKcz T
|
|
|
|
_ZN6Genode7Console11_out_stringEPKc T
|
|
|
|
_ZN6Genode7Console6printfEPKcz T
|
|
|
|
_ZN6Genode7Console7vprintfEPKcP13__va_list_tag T
|
|
|
|
_ZN6Genode7Console7vprintfEPKcPc T
|
|
|
|
_ZN6Genode7Console7vprintfEPKcPv T
|
|
|
|
_ZN6Genode7Console7vprintfEPKcSt9__va_list T
|
os/timer: interpolate time via timestamps
Previously, the Genode::Timer::curr_time always used the
Timer_session::elapsed_ms RPC as back end. Now, Genode::Timer reads
this remote time only in a periodic fashion independently from the calls
to Genode::Timer::curr_time. If now one calls Genode::Timer::curr_time,
the function takes the last read remote time value and adapts it using
the timestamp difference since the remote-time read. The conversion
factor from timestamps to time is estimated on every remote-time read
using the last read remote-time value and the timestamp difference since
the last remote time read.
This commit also re-works the timeout test. The test now has two stages.
In the first stage, it tests fast polling of the
Genode::Timer::curr_time. This stage checks the error between locally
interpolated and timer-driver time as well as wether the locally
interpolated time is monotone and sufficiently homogeneous. In the
second stage several periodic and one-shot timeouts are scheduled at
once. This stage checks if the timeouts trigger sufficiently precise.
This commit adds the new Kernel::time syscall to base-hw. The syscall is
solely used by the Genode::Timer on base-hw as substitute for the
timestamp. This is because on ARM, the timestamp function uses the ARM
performance counter that stops counting when the WFI (wait for
interrupt) instruction is active. This instruction, however is used by
the base-hw idle contexts that get active when no user thread needs to
be scheduled. Thus, the ARM performance counter is not a good choice for
time interpolation and we use the kernel internal time instead.
With this commit, the timeout library becomes a basic library. That means
that it is linked against the LDSO which then provides it to the program it
serves. Furthermore, you can't use the timeout library anymore without the
LDSO because through the kernel-dependent LDSO make-files we can achieve a
kernel-dependent timeout implementation.
This commit introduces a structured Duration type that shall successively
replace the use of Microseconds, Milliseconds, and integer types for duration
values.
Open issues:
* The timeout test fails on Raspberry PI because of precision errors in the
first stage. However, this does not render the framework unusable in general
on the RPI but merely is an issue when speaking of microseconds precision.
* If we run on ARM with another Kernel than HW the timestamp speed may
continuously vary from almost 0 up to CPU speed. The Timer, however,
only uses interpolation if the timestamp speed remained stable (12.5%
tolerance) for at least 3 observation periods. Currently, one period is
100ms, so its 300ms. As long as this is not the case,
Timer_session::elapsed_ms is called instead.
Anyway, it might happen that the CPU load was stable for some time so
interpolation becomes active and now the timestamp speed drops. In the
worst case, we would now have 100ms of slowed down time. The bad thing
about it would be, that this also affects the timeout of the period.
Thus, it might "freeze" the local time for more than 100ms.
On the other hand, if the timestamp speed suddenly raises after some
stable time, interpolated time can get too fast. This would shorten the
period but nonetheless may result in drifting away into the far future.
Now we would have the problem that we can't deliver the real time
anymore until it has caught up because the output of Timer::curr_time
shall be monotone. So, effectively local time might "freeze" again for
more than 100ms.
It would be a solution to not use the Trace::timestamp on ARM w/o HW but
a function whose return value causes the Timer to never use
interpolation because of its stability policy.
Fixes #2400
2017-04-21 22:52:23 +00:00
|
|
|
_ZN6Genode7Timeout17schedule_one_shotENS_12MicrosecondsERNS0_7HandlerE T
|
|
|
|
_ZN6Genode7Timeout17schedule_periodicENS_12MicrosecondsERNS0_7HandlerE T
|
|
|
|
_ZN6Genode7Timeout7discardEv T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode7cap_mapEv T
|
|
|
|
_ZN6Genode7vprintfEPKcP13__va_list_tag T
|
|
|
|
_ZN6Genode7vprintfEPKcPc T
|
2018-01-10 11:13:46 +00:00
|
|
|
_ZN6Genode7vprintfEPKcPv T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode7vprintfEPKcSt9__va_list T
|
2017-11-17 15:00:24 +00:00
|
|
|
_ZN6Genode8Duration3addENS_12MicrosecondsE T
|
|
|
|
_ZN6Genode8Duration3addENS_12MillisecondsE T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZN6Genode8ipc_callENS_17Native_capabilityERNS_11Msgbuf_baseES2_m T
|
|
|
|
_ZN6Genode9ipc_replyENS_17Native_capabilityENS_18Rpc_exception_codeERNS_11Msgbuf_baseE T
|
2017-08-24 14:24:04 +00:00
|
|
|
_ZN9Component10stack_sizeEv T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZNK6Genode11Sliced_heap8overheadEm T
|
|
|
|
_ZNK6Genode13Session_state24generate_session_requestERNS_13Xml_generatorE T
|
2017-02-17 14:25:52 +00:00
|
|
|
_ZNK6Genode13Session_state25generate_client_side_infoERNS_13Xml_generatorENS0_6DetailE T
|
|
|
|
_ZNK6Genode13Session_state25generate_server_side_infoERNS_13Xml_generatorENS0_6DetailE T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZNK6Genode13Session_state5printERNS_6OutputE T
|
|
|
|
_ZNK6Genode13Shared_object7_lookupEPKc T
|
|
|
|
_ZNK6Genode13Shared_object8link_mapEv T
|
|
|
|
_ZNK6Genode14Rpc_entrypoint9is_myselfEv T
|
|
|
|
_ZNK6Genode17Native_capability10local_nameEv T
|
|
|
|
_ZNK6Genode17Native_capability3rawEv T
|
|
|
|
_ZNK6Genode17Native_capability5printERNS_6OutputE T
|
|
|
|
_ZNK6Genode17Native_capability5validEv T
|
|
|
|
_ZNK6Genode18Allocator_avl_base10valid_addrEm T
|
|
|
|
_ZNK6Genode18Allocator_avl_base5availEv T
|
|
|
|
_ZNK6Genode18Allocator_avl_base7size_atEPKv T
|
|
|
|
_ZNK6Genode3Hex5printERNS_6OutputE T
|
|
|
|
_ZNK6Genode4Slab8consumedEv T
|
|
|
|
_ZNK6Genode5Child15main_thread_capEv T
|
|
|
|
_ZNK6Genode5Child21notify_resource_availEv T
|
|
|
|
_ZNK6Genode6Thread10stack_baseEv T
|
|
|
|
_ZNK6Genode6Thread4nameEv T
|
|
|
|
_ZNK6Genode6Thread9stack_topEv T
|
2017-11-01 17:44:27 +00:00
|
|
|
_ZNK6Genode8Duration17trunc_to_plain_msEv T
|
os/timer: interpolate time via timestamps
Previously, the Genode::Timer::curr_time always used the
Timer_session::elapsed_ms RPC as back end. Now, Genode::Timer reads
this remote time only in a periodic fashion independently from the calls
to Genode::Timer::curr_time. If now one calls Genode::Timer::curr_time,
the function takes the last read remote time value and adapts it using
the timestamp difference since the remote-time read. The conversion
factor from timestamps to time is estimated on every remote-time read
using the last read remote-time value and the timestamp difference since
the last remote time read.
This commit also re-works the timeout test. The test now has two stages.
In the first stage, it tests fast polling of the
Genode::Timer::curr_time. This stage checks the error between locally
interpolated and timer-driver time as well as wether the locally
interpolated time is monotone and sufficiently homogeneous. In the
second stage several periodic and one-shot timeouts are scheduled at
once. This stage checks if the timeouts trigger sufficiently precise.
This commit adds the new Kernel::time syscall to base-hw. The syscall is
solely used by the Genode::Timer on base-hw as substitute for the
timestamp. This is because on ARM, the timestamp function uses the ARM
performance counter that stops counting when the WFI (wait for
interrupt) instruction is active. This instruction, however is used by
the base-hw idle contexts that get active when no user thread needs to
be scheduled. Thus, the ARM performance counter is not a good choice for
time interpolation and we use the kernel internal time instead.
With this commit, the timeout library becomes a basic library. That means
that it is linked against the LDSO which then provides it to the program it
serves. Furthermore, you can't use the timeout library anymore without the
LDSO because through the kernel-dependent LDSO make-files we can achieve a
kernel-dependent timeout implementation.
This commit introduces a structured Duration type that shall successively
replace the use of Microseconds, Milliseconds, and integer types for duration
values.
Open issues:
* The timeout test fails on Raspberry PI because of precision errors in the
first stage. However, this does not render the framework unusable in general
on the RPI but merely is an issue when speaking of microseconds precision.
* If we run on ARM with another Kernel than HW the timestamp speed may
continuously vary from almost 0 up to CPU speed. The Timer, however,
only uses interpolation if the timestamp speed remained stable (12.5%
tolerance) for at least 3 observation periods. Currently, one period is
100ms, so its 300ms. As long as this is not the case,
Timer_session::elapsed_ms is called instead.
Anyway, it might happen that the CPU load was stable for some time so
interpolation becomes active and now the timestamp speed drops. In the
worst case, we would now have 100ms of slowed down time. The bad thing
about it would be, that this also affects the timeout of the period.
Thus, it might "freeze" the local time for more than 100ms.
On the other hand, if the timestamp speed suddenly raises after some
stable time, interpolated time can get too fast. This would shorten the
period but nonetheless may result in drifting away into the far future.
Now we would have the problem that we can't deliver the real time
anymore until it has caught up because the output of Timer::curr_time
shall be monotone. So, effectively local time might "freeze" again for
more than 100ms.
It would be a solution to not use the Trace::timestamp on ARM w/o HW but
a function whose return value causes the Timer to never use
interpolation because of its stability policy.
Fixes #2400
2017-04-21 22:52:23 +00:00
|
|
|
_ZNK6Genode8Duration17trunc_to_plain_usEv T
|
2017-11-17 15:00:24 +00:00
|
|
|
_ZNK6Genode8Duration9less_thanERS0_ T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZNKSt13bad_exception4whatEv T
|
|
|
|
_ZNKSt9exception4whatEv T
|
|
|
|
_ZNSt13bad_exceptionD0Ev T
|
|
|
|
_ZNSt13bad_exceptionD1Ev T
|
|
|
|
_ZNSt13bad_exceptionD2Ev T
|
|
|
|
_ZNSt9exceptionD0Ev T
|
|
|
|
_ZNSt9exceptionD1Ev T
|
|
|
|
_ZNSt9exceptionD2Ev T
|
|
|
|
_ZSt18uncaught_exceptionv T
|
|
|
|
_ZSt9terminatev T
|
2018-01-10 11:13:46 +00:00
|
|
|
_ZTIDd D 16
|
|
|
|
_ZTIDe D 16
|
|
|
|
_ZTIDf D 16
|
|
|
|
_ZTIDi D 16
|
|
|
|
_ZTIDn D 16
|
|
|
|
_ZTIDs D 16
|
|
|
|
_ZTIN10__cxxabiv115__forced_unwindE D 16
|
|
|
|
_ZTIN10__cxxabiv116__enum_type_infoE D 24
|
|
|
|
_ZTIN10__cxxabiv117__class_type_infoE D 24
|
|
|
|
_ZTIN10__cxxabiv117__pbase_type_infoE D 24
|
|
|
|
_ZTIN10__cxxabiv119__foreign_exceptionE D 16
|
|
|
|
_ZTIN10__cxxabiv119__pointer_type_infoE D 24
|
|
|
|
_ZTIN10__cxxabiv120__function_type_infoE D 24
|
|
|
|
_ZTIN10__cxxabiv120__si_class_type_infoE D 24
|
|
|
|
_ZTIN10__cxxabiv121__vmi_class_type_infoE D 24
|
|
|
|
_ZTIN10__cxxabiv123__fundamental_type_infoE D 24
|
|
|
|
_ZTIN5Timer10ConnectionE D 88
|
|
|
|
_ZTIN6Genode11Sliced_heapE D 24
|
|
|
|
_ZTIN6Genode14Rpc_entrypointE D 56
|
|
|
|
_ZTIN6Genode14Signal_contextE D 56
|
|
|
|
_ZTIN6Genode14Timeout_threadE D 56
|
|
|
|
_ZTIN6Genode17Region_map_clientE D 24
|
|
|
|
_ZTIN6Genode17Rm_session_clientE D 24
|
|
|
|
_ZTIN6Genode18Allocator_avl_baseE D 24
|
|
|
|
_ZTIN6Genode23Alarm_timeout_schedulerE D 72
|
|
|
|
_ZTIN6Genode4HeapE D 24
|
|
|
|
_ZTIN6Genode4SlabE D 24
|
|
|
|
_ZTIN6Genode5AlarmE D 16
|
|
|
|
_ZTIN6Genode5Child14Initial_threadE D 24
|
|
|
|
_ZTIN6Genode5ChildE D 72
|
|
|
|
_ZTIN6Genode6OutputE D 24
|
|
|
|
_ZTIN6Genode6ThreadE D 16
|
|
|
|
_ZTIN6Genode7ConsoleE D 16
|
os/timer: interpolate time via timestamps
Previously, the Genode::Timer::curr_time always used the
Timer_session::elapsed_ms RPC as back end. Now, Genode::Timer reads
this remote time only in a periodic fashion independently from the calls
to Genode::Timer::curr_time. If now one calls Genode::Timer::curr_time,
the function takes the last read remote time value and adapts it using
the timestamp difference since the remote-time read. The conversion
factor from timestamps to time is estimated on every remote-time read
using the last read remote-time value and the timestamp difference since
the last remote time read.
This commit also re-works the timeout test. The test now has two stages.
In the first stage, it tests fast polling of the
Genode::Timer::curr_time. This stage checks the error between locally
interpolated and timer-driver time as well as wether the locally
interpolated time is monotone and sufficiently homogeneous. In the
second stage several periodic and one-shot timeouts are scheduled at
once. This stage checks if the timeouts trigger sufficiently precise.
This commit adds the new Kernel::time syscall to base-hw. The syscall is
solely used by the Genode::Timer on base-hw as substitute for the
timestamp. This is because on ARM, the timestamp function uses the ARM
performance counter that stops counting when the WFI (wait for
interrupt) instruction is active. This instruction, however is used by
the base-hw idle contexts that get active when no user thread needs to
be scheduled. Thus, the ARM performance counter is not a good choice for
time interpolation and we use the kernel internal time instead.
With this commit, the timeout library becomes a basic library. That means
that it is linked against the LDSO which then provides it to the program it
serves. Furthermore, you can't use the timeout library anymore without the
LDSO because through the kernel-dependent LDSO make-files we can achieve a
kernel-dependent timeout implementation.
This commit introduces a structured Duration type that shall successively
replace the use of Microseconds, Milliseconds, and integer types for duration
values.
Open issues:
* The timeout test fails on Raspberry PI because of precision errors in the
first stage. However, this does not render the framework unusable in general
on the RPI but merely is an issue when speaking of microseconds precision.
* If we run on ARM with another Kernel than HW the timestamp speed may
continuously vary from almost 0 up to CPU speed. The Timer, however,
only uses interpolation if the timestamp speed remained stable (12.5%
tolerance) for at least 3 observation periods. Currently, one period is
100ms, so its 300ms. As long as this is not the case,
Timer_session::elapsed_ms is called instead.
Anyway, it might happen that the CPU load was stable for some time so
interpolation becomes active and now the timestamp speed drops. In the
worst case, we would now have 100ms of slowed down time. The bad thing
about it would be, that this also affects the timeout of the period.
Thus, it might "freeze" the local time for more than 100ms.
On the other hand, if the timestamp speed suddenly raises after some
stable time, interpolated time can get too fast. This would shorten the
period but nonetheless may result in drifting away into the far future.
Now we would have the problem that we can't deliver the real time
anymore until it has caught up because the output of Timer::curr_time
shall be monotone. So, effectively local time might "freeze" again for
more than 100ms.
It would be a solution to not use the Trace::timestamp on ARM w/o HW but
a function whose return value causes the Timer to never use
interpolation because of its stability policy.
Fixes #2400
2017-04-21 22:52:23 +00:00
|
|
|
_ZTIN6Genode7Timeout5AlarmE D 24
|
2018-01-10 11:13:46 +00:00
|
|
|
_ZTIPDd D 32
|
|
|
|
_ZTIPDe D 32
|
|
|
|
_ZTIPDf D 32
|
|
|
|
_ZTIPDi D 32
|
|
|
|
_ZTIPDn D 32
|
|
|
|
_ZTIPDs D 32
|
|
|
|
_ZTIPKDd D 32
|
|
|
|
_ZTIPKDe D 32
|
|
|
|
_ZTIPKDf D 32
|
|
|
|
_ZTIPKDi D 32
|
|
|
|
_ZTIPKDn D 32
|
|
|
|
_ZTIPKDs D 32
|
|
|
|
_ZTIPKa D 32
|
|
|
|
_ZTIPKb D 32
|
|
|
|
_ZTIPKc D 32
|
|
|
|
_ZTIPKd D 32
|
|
|
|
_ZTIPKe D 32
|
|
|
|
_ZTIPKf D 32
|
|
|
|
_ZTIPKh D 32
|
|
|
|
_ZTIPKi D 32
|
|
|
|
_ZTIPKj D 32
|
|
|
|
_ZTIPKl D 32
|
|
|
|
_ZTIPKm D 32
|
|
|
|
_ZTIPKs D 32
|
|
|
|
_ZTIPKt D 32
|
|
|
|
_ZTIPKx D 32
|
|
|
|
_ZTIPKy D 32
|
|
|
|
_ZTIPVKa D 32
|
|
|
|
_ZTIPVKb D 32
|
|
|
|
_ZTIPVKc D 32
|
|
|
|
_ZTIPVKd D 32
|
|
|
|
_ZTIPVKe D 32
|
|
|
|
_ZTIPVKf D 32
|
|
|
|
_ZTIPVKh D 32
|
|
|
|
_ZTIPVKi D 32
|
|
|
|
_ZTIPVKj D 32
|
|
|
|
_ZTIPVKl D 32
|
|
|
|
_ZTIPVKm D 32
|
|
|
|
_ZTIPVKs D 32
|
|
|
|
_ZTIPVKt D 32
|
|
|
|
_ZTIPVKx D 32
|
|
|
|
_ZTIPVKy D 32
|
|
|
|
_ZTIPVa D 32
|
|
|
|
_ZTIPVb D 32
|
|
|
|
_ZTIPVc D 32
|
|
|
|
_ZTIPVd D 32
|
|
|
|
_ZTIPVe D 32
|
|
|
|
_ZTIPVf D 32
|
|
|
|
_ZTIPVh D 32
|
|
|
|
_ZTIPVi D 32
|
|
|
|
_ZTIPVj D 32
|
|
|
|
_ZTIPVl D 32
|
|
|
|
_ZTIPVm D 32
|
|
|
|
_ZTIPVs D 32
|
|
|
|
_ZTIPVt D 32
|
|
|
|
_ZTIPVx D 32
|
|
|
|
_ZTIPVy D 32
|
|
|
|
_ZTIPa D 32
|
|
|
|
_ZTIPb D 32
|
|
|
|
_ZTIPc D 32
|
|
|
|
_ZTIPd D 32
|
|
|
|
_ZTIPe D 32
|
|
|
|
_ZTIPf D 32
|
|
|
|
_ZTIPh D 32
|
|
|
|
_ZTIPi D 32
|
|
|
|
_ZTIPj D 32
|
|
|
|
_ZTIPl D 32
|
|
|
|
_ZTIPm D 32
|
|
|
|
_ZTIPs D 32
|
|
|
|
_ZTIPt D 32
|
|
|
|
_ZTIPx D 32
|
|
|
|
_ZTIPy D 32
|
|
|
|
_ZTISt10bad_typeid D 24
|
|
|
|
_ZTISt13bad_exception D 24
|
|
|
|
_ZTISt16bad_array_length D 24
|
|
|
|
_ZTISt20bad_array_new_length D 24
|
|
|
|
_ZTISt8bad_cast D 24
|
|
|
|
_ZTISt9bad_alloc D 24
|
|
|
|
_ZTISt9exception D 16
|
|
|
|
_ZTISt9type_info D 16
|
|
|
|
_ZTIa D 32
|
|
|
|
_ZTIb D 32
|
|
|
|
_ZTIc D 32
|
|
|
|
_ZTId D 32
|
|
|
|
_ZTIe D 32
|
|
|
|
_ZTIf D 32
|
|
|
|
_ZTIh D 32
|
|
|
|
_ZTIi D 32
|
|
|
|
_ZTIj D 32
|
|
|
|
_ZTIl D 32
|
|
|
|
_ZTIm D 32
|
|
|
|
_ZTIs D 32
|
|
|
|
_ZTIt D 32
|
|
|
|
_ZTIx D 32
|
|
|
|
_ZTIy D 32
|
2017-09-28 12:49:22 +00:00
|
|
|
_ZTSN10__cxxabiv115__forced_unwindE R 32
|
|
|
|
_ZTSN10__cxxabiv116__enum_type_infoE R 33
|
|
|
|
_ZTSN10__cxxabiv117__class_type_infoE R 34
|
|
|
|
_ZTSN10__cxxabiv117__pbase_type_infoE R 34
|
|
|
|
_ZTSN10__cxxabiv119__foreign_exceptionE R 36
|
|
|
|
_ZTSN10__cxxabiv119__pointer_type_infoE R 36
|
|
|
|
_ZTSN10__cxxabiv120__function_type_infoE R 37
|
|
|
|
_ZTSN10__cxxabiv120__si_class_type_infoE R 37
|
|
|
|
_ZTSN10__cxxabiv121__vmi_class_type_infoE R 38
|
|
|
|
_ZTSN10__cxxabiv123__fundamental_type_infoE R 40
|
2018-01-10 11:13:46 +00:00
|
|
|
_ZTSN5Timer10ConnectionE R 21
|
2017-09-28 12:49:22 +00:00
|
|
|
_ZTSN6Genode11Sliced_heapE R 23
|
|
|
|
_ZTSN6Genode14Rpc_entrypointE R 26
|
|
|
|
_ZTSN6Genode14Signal_contextE R 26
|
|
|
|
_ZTSN6Genode14Timeout_threadE R 26
|
|
|
|
_ZTSN6Genode17Region_map_clientE R 29
|
|
|
|
_ZTSN6Genode17Rm_session_clientE R 29
|
|
|
|
_ZTSN6Genode18Allocator_avl_baseE R 30
|
|
|
|
_ZTSN6Genode23Alarm_timeout_schedulerE R 35
|
|
|
|
_ZTSN6Genode4HeapE R 15
|
|
|
|
_ZTSN6Genode4SlabE R 15
|
|
|
|
_ZTSN6Genode5AlarmE R 16
|
|
|
|
_ZTSN6Genode5Child14Initial_threadE R 32
|
|
|
|
_ZTSN6Genode5ChildE R 16
|
|
|
|
_ZTSN6Genode6OutputE R 17
|
|
|
|
_ZTSN6Genode6ThreadE R 17
|
|
|
|
_ZTSN6Genode7ConsoleE R 18
|
|
|
|
_ZTSN6Genode7Timeout5AlarmE R 24
|
|
|
|
_ZTSSt10bad_typeid R 15
|
|
|
|
_ZTSSt13bad_exception R 18
|
|
|
|
_ZTSSt16bad_array_length R 21
|
|
|
|
_ZTSSt20bad_array_new_length R 25
|
|
|
|
_ZTSSt8bad_cast R 12
|
|
|
|
_ZTSSt9bad_alloc R 13
|
|
|
|
_ZTSSt9exception R 13
|
|
|
|
_ZTSSt9type_info R 13
|
2018-01-10 11:13:46 +00:00
|
|
|
_ZTVN10__cxxabiv115__forced_unwindE D 40
|
|
|
|
_ZTVN10__cxxabiv116__enum_type_infoE D 64
|
|
|
|
_ZTVN10__cxxabiv117__class_type_infoE D 88
|
|
|
|
_ZTVN10__cxxabiv117__pbase_type_infoE D 72
|
|
|
|
_ZTVN10__cxxabiv119__foreign_exceptionE D 40
|
|
|
|
_ZTVN10__cxxabiv119__pointer_type_infoE D 72
|
|
|
|
_ZTVN10__cxxabiv120__function_type_infoE D 64
|
|
|
|
_ZTVN10__cxxabiv120__si_class_type_infoE D 88
|
|
|
|
_ZTVN10__cxxabiv121__vmi_class_type_infoE D 88
|
|
|
|
_ZTVN10__cxxabiv123__fundamental_type_infoE D 64
|
|
|
|
_ZTVN5Timer10ConnectionE D 320
|
|
|
|
_ZTVN6Genode11Sliced_heapE D 72
|
|
|
|
_ZTVN6Genode14Rpc_entrypointE D 80
|
|
|
|
_ZTVN6Genode14Signal_contextE D 32
|
|
|
|
_ZTVN6Genode14Timeout_threadE D 48
|
|
|
|
_ZTVN6Genode17Region_map_clientE D 72
|
|
|
|
_ZTVN6Genode17Rm_session_clientE D 48
|
|
|
|
_ZTVN6Genode18Allocator_avl_baseE D 128
|
|
|
|
_ZTVN6Genode23Alarm_timeout_schedulerE D 112
|
|
|
|
_ZTVN6Genode4HeapE D 72
|
|
|
|
_ZTVN6Genode4SlabE D 72
|
|
|
|
_ZTVN6Genode5AlarmE D 40
|
|
|
|
_ZTVN6Genode5Child14Initial_threadE D 48
|
|
|
|
_ZTVN6Genode5ChildE D 408
|
|
|
|
_ZTVN6Genode6OutputE D 48
|
|
|
|
_ZTVN6Genode6ThreadE D 48
|
|
|
|
_ZTVN6Genode7ConsoleE D 48
|
os/timer: interpolate time via timestamps
Previously, the Genode::Timer::curr_time always used the
Timer_session::elapsed_ms RPC as back end. Now, Genode::Timer reads
this remote time only in a periodic fashion independently from the calls
to Genode::Timer::curr_time. If now one calls Genode::Timer::curr_time,
the function takes the last read remote time value and adapts it using
the timestamp difference since the remote-time read. The conversion
factor from timestamps to time is estimated on every remote-time read
using the last read remote-time value and the timestamp difference since
the last remote time read.
This commit also re-works the timeout test. The test now has two stages.
In the first stage, it tests fast polling of the
Genode::Timer::curr_time. This stage checks the error between locally
interpolated and timer-driver time as well as wether the locally
interpolated time is monotone and sufficiently homogeneous. In the
second stage several periodic and one-shot timeouts are scheduled at
once. This stage checks if the timeouts trigger sufficiently precise.
This commit adds the new Kernel::time syscall to base-hw. The syscall is
solely used by the Genode::Timer on base-hw as substitute for the
timestamp. This is because on ARM, the timestamp function uses the ARM
performance counter that stops counting when the WFI (wait for
interrupt) instruction is active. This instruction, however is used by
the base-hw idle contexts that get active when no user thread needs to
be scheduled. Thus, the ARM performance counter is not a good choice for
time interpolation and we use the kernel internal time instead.
With this commit, the timeout library becomes a basic library. That means
that it is linked against the LDSO which then provides it to the program it
serves. Furthermore, you can't use the timeout library anymore without the
LDSO because through the kernel-dependent LDSO make-files we can achieve a
kernel-dependent timeout implementation.
This commit introduces a structured Duration type that shall successively
replace the use of Microseconds, Milliseconds, and integer types for duration
values.
Open issues:
* The timeout test fails on Raspberry PI because of precision errors in the
first stage. However, this does not render the framework unusable in general
on the RPI but merely is an issue when speaking of microseconds precision.
* If we run on ARM with another Kernel than HW the timestamp speed may
continuously vary from almost 0 up to CPU speed. The Timer, however,
only uses interpolation if the timestamp speed remained stable (12.5%
tolerance) for at least 3 observation periods. Currently, one period is
100ms, so its 300ms. As long as this is not the case,
Timer_session::elapsed_ms is called instead.
Anyway, it might happen that the CPU load was stable for some time so
interpolation becomes active and now the timestamp speed drops. In the
worst case, we would now have 100ms of slowed down time. The bad thing
about it would be, that this also affects the timeout of the period.
Thus, it might "freeze" the local time for more than 100ms.
On the other hand, if the timestamp speed suddenly raises after some
stable time, interpolated time can get too fast. This would shorten the
period but nonetheless may result in drifting away into the far future.
Now we would have the problem that we can't deliver the real time
anymore until it has caught up because the output of Timer::curr_time
shall be monotone. So, effectively local time might "freeze" again for
more than 100ms.
It would be a solution to not use the Trace::timestamp on ARM w/o HW but
a function whose return value causes the Timer to never use
interpolation because of its stability policy.
Fixes #2400
2017-04-21 22:52:23 +00:00
|
|
|
_ZTVN6Genode7Timeout5AlarmE D 40
|
2018-01-10 11:13:46 +00:00
|
|
|
_ZTVSt10bad_typeid D 40
|
|
|
|
_ZTVSt13bad_exception D 40
|
|
|
|
_ZTVSt16bad_array_length D 40
|
|
|
|
_ZTVSt20bad_array_new_length D 40
|
|
|
|
_ZTVSt8bad_cast D 40
|
|
|
|
_ZTVSt9bad_alloc D 40
|
|
|
|
_ZTVSt9exception D 40
|
|
|
|
_ZTVSt9type_info D 64
|
Follow practices suggested by "Effective C++"
The patch adjust the code of the base, base-<kernel>, and os repository.
To adapt existing components to fix violations of the best practices
suggested by "Effective C++" as reported by the -Weffc++ compiler
argument. The changes follow the patterns outlined below:
* A class with virtual functions can no longer publicly inherit base
classed without a vtable. The inherited object may either be moved
to a member variable, or inherited privately. The latter would be
used for classes that inherit 'List::Element' or 'Avl_node'. In order
to enable the 'List' and 'Avl_tree' to access the meta data, the
'List' must become a friend.
* Instead of adding a virtual destructor to abstract base classes,
we inherit the new 'Interface' class, which contains a virtual
destructor. This way, single-line abstract base classes can stay
as compact as they are now. The 'Interface' utility resides in
base/include/util/interface.h.
* With the new warnings enabled, all member variables must be explicitly
initialized. Basic types may be initialized with '='. All other types
are initialized with braces '{ ... }' or as class initializers. If
basic types and non-basic types appear in a row, it is nice to only
use the brace syntax (also for basic types) and align the braces.
* If a class contains pointers as members, it must now also provide a
copy constructor and assignment operator. In the most cases, one
would make them private, effectively disallowing the objects to be
copied. Unfortunately, this warning cannot be fixed be inheriting
our existing 'Noncopyable' class (the compiler fails to detect that
the inheriting class cannot be copied and still gives the error).
For now, we have to manually add declarations for both the copy
constructor and assignment operator as private class members. Those
declarations should be prepended with a comment like this:
/*
* Noncopyable
*/
Thread(Thread const &);
Thread &operator = (Thread const &);
In the future, we should revisit these places and try to replace
the pointers with references. In the presence of at least one
reference member, the compiler would no longer implicitly generate
a copy constructor. So we could remove the manual declaration.
Issue #465
2017-12-21 14:42:15 +00:00
|
|
|
_ZThn236_N5Timer10Connection16schedule_timeoutEN6Genode12MicrosecondsERNS1_11Time_source15Timeout_handlerE T
|
os/timer: interpolate time via timestamps
Previously, the Genode::Timer::curr_time always used the
Timer_session::elapsed_ms RPC as back end. Now, Genode::Timer reads
this remote time only in a periodic fashion independently from the calls
to Genode::Timer::curr_time. If now one calls Genode::Timer::curr_time,
the function takes the last read remote time value and adapts it using
the timestamp difference since the remote-time read. The conversion
factor from timestamps to time is estimated on every remote-time read
using the last read remote-time value and the timestamp difference since
the last remote time read.
This commit also re-works the timeout test. The test now has two stages.
In the first stage, it tests fast polling of the
Genode::Timer::curr_time. This stage checks the error between locally
interpolated and timer-driver time as well as wether the locally
interpolated time is monotone and sufficiently homogeneous. In the
second stage several periodic and one-shot timeouts are scheduled at
once. This stage checks if the timeouts trigger sufficiently precise.
This commit adds the new Kernel::time syscall to base-hw. The syscall is
solely used by the Genode::Timer on base-hw as substitute for the
timestamp. This is because on ARM, the timestamp function uses the ARM
performance counter that stops counting when the WFI (wait for
interrupt) instruction is active. This instruction, however is used by
the base-hw idle contexts that get active when no user thread needs to
be scheduled. Thus, the ARM performance counter is not a good choice for
time interpolation and we use the kernel internal time instead.
With this commit, the timeout library becomes a basic library. That means
that it is linked against the LDSO which then provides it to the program it
serves. Furthermore, you can't use the timeout library anymore without the
LDSO because through the kernel-dependent LDSO make-files we can achieve a
kernel-dependent timeout implementation.
This commit introduces a structured Duration type that shall successively
replace the use of Microseconds, Milliseconds, and integer types for duration
values.
Open issues:
* The timeout test fails on Raspberry PI because of precision errors in the
first stage. However, this does not render the framework unusable in general
on the RPI but merely is an issue when speaking of microseconds precision.
* If we run on ARM with another Kernel than HW the timestamp speed may
continuously vary from almost 0 up to CPU speed. The Timer, however,
only uses interpolation if the timestamp speed remained stable (12.5%
tolerance) for at least 3 observation periods. Currently, one period is
100ms, so its 300ms. As long as this is not the case,
Timer_session::elapsed_ms is called instead.
Anyway, it might happen that the CPU load was stable for some time so
interpolation becomes active and now the timestamp speed drops. In the
worst case, we would now have 100ms of slowed down time. The bad thing
about it would be, that this also affects the timeout of the period.
Thus, it might "freeze" the local time for more than 100ms.
On the other hand, if the timestamp speed suddenly raises after some
stable time, interpolated time can get too fast. This would shorten the
period but nonetheless may result in drifting away into the far future.
Now we would have the problem that we can't deliver the real time
anymore until it has caught up because the output of Timer::curr_time
shall be monotone. So, effectively local time might "freeze" again for
more than 100ms.
It would be a solution to not use the Trace::timestamp on ARM w/o HW but
a function whose return value causes the Timer to never use
interpolation because of its stability policy.
Fixes #2400
2017-04-21 22:52:23 +00:00
|
|
|
_ZThn236_N5Timer10Connection9curr_timeEv T
|
Follow practices suggested by "Effective C++"
The patch adjust the code of the base, base-<kernel>, and os repository.
To adapt existing components to fix violations of the best practices
suggested by "Effective C++" as reported by the -Weffc++ compiler
argument. The changes follow the patterns outlined below:
* A class with virtual functions can no longer publicly inherit base
classed without a vtable. The inherited object may either be moved
to a member variable, or inherited privately. The latter would be
used for classes that inherit 'List::Element' or 'Avl_node'. In order
to enable the 'List' and 'Avl_tree' to access the meta data, the
'List' must become a friend.
* Instead of adding a virtual destructor to abstract base classes,
we inherit the new 'Interface' class, which contains a virtual
destructor. This way, single-line abstract base classes can stay
as compact as they are now. The 'Interface' utility resides in
base/include/util/interface.h.
* With the new warnings enabled, all member variables must be explicitly
initialized. Basic types may be initialized with '='. All other types
are initialized with braces '{ ... }' or as class initializers. If
basic types and non-basic types appear in a row, it is nice to only
use the brace syntax (also for basic types) and align the braces.
* If a class contains pointers as members, it must now also provide a
copy constructor and assignment operator. In the most cases, one
would make them private, effectively disallowing the objects to be
copied. Unfortunately, this warning cannot be fixed be inheriting
our existing 'Noncopyable' class (the compiler fails to detect that
the inheriting class cannot be copied and still gives the error).
For now, we have to manually add declarations for both the copy
constructor and assignment operator as private class members. Those
declarations should be prepended with a comment like this:
/*
* Noncopyable
*/
Thread(Thread const &);
Thread &operator = (Thread const &);
In the future, we should revisit these places and try to replace
the pointers with references. In the presence of at least one
reference member, the compiler would no longer implicitly generate
a copy constructor. So we could remove the manual declaration.
Issue #465
2017-12-21 14:42:15 +00:00
|
|
|
_ZThn240_N5Timer10Connection18_schedule_one_shotERN6Genode7TimeoutENS1_12MicrosecondsE T
|
|
|
|
_ZThn240_N5Timer10Connection18_schedule_periodicERN6Genode7TimeoutENS1_12MicrosecondsE T
|
|
|
|
_ZThn240_N5Timer10Connection8_discardERN6Genode7TimeoutE T
|
|
|
|
_ZThn240_N5Timer10Connection9curr_timeEv T
|
|
|
|
_ZThn288_N5Timer10Connection16schedule_timeoutEN6Genode12MicrosecondsERNS1_11Time_source15Timeout_handlerE T
|
os/timer: interpolate time via timestamps
Previously, the Genode::Timer::curr_time always used the
Timer_session::elapsed_ms RPC as back end. Now, Genode::Timer reads
this remote time only in a periodic fashion independently from the calls
to Genode::Timer::curr_time. If now one calls Genode::Timer::curr_time,
the function takes the last read remote time value and adapts it using
the timestamp difference since the remote-time read. The conversion
factor from timestamps to time is estimated on every remote-time read
using the last read remote-time value and the timestamp difference since
the last remote time read.
This commit also re-works the timeout test. The test now has two stages.
In the first stage, it tests fast polling of the
Genode::Timer::curr_time. This stage checks the error between locally
interpolated and timer-driver time as well as wether the locally
interpolated time is monotone and sufficiently homogeneous. In the
second stage several periodic and one-shot timeouts are scheduled at
once. This stage checks if the timeouts trigger sufficiently precise.
This commit adds the new Kernel::time syscall to base-hw. The syscall is
solely used by the Genode::Timer on base-hw as substitute for the
timestamp. This is because on ARM, the timestamp function uses the ARM
performance counter that stops counting when the WFI (wait for
interrupt) instruction is active. This instruction, however is used by
the base-hw idle contexts that get active when no user thread needs to
be scheduled. Thus, the ARM performance counter is not a good choice for
time interpolation and we use the kernel internal time instead.
With this commit, the timeout library becomes a basic library. That means
that it is linked against the LDSO which then provides it to the program it
serves. Furthermore, you can't use the timeout library anymore without the
LDSO because through the kernel-dependent LDSO make-files we can achieve a
kernel-dependent timeout implementation.
This commit introduces a structured Duration type that shall successively
replace the use of Microseconds, Milliseconds, and integer types for duration
values.
Open issues:
* The timeout test fails on Raspberry PI because of precision errors in the
first stage. However, this does not render the framework unusable in general
on the RPI but merely is an issue when speaking of microseconds precision.
* If we run on ARM with another Kernel than HW the timestamp speed may
continuously vary from almost 0 up to CPU speed. The Timer, however,
only uses interpolation if the timestamp speed remained stable (12.5%
tolerance) for at least 3 observation periods. Currently, one period is
100ms, so its 300ms. As long as this is not the case,
Timer_session::elapsed_ms is called instead.
Anyway, it might happen that the CPU load was stable for some time so
interpolation becomes active and now the timestamp speed drops. In the
worst case, we would now have 100ms of slowed down time. The bad thing
about it would be, that this also affects the timeout of the period.
Thus, it might "freeze" the local time for more than 100ms.
On the other hand, if the timestamp speed suddenly raises after some
stable time, interpolated time can get too fast. This would shorten the
period but nonetheless may result in drifting away into the far future.
Now we would have the problem that we can't deliver the real time
anymore until it has caught up because the output of Timer::curr_time
shall be monotone. So, effectively local time might "freeze" again for
more than 100ms.
It would be a solution to not use the Trace::timestamp on ARM w/o HW but
a function whose return value causes the Timer to never use
interpolation because of its stability policy.
Fixes #2400
2017-04-21 22:52:23 +00:00
|
|
|
_ZThn288_N5Timer10Connection9curr_timeEv T
|
Follow practices suggested by "Effective C++"
The patch adjust the code of the base, base-<kernel>, and os repository.
To adapt existing components to fix violations of the best practices
suggested by "Effective C++" as reported by the -Weffc++ compiler
argument. The changes follow the patterns outlined below:
* A class with virtual functions can no longer publicly inherit base
classed without a vtable. The inherited object may either be moved
to a member variable, or inherited privately. The latter would be
used for classes that inherit 'List::Element' or 'Avl_node'. In order
to enable the 'List' and 'Avl_tree' to access the meta data, the
'List' must become a friend.
* Instead of adding a virtual destructor to abstract base classes,
we inherit the new 'Interface' class, which contains a virtual
destructor. This way, single-line abstract base classes can stay
as compact as they are now. The 'Interface' utility resides in
base/include/util/interface.h.
* With the new warnings enabled, all member variables must be explicitly
initialized. Basic types may be initialized with '='. All other types
are initialized with braces '{ ... }' or as class initializers. If
basic types and non-basic types appear in a row, it is nice to only
use the brace syntax (also for basic types) and align the braces.
* If a class contains pointers as members, it must now also provide a
copy constructor and assignment operator. In the most cases, one
would make them private, effectively disallowing the objects to be
copied. Unfortunately, this warning cannot be fixed be inheriting
our existing 'Noncopyable' class (the compiler fails to detect that
the inheriting class cannot be copied and still gives the error).
For now, we have to manually add declarations for both the copy
constructor and assignment operator as private class members. Those
declarations should be prepended with a comment like this:
/*
* Noncopyable
*/
Thread(Thread const &);
Thread &operator = (Thread const &);
In the future, we should revisit these places and try to replace
the pointers with references. In the presence of at least one
reference member, the compiler would no longer implicitly generate
a copy constructor. So we could remove the manual declaration.
Issue #465
2017-12-21 14:42:15 +00:00
|
|
|
_ZThn296_N5Timer10Connection18_schedule_one_shotERN6Genode7TimeoutENS1_12MicrosecondsE T
|
|
|
|
_ZThn296_N5Timer10Connection18_schedule_periodicERN6Genode7TimeoutENS1_12MicrosecondsE T
|
|
|
|
_ZThn296_N5Timer10Connection8_discardERN6Genode7TimeoutE T
|
|
|
|
_ZThn296_N5Timer10Connection9curr_timeEv T
|
os/timer: interpolate time via timestamps
Previously, the Genode::Timer::curr_time always used the
Timer_session::elapsed_ms RPC as back end. Now, Genode::Timer reads
this remote time only in a periodic fashion independently from the calls
to Genode::Timer::curr_time. If now one calls Genode::Timer::curr_time,
the function takes the last read remote time value and adapts it using
the timestamp difference since the remote-time read. The conversion
factor from timestamps to time is estimated on every remote-time read
using the last read remote-time value and the timestamp difference since
the last remote time read.
This commit also re-works the timeout test. The test now has two stages.
In the first stage, it tests fast polling of the
Genode::Timer::curr_time. This stage checks the error between locally
interpolated and timer-driver time as well as wether the locally
interpolated time is monotone and sufficiently homogeneous. In the
second stage several periodic and one-shot timeouts are scheduled at
once. This stage checks if the timeouts trigger sufficiently precise.
This commit adds the new Kernel::time syscall to base-hw. The syscall is
solely used by the Genode::Timer on base-hw as substitute for the
timestamp. This is because on ARM, the timestamp function uses the ARM
performance counter that stops counting when the WFI (wait for
interrupt) instruction is active. This instruction, however is used by
the base-hw idle contexts that get active when no user thread needs to
be scheduled. Thus, the ARM performance counter is not a good choice for
time interpolation and we use the kernel internal time instead.
With this commit, the timeout library becomes a basic library. That means
that it is linked against the LDSO which then provides it to the program it
serves. Furthermore, you can't use the timeout library anymore without the
LDSO because through the kernel-dependent LDSO make-files we can achieve a
kernel-dependent timeout implementation.
This commit introduces a structured Duration type that shall successively
replace the use of Microseconds, Milliseconds, and integer types for duration
values.
Open issues:
* The timeout test fails on Raspberry PI because of precision errors in the
first stage. However, this does not render the framework unusable in general
on the RPI but merely is an issue when speaking of microseconds precision.
* If we run on ARM with another Kernel than HW the timestamp speed may
continuously vary from almost 0 up to CPU speed. The Timer, however,
only uses interpolation if the timestamp speed remained stable (12.5%
tolerance) for at least 3 observation periods. Currently, one period is
100ms, so its 300ms. As long as this is not the case,
Timer_session::elapsed_ms is called instead.
Anyway, it might happen that the CPU load was stable for some time so
interpolation becomes active and now the timestamp speed drops. In the
worst case, we would now have 100ms of slowed down time. The bad thing
about it would be, that this also affects the timeout of the period.
Thus, it might "freeze" the local time for more than 100ms.
On the other hand, if the timestamp speed suddenly raises after some
stable time, interpolated time can get too fast. This would shorten the
period but nonetheless may result in drifting away into the far future.
Now we would have the problem that we can't deliver the real time
anymore until it has caught up because the output of Timer::curr_time
shall be monotone. So, effectively local time might "freeze" again for
more than 100ms.
It would be a solution to not use the Trace::timestamp on ARM w/o HW but
a function whose return value causes the Timer to never use
interpolation because of its stability policy.
Fixes #2400
2017-04-21 22:52:23 +00:00
|
|
|
_ZThn4_N6Genode23Alarm_timeout_scheduler14handle_timeoutENS_8DurationE T
|
|
|
|
_ZThn8_N6Genode23Alarm_timeout_scheduler14handle_timeoutENS_8DurationE T
|
2016-12-09 22:09:17 +00:00
|
|
|
_ZdlPv W
|
|
|
|
_ZdlPvPN6Genode11DeallocatorE T
|
|
|
|
_ZdlPvPN6Genode9AllocatorE W
|
|
|
|
_ZdlPvRN6Genode11DeallocatorE T
|
|
|
|
_ZdlPvRN6Genode9AllocatorE W
|
|
|
|
_ZnajPN6Genode9AllocatorE T
|
|
|
|
_ZnajRN6Genode9AllocatorE T
|
|
|
|
_ZnamPN6Genode9AllocatorE T
|
|
|
|
_ZnamRN6Genode9AllocatorE T
|
|
|
|
_ZnwjPN6Genode9AllocatorE T
|
|
|
|
_ZnwjRN6Genode9AllocatorE T
|
|
|
|
_ZnwmPN6Genode9AllocatorE T
|
|
|
|
_ZnwmRN6Genode9AllocatorE T
|
|
|
|
__aeabi_atexit T
|
|
|
|
__aeabi_unwind_cpp_pr0 T
|
|
|
|
__aeabi_unwind_cpp_pr1 T
|
|
|
|
__cxa_allocate_dependent_exception T
|
|
|
|
__cxa_allocate_exception T
|
|
|
|
__cxa_atexit T
|
|
|
|
__cxa_bad_cast T
|
|
|
|
__cxa_bad_typeid T
|
|
|
|
__cxa_begin_catch T
|
|
|
|
__cxa_begin_cleanup T
|
|
|
|
__cxa_call_terminate T
|
|
|
|
__cxa_call_unexpected T
|
|
|
|
__cxa_current_exception_type T
|
|
|
|
__cxa_demangle T
|
|
|
|
__cxa_end_catch T
|
|
|
|
__cxa_end_cleanup T
|
|
|
|
__cxa_finalize T
|
|
|
|
__cxa_free_dependent_exception T
|
|
|
|
__cxa_free_exception T
|
|
|
|
__cxa_get_exception_ptr T
|
|
|
|
__cxa_get_globals T
|
|
|
|
__cxa_get_globals_fast T
|
|
|
|
__cxa_guard_abort T
|
|
|
|
__cxa_guard_acquire T
|
|
|
|
__cxa_guard_release T
|
|
|
|
__cxa_pure_virtual T
|
|
|
|
__cxa_rethrow T
|
|
|
|
__cxa_throw T
|
|
|
|
__cxa_throw_bad_array_length T
|
|
|
|
__cxa_throw_bad_array_new_length T
|
|
|
|
__cxa_type_match T
|
|
|
|
__dynamic_cast T
|
|
|
|
__gxx_personality_v0 T
|
|
|
|
dl_iterate_phdr T
|
|
|
|
dl_unwind_find_exidx T
|
|
|
|
genode_argc D 4
|
|
|
|
genode_argv D 8
|
2018-01-10 11:13:46 +00:00
|
|
|
genode_envp B 8
|
|
|
|
lx_environ B 8
|
2016-12-09 22:09:17 +00:00
|
|
|
memcpy W
|
|
|
|
memmove W
|
|
|
|
memset W
|
|
|
|
stdout_reconnect T
|
|
|
|
stdout_write T
|
|
|
|
wait_for_continue T
|