diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2013-02-18 18:47:54 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2013-02-21 13:22:21 +0100 |
commit | 1951c86395652e8d9190eba8a17fb7ea4a5897b0 (patch) | |
tree | 2623d5613be060ddda2e910c302ad175273163a4 /src/plugins/valgrind | |
parent | a9582905608143a9629f14133b487bb60846d0d6 (diff) | |
download | qt-creator-1951c86395652e8d9190eba8a17fb7ea4a5897b0.tar.gz |
Reduce padding in often-used structs
Reduce the padding in some often-used structs for 64bit machines.
32bit machines should also profit from most changes, but to a
lesser degree.
Change-Id: Ic4c67b94e962731de4f31164c52a372d78944ccc
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/plugins/valgrind')
-rw-r--r-- | src/plugins/valgrind/callgrind/callgrindparsedata.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/valgrind/callgrind/callgrindparsedata.cpp b/src/plugins/valgrind/callgrind/callgrindparsedata.cpp index fb3a312943..f7c69dcf64 100644 --- a/src/plugins/valgrind/callgrind/callgrindparsedata.cpp +++ b/src/plugins/valgrind/callgrind/callgrindparsedata.cpp @@ -49,8 +49,8 @@ class ParseData::Private { Q_DECLARE_TR_FUNCTIONS(Valgrind::Callgrind::ParseData) public: Private(ParseData *q) - : m_lineNumberPositionIndex(-1) - , m_pid(0) + : m_pid(0) + , m_lineNumberPositionIndex(-1) , m_part(0) , m_version(0) , m_cycleCacheValid(false) @@ -62,14 +62,15 @@ public: QStringList m_events; QStringList m_positions; - int m_lineNumberPositionIndex; QVector<quint64> m_totalCosts; QVector<const Function *> m_functions; QString m_command; quint64 m_pid; + int m_lineNumberPositionIndex; uint m_part; - QStringList m_descriptions; int m_version; + bool m_cycleCacheValid; + QStringList m_descriptions; QString m_creator; QHash<qint64, QHash<qint64, QVector<Function *> > > functionLookup; @@ -84,7 +85,6 @@ public: void cycleDetection(); void cleanupFunctionCycles(); - bool m_cycleCacheValid; QVector<const Function *> m_cycleCache; ParseData *m_q; |