[PATCH v5 9/9] qemu_driver: Add calc_mode for dirtyrate statistics