ss: no longer have a strings section in the HTNodes
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 15 Mar 2016 00:28:02 +0000 (20:28 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 23 Mar 2016 12:14:46 +0000 (08:14 -0400)
commit59d30d83be5a8b926730d3107e0959fbbc7095c1
tree5f0d2240e2e9af1b2b5adc96b19261b0918354d5
parentfef07c8b7d740ed07ee855ceae7c391481ce73c2
ss: no longer have a strings section in the HTNodes

The state systems nodes had a string section to allow for faster seeks
on the state system file if the entire interval was not loaded to memory.
This is never the case and it adds an extra integer to each non-integer state
as well as extra (but well tested) logic.

This patch makes the state sytem store each interval sequentially on a
given node.

Expect minimal performance difference, however, the size of the state system
may shrink a bit (approx 5%).

Change-Id: I01bc8594b7944fad97b6c9b715b848b6afa39913
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/68404
Reviewed-by: Hudson CI
statesystem/org.eclipse.tracecompass.statesystem.core.tests/src/org/eclipse/tracecompass/statesystem/core/tests/backend/historytree/HistoryTreeTest.java
statesystem/org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/internal/statesystem/core/backend/historytree/HTInterval.java
statesystem/org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/internal/statesystem/core/backend/historytree/HTNode.java
statesystem/org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/internal/statesystem/core/backend/historytree/HistoryTree.java
This page took 0.024454 seconds and 5 git commands to generate.