On Fri, 11 Dec 2020 at 13:50, Philippe Mathieu-Daudé wrote:
> (I also started to get rid of clock_get_hz() but, as you figured,
> this is not a trivial task).
Yeah; I haven't really looked at the users of clock_get_hz()
in detail to know whether it's really possible to remove it.
For the serial
On 12/8/20 7:15 PM, Peter Maydell wrote:
> This patchseries makes some changes to the clock API:
> * Remove clock_get_ns()
> * Add clock_ticks_to_ns() to return number of nanoseconds
>it will take the clock to tick N times
> * clock_display_freq() to return prettily-formatted string
>for
This patchseries makes some changes to the clock API:
* Remove clock_get_ns()
* Add clock_ticks_to_ns() to return number of nanoseconds
it will take the clock to tick N times
* clock_display_freq() to return prettily-formatted string
for showing humans the approximate clock frequency
This