Hyman Huang(黄勇) 71864eadd9 migration/dirtyrate: introduce struct and adjust DirtyRateStat
introduce "DirtyRateMeasureMode" to specify what method should be
used to calculate dirty rate, introduce "DirtyRateVcpu" to store
dirty rate for each vcpu.

use union to store stat data of specific mode

Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
Message-Id: <661c98c40f40e163aa58334337af8f3ddf41316a.1624040308.git.huangy81@chinatelecom.cn>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2021-11-01 22:56:43 +01:00
..
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2021-07-23 18:17:17 +02:00
2021-10-15 16:11:22 +02:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2021-09-30 15:30:25 +02:00
2021-01-13 10:21:17 +01:00