block: define 'clock_type' for the accounting code
commit5519593c07c71c55b196546a00c08106bd9a100b
authorAlberto Garcia <berto@igalia.com>
Wed, 28 Oct 2015 15:33:00 +0000 (28 17:33 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 Nov 2015 15:22:45 +0000 (12 16:22 +0100)
tree5722f65afa59ddb10d40cdc77e5eaa4effd214df
parentc618f331d314c34ff2390d2dbd3f926e513c7059
block: define 'clock_type' for the accounting code

Its value is still QEMU_CLOCK_REALTIME, but having it in a variable will
allow us to change its value easily in the future when running in qtest
mode.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 547485eb841cf9e3b2770c96539ae9ae5996e214.1446044837.git.berto@igalia.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/accounting.c