lttng.ust: Replace multiple single queries by one full query
authorLoïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Mon, 18 Apr 2016 15:28:23 +0000 (11:28 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Wed, 13 Jul 2016 19:16:10 +0000 (15:16 -0400)
commitccf0e1a644dea63dcf91e2848c2626bb2d1d2448
treee29d79a3830ac6e9e26485c0c8ab9df1f2387913
parentf778786a095c96941764ee128c023aa2a1b3da70
lttng.ust: Replace multiple single queries by one full query

To update data in MemoryUsageViewer, the State System would be
queried once per thread.
This patch replaces multiple single queries by a single full
state query and reads to the result.

Change-Id: I5fbb6d80a498898342db34f8278a85f02e1c6736
Signed-off-by: Loïc Prieur-Drevon <loic.prieurdrevon@gmail.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/70875
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
lttng/org.eclipse.tracecompass.lttng2.ust.ui/src/org/eclipse/tracecompass/internal/lttng2/ust/ui/views/memusage/MemoryUsageViewer.java
This page took 0.024833 seconds and 5 git commands to generate.