Get the long longs out of the Thrift codebase
Summary: Replace with int64_t and don't worry about what architecture machine you're on, the typedefed int64_t will do the right thing.
Reviewed By: aditya, marc
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665123 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/test/Tests.cpp b/lib/cpp/src/concurrency/test/Tests.cpp
index f4b0b62..5fe4651 100644
--- a/lib/cpp/src/concurrency/test/Tests.cpp
+++ b/lib/cpp/src/concurrency/test/Tests.cpp
@@ -53,8 +53,8 @@
std::cout << "\t\tUtil minimum time" << std::endl;
- long long time00 = Util::currentTime();
- long long time01 = Util::currentTime();
+ int64_t time00 = Util::currentTime();
+ int64_t time01 = Util::currentTime();
std::cout << "\t\t\tMinimum time: " << time01 - time00 << "ms" << std::endl;
@@ -92,7 +92,7 @@
size_t taskCount = 100000;
- long long delay = 10LL;
+ int64_t delay = 10LL;
std::cout << "\t\tThreadManager load test: worker count: " << workerCount << " task count: " << taskCount << " delay: " << delay << std::endl;
@@ -119,7 +119,7 @@
size_t tasksPerWorker = 1000;
- long long delay = 10LL;
+ int64_t delay = 10LL;
for (size_t workerCount = minWorkerCount; workerCount < maxWorkerCount; workerCount*= 2) {