diff options
author | Andrew Stitcher <astitcher@apache.org> | 2008-04-17 21:46:22 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2008-04-17 21:46:22 +0000 |
commit | 1b4a961ec807e5e61cd232b08020a935a4f76f4c (patch) | |
tree | a696732d72bd36cac2f8d6dff7d41debf3fb89c0 /qpid/cpp/src/tests/perftest.cpp | |
parent | f89c4bab5b5414796ca104d9a9a6c7fc138e10cd (diff) | |
download | qpid-python-1b4a961ec807e5e61cd232b08020a935a4f76f4c.tar.gz |
Patch for improved compatibility with gcc 3.4 and boost 1.33
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649294 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/perftest.cpp')
-rw-r--r-- | qpid/cpp/src/tests/perftest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/perftest.cpp b/qpid/cpp/src/tests/perftest.cpp index b950e432f5..3dd4e876fc 100644 --- a/qpid/cpp/src/tests/perftest.cpp +++ b/qpid/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 " |