summaryrefslogtreecommitdiff
path: root/performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp')
-rw-r--r--performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp b/performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp
index 81e8f006111..27b7274826d 100644
--- a/performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp
+++ b/performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp
@@ -15,12 +15,12 @@ static size_t timeout_between_bursts = 1;
enum DEBUGGING_RANGE
{
- NONE = 0,
+ DEBUG_NONE = 0,
DEFAULT = 1,
PRINT_INDIVIDUAL_LATENCY = 2
};
-static DEBUGGING_RANGE debug = NONE;
+static DEBUGGING_RANGE debug = DEBUG_NONE;
static ACE_Data_Block *data_block = 0;
@@ -140,9 +140,15 @@ Worker_Task::svc (void)
if (debug >= PRINT_INDIVIDUAL_LATENCY)
{
+#ifndef ACE_LACKS_LONGLONG_T
ACE_DEBUG ((LM_DEBUG,
"(%t) latency from start of burst: %Q\n",
latency_from_start_of_burst));
+#else
+ ACE_DEBUG ((LM_DEBUG,
+ "(%t) latency from start of burst: %u\n",
+ latency_from_start_of_burst.lo()));
+#endif
}
}