migration/dirtyrate: record start_time and calc_time while at the measuring state
commitaa84b506f75db0bdab2ef0d68a4c5e266eab05e6
authorChuan Zheng <zhengchuan@huawei.com>
Tue, 29 Sep 2020 03:42:17 +0000 (29 11:42 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 12 Oct 2020 11:39:38 +0000 (12 12:39 +0100)
tree4f0418b5d887701cdfd721bdf4843965ce2e48ca
parentebf101955ce8f8d72fba103b5151115a4335de2c
migration/dirtyrate: record start_time and calc_time while at the measuring state

Querying could include both the start-time and the calc-time while at the measuring
state, allowing a caller to determine when they should expect to come back looking
for a result.

Signed-off-by: Chuan Zheng <zhengchuan@huawei.com>
Message-Id: <1601350938-128320-2-git-send-email-zhengchuan@huawei.com>
Reviewed-by: David Edmondson <david.edmondson@oracle.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/dirtyrate.c