tmf : Add Leaf nodes to the History Tree
authorFlorian Wininger <florian.wininger@polymtl.ca>
Thu, 10 Apr 2014 22:36:31 +0000 (18:36 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Thu, 24 Apr 2014 14:30:05 +0000 (10:30 -0400)
commitbb7f92ce76f8bd6cb40eca31874034656d1748ae
tree84d62b7437e1277e2ae25b8c2e4e99738614795a
parent0ac777c88a74fcd3ba97f91c0a25c245258e7690
tmf : Add Leaf nodes to the History Tree

This patch allows the use of leaf nodes in the History Tree. A leaf node
cannot contain children, so we can save 50 x (int + long) = 600 bytes
for each node (64k).

Note that this patch changes the on-disk file format of the history tree.
FILE_VERSION is bumped accordingly.

Change-Id: I4d99727a23fcdfbdd911fd27c621354864ebfde1
Signed-off-by: Florian Wininger <florian.wininger@polymtl.ca>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/24791
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/backends/historytree/CoreNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/backends/historytree/HTNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/backends/historytree/HistoryTree.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/backends/historytree/HistoryTreeBackend.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/backends/historytree/LeafNode.java [new file with mode: 0644]
This page took 0.036314 seconds and 5 git commands to generate.