diff options
author | Alan Conway <aconway@apache.org> | 2009-10-01 21:17:01 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-10-01 21:17:01 +0000 |
commit | 66b66bdfc90d01b0505270982e513fde3af5295c (patch) | |
tree | 756b3fb726cb9cbc3a734239f9df89d3cd114caa /cpp/src/qpid/cluster/Multicaster.cpp | |
parent | 526c9c7fc31c2ff5880f9993acc83a47a0973ab2 (diff) | |
download | qpid-python-66b66bdfc90d01b0505270982e513fde3af5295c.tar.gz |
Removed LatencyTracker from cluster.
Turned out not to be very useful. Better to use profiling tools like systemtap.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820796 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Multicaster.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/Multicaster.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cpp/src/qpid/cluster/Multicaster.cpp b/cpp/src/qpid/cluster/Multicaster.cpp index 7e97963318..72fc1533f8 100644 --- a/cpp/src/qpid/cluster/Multicaster.cpp +++ b/cpp/src/qpid/cluster/Multicaster.cpp @@ -31,9 +31,6 @@ namespace cluster { Multicaster::Multicaster(Cpg& cpg_, const boost::shared_ptr<sys::Poller>& poller, boost::function<void()> onError_) : -#if defined (QPID_LATENCY_TRACKER) - cpgLatency("CPG"), -#endif onError(onError_), cpg(cpg_), queue(boost::bind(&Multicaster::sendMcast, this, _1), poller), holding(true) @@ -61,7 +58,6 @@ void Multicaster::mcastBuffer(const char* data, size_t size, const ConnectionId& void Multicaster::mcast(const Event& e) { { sys::Mutex::ScopedLock l(lock); - LATENCY_TRACK(cpgLatency.start()); if (e.isConnection() && holding) { holdingQueue.push_back(e); return; |