]> Git Repo - qemu.git/commit - migration/migration.c
migration: do floating-point division
authorPaolo Bonzini <[email protected]>
Mon, 26 Jan 2015 11:12:27 +0000 (12:12 +0100)
committerJuan Quintela <[email protected]>
Wed, 2 Dec 2015 23:03:00 +0000 (00:03 +0100)
commita694ee343d13159d214823294bbda08e4bdac685
treed40df1928925500bf4c999471e5ae46f55db488e
parent4e39f57c0010b689ffa15658ff063006b45309db
migration: do floating-point division

Dividing integer expressions transferred_bytes and time_spent, and then converting
the integer quotient to type double. Any remainder, or fractional part of the
quotient, is ignored.  Fix this.

Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
migration/migration.c
This page took 0.020793 seconds and 4 git commands to generate.