I answered you in Slack, but just a few elements on the matter. Yes, I have a state system with many nested nodes. Obviously, the state system was built using getQuarkAbsoluteAndAdd() , getQuarkRelativeAndAdd(). When we use map.put(ENTRY_PATH, '*/*'), it shows only the last level and not two levels. Combining XML for presentation, and EASE for creating the state system didn't work either. It looks like, if there is no analysis in specified in the XML, trace compass won't show it.
I think in your use case, the easiest option would be to just use
an EASE script.
You can definitely create a two-level tree by creating the related
quarks in the state system. You can use the
getQuarkAbsoluteAndAdd() , getQuarkRelativeAndAdd() functions to
add the necessary nodes to your tree. Then you can use the
createTimeGraphProvider() with a map.
var map = new java.util.HashMap();
map.put(ENTRY_PATH, '*/*');
provider = createTimeGraphProvider(analysis, map);
openTimeGraphView(provider);
This should make your script work.
Regards,
Arnaud
On 2022-05-31 2:25 p.m., Adel Belkhiri
wrote:
Hey
everybody.
I
have two questions related to ease scripting. For the
TimeGraphView, is it possible to have a two-level tree on
the left side of the view (e.g. mutex lock -> contented
threads)? The second question is, is it possible to
implement the analysis (build the state system) with an ease
script while the view is implemented in XML (like
<timeGraphView> ..</timeGraphView>)? I tried the
last option but I wasn't successful .
Thanks.