diff options
author | David Hildenbrand <david@redhat.com> | 2017-12-08 17:02:05 +0100 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2017-12-14 17:56:54 +0100 |
commit | 4bac52f5c4b3dd5d0bd7568377ad7e957d5e3c6a (patch) | |
tree | fef4787eeee9ef5222fcf5ab1b271f3e84c3b7bc /qemu-io-cmds.c | |
parent | ad0ccf1e6a45c22d6c0564f8365bf1df39c64c15 (diff) |
s390x/tcg: implement extract-CPU-time facility
It only provides the EXTRACT CPU TIME instruction. We can reuse the stpt
helper, which calculates the CPU timer value.
As the instruction is not privileged, but we don't have a CPU timer
value in case of linux user, we simply reuse cpu_get_host_ticks() to
produce some descending value.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20171208160207.26494-13-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions