aboutsummaryrefslogtreecommitdiff
path: root/tests/test-string-output-visitor.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-01-26 12:12:27 +0100
committerJuan Quintela <quintela@redhat.com>2015-12-03 00:03:00 +0100
commita694ee343d13159d214823294bbda08e4bdac685 (patch)
treed40df1928925500bf4c999471e5ae46f55db488e /tests/test-string-output-visitor.c
parent4e39f57c0010b689ffa15658ff063006b45309db (diff)
downloadqemu-a694ee343d13159d214823294bbda08e4bdac685.zip
qemu-a694ee343d13159d214823294bbda08e4bdac685.tar.gz
qemu-a694ee343d13159d214823294bbda08e4bdac685.tar.bz2
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 <pbonzini@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'tests/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions