[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/4] hw/clock: Inline and remove CLOCK_PERIOD_TO_HZ/CLOCK_PERIOD_
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/4] hw/clock: Inline and remove CLOCK_PERIOD_TO_HZ/CLOCK_PERIOD_TO_NS macro |
Date: |
Tue, 20 Oct 2020 20:20:04 +0200 |
Following discussion and analysis from Peter:
https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg05853.html
Last patch is RFC because I doubt using 128-bit is what we want...
but I'm not sure how to round it neither.
Future possible cleanup: un-inline these helpers.
Luc Michel (1):
hw/core/clock: trace clock values in Hz instead of ns
Philippe Mathieu-Daudé (3):
qdev-monitor: Display frequencies scaled to SI unit
hw/clock: Inline and remove CLOCK_PERIOD_TO_HZ()
hw/clock: Inline and remove CLOCK_PERIOD_TO_NS()
include/hw/clock.h | 19 +++++++++++++------
hw/core/clock.c | 8 +++++---
softmmu/qdev-monitor.c | 8 +++++---
hw/core/trace-events | 4 ++--
4 files changed, 25 insertions(+), 14 deletions(-)
--
2.26.2
- [PATCH 0/4] hw/clock: Inline and remove CLOCK_PERIOD_TO_HZ/CLOCK_PERIOD_TO_NS macro,
Philippe Mathieu-Daudé <=