obmc_variance_test: output gain as a float
Change-Id: I659a87f306a67fe67178921ab2d2d4a0c1e5b535
diff --git a/test/obmc_variance_test.cc b/test/obmc_variance_test.cc
index bb2de02..b2bf42a 100644
--- a/test/obmc_variance_test.cc
+++ b/test/obmc_variance_test.cc
@@ -127,8 +127,9 @@
const int elapsed_time_simd =
static_cast<int>(aom_usec_timer_elapsed(&test_timer));
- printf("c_time=%d \t simd_time=%d \t gain=%d \n", elapsed_time_c,
- elapsed_time_simd, (elapsed_time_c / elapsed_time_simd));
+ printf("c_time=%d \t simd_time=%d \t gain=%f \n", elapsed_time_c,
+ elapsed_time_simd,
+ static_cast<double>(elapsed_time_c) / elapsed_time_simd);
}
#if HAVE_SSE4_1