diff options
Diffstat (limited to 'cpp/src/tests/perftest.cpp')
-rw-r--r-- | cpp/src/tests/perftest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/tests/perftest.cpp b/cpp/src/tests/perftest.cpp index b950e432f5..3dd4e876fc 100644 --- a/cpp/src/tests/perftest.cpp +++ b/cpp/src/tests/perftest.cpp @@ -39,6 +39,7 @@ #include <numeric> #include <algorithm> #include <unistd.h> +#include <math.h> using namespace std; @@ -367,7 +368,7 @@ struct Controller : public Client { double time=secs(start, end); double txrate=opts.transfers/time; double mbytes=(txrate*opts.size)/(1024*1024); - + if (!opts.summary) { cout << endl << "Total " << opts.transfers << " transfers of " << opts.size << " bytes in " |