qemu-e2k/docs/devel
Peter Maydell cd3a53b727 clock: Add clock_ns_to_ticks() function
Add a clock_ns_to_ticks() function which does the opposite of
clock_ticks_to_ns(): given a duration in nanoseconds, it returns the
number of clock ticks that would happen in that time.  This is useful
for devices that have a free running counter register whose value can
be calculated when it is read.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Reviewed-by: Hao Wu <wuhaotsh@google.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210219144617.4782-4-peter.maydell@linaro.org
2021-03-08 17:20:01 +00:00
..
_templates docs: add "page source" link to sphinx documentation 2020-11-10 08:51:30 +01:00
atomics.rst
bitops.rst
blkdebug.txt
blkverify.txt
block-coroutine-wrapper.rst scripts: add block-coroutine-wrapper.py 2020-10-05 10:59:06 +01:00
build-system.rst meson: accept either shared or static libraries if --disable-static 2021-02-08 14:43:54 +01:00
clocks.rst clock: Add clock_ns_to_ticks() function 2021-03-08 17:20:01 +00:00
control-flow-integrity.rst docs: Add CFI Documentation 2021-01-02 21:03:36 +01:00
decodetree.rst
fuzzing.rst docs/fuzz: add some information about OSS-Fuzz 2021-02-08 14:43:54 +01:00
index.rst docs: move CODING_STYLE into the developer documentation 2021-02-24 11:05:21 +00:00
kconfig.rst meson: cleanup Kconfig.host handling 2021-01-02 21:03:36 +01:00
loads-stores.rst bswap.h: Remove unused float-access functions 2021-02-15 09:38:50 +00:00
lockcnt.txt
memory.rst
migration.rst docs/devel/migration: Improve debugging section a bit 2020-12-18 10:08:24 +00:00
multi-process.rst multi-process: add the concept description to docs/devel/qemu-multiprocess 2021-02-09 20:53:56 +00:00
multi-thread-tcg.rst docs: repair broken references 2020-10-10 11:37:46 +02:00
multiple-iothreads.txt
qapi-code-gen.txt docs/devel/qapi-code-gen: Fix up examples 2020-11-09 09:07:59 +01:00
qom.rst docs/devel/qom: Avoid long lines 2020-10-06 11:09:35 -04:00
qtest.rst docs/devel: update instruction on how to add new unit tests 2020-10-12 11:50:23 -04:00
rcu.txt Docs/RCU: Correct sample code of qatomic_rcu_set 2021-01-12 12:38:03 +01:00
replay.txt
reset.rst
s390-dasd-ipl.rst
secure-coding-practices.rst
stable-process.rst
style.rst docs: move CODING_STYLE into the developer documentation 2021-02-24 11:05:21 +00:00
tcg-icount.rst
tcg-plugins.rst plugins: new hwprofile plugin 2021-02-18 08:16:55 +00:00
tcg.rst
testing.rst docs/devel: add forward reference to check-tcg 2021-02-24 11:05:21 +00:00
tracing.rst trace: update docs with meson build information 2021-02-01 11:23:04 +00:00
virtio-migration.txt
writing-qmp-commands.txt docs: update to show preferred boolean syntax for -chardev 2021-02-25 14:14:33 +01:00