[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Usinger high resolution timers in simulated device
From: |
Peter Maydell |
Subject: |
Re: Usinger high resolution timers in simulated device |
Date: |
Wed, 10 Feb 2021 10:30:47 +0000 |
On Tue, 9 Feb 2021 at 22:12, Weiss, Howard <Howard.Weiss2@hologic.com> wrote:
>
> PMM
>
> Thanks. Yes I am trying to implement a timer within a QEMU device (the
> hardware I am simulating generates an interrupt each 1/120 of a second. Any
> suggestions are welcome and appreciated. Please point me to documentation for
> the internal timer API
I just did:
> You probably want the QEMUTimer APIs from include/qemu/timer.h.
Generally QEMU APIs are documented in comments in the headers.
-- PMM