summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-01-22 19:24:31 +0000
committerAlan Conway <aconway@apache.org>2009-01-22 19:24:31 +0000
commitcacc168520f742ae7a45fa4d7198d6958ae5b9a4 (patch)
tree7322f0cc201724c8f557d170bac364dead623904 /cpp/src/qpid/cluster/Cluster.cpp
parent37afb4d9376558f37ea93c3b39ab66fc69370033 (diff)
downloadqpid-python-cacc168520f742ae7a45fa4d7198d6958ae5b9a4.tar.gz
More latency metrics.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736752 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index 05a7a9efff..0a40493350 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -242,6 +242,7 @@ void Cluster::deliveredEvent(const Event& e) {
}
void Cluster::deliveredFrame(const EventFrame& e) {
+ QPID_LATENCY_RECORD("delivered frame queue", e.frame);
QPID_LOG(trace, *this << " DLVR: " << e.frame);
if (e.connection) {
e.connection->deliveredFrame(e);
@@ -252,6 +253,7 @@ void Cluster::deliveredFrame(const EventFrame& e) {
if (!framing::invoke(dispatch, *e.frame.getBody()).wasHandled())
throw Exception(QPID_MSG("Invalid cluster control"));
}
+ QPID_LATENCY_RECORD("processed", e.frame);
}
struct AddrList {