Re: [Qemu-discuss] How to get the latency of each I/O request??
From:
Yaodong Yang
Subject:
Re: [Qemu-discuss] How to get the latency of each I/O request??
Date:
Mon, 07 Oct 2013 14:50:02 +0000 (GMT)
Based on my understanding, If you use virtio, then the entry function is virtio_blk_handle_read or virtio_blk_handle_write (hw/block/virtio-blk.c). The callback function is virtio_blk_rw_complete(hw/block/virtio-blk.c).
Yaodong On Oct 07, 2013, at 08:50 AM, 陈慧祥 <address@hidden> wrote:
I want to calculate the latency of each I/O request. Anyone know how to get the latency? For each I/O request in the asynchronous I/O handling mechanism, which function is the entry and which function is the callback function(exit)? Thanks!