summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/FrameSet.h
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2008-05-29 20:06:03 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2008-05-29 20:06:03 +0000
commit338a809c792fcec15e25bf6099fcf53e678ca614 (patch)
tree6e777f679455a6feba15c7931b548e298ecc7a32 /cpp/src/qpid/framing/FrameSet.h
parent9d05c56a758766df3a5261e787e9f5c9f8ce48ab (diff)
downloadqpid-python-338a809c792fcec15e25bf6099fcf53e678ca614.tar.gz
Performnace fix, improves 6-8% on high core count machines.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@661455 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/FrameSet.h')
-rw-r--r--cpp/src/qpid/framing/FrameSet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/framing/FrameSet.h b/cpp/src/qpid/framing/FrameSet.h
index 454d292d9d..d23cb717c9 100644
--- a/cpp/src/qpid/framing/FrameSet.h
+++ b/cpp/src/qpid/framing/FrameSet.h
@@ -38,6 +38,8 @@ class FrameSet
typedef std::vector<AMQFrame> Frames;
const SequenceNumber id;
Frames parts;
+ mutable uint64_t contentSize;
+ mutable bool recalculateSize;
public:
typedef boost::shared_ptr<FrameSet> shared_ptr;