Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Questions about trace compass

Hi Mia,

> A few more questions. I see that I cannot use Timegraph views to achieve this easily. So was wondering if we take a route where you decide to support features I need, how would that look like? Would I be mainly developing this part or would I have help of other Trace Compass developers?

You would be the main driver for several reasons:

1- We are super stretch right now
2- We don't know what you need
3- We have our priorities, maybe they co-incide, but nobody has expressed the need for a "heap vs time" view.

I could gladly guide you towards the easiest path to get your feature done. I also really really want to understand how it's useful, as I stated earlier, I am not sold on the feature but I do want to be sold on it.

> How much time does it take approximately to implement new features (in general)?
It depends on many things. Honestly it take about as much time or even slightly less making something ready for general acceptance with us as alone, since we add reviews but also find bugs. I would not estimate adding JFreeChart Views to be trivial though, I still don't know what the state height does!

> Where could I find the patch you developed about events with multiple states?
I will look, but search for abandoned with my name in gerrit. (matthew.khouzam@xxxxxxxxxxxx). I was using a segment store and putting it into a heap with randomized state heights.

> Another thing, any idea if/what could I possibly reuse in Trace Compass to achieve highlighting of a few Timegraph entries while the other ones are grayed out (see attached screenshot). I am aware of highlighting of the traces in the event table, but not that something like this exists in Trace Compass.

That seems very doable, we have most of the infrastructure to do it in place already.

With best regards and accrued curiosity,
Matthew


From: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Sent: Monday, April 20, 2020 3:56 AM
To: tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Subject: Re: [tracecompass-dev] Questions about trace compass
 
Hi Matthew,

A few more questions. I see that I cannot use Timegraph views to achieve this easily. So was wondering if we take a route where you decide to support features I need, how would that look like? Would I be mainly developing this part or would I have help of other Trace Compass developers?

How much time does it take approximately to implement new features (in general)?

Where could I find the patch you developed about events with multiple states?

Another thing, any idea if/what could I possibly reuse in Trace Compass to achieve highlighting of a few Timegraph entries while the other ones are grayed out (see attached screenshot). I am aware of highlighting of the traces in the event table, but not that something like this exists in Trace Compass.

With kind regards / Met vriendelijke groet,


Mia Petković


Software Designer @ Enter B.V.

TNO-ESI R&D

High Tech Campus 25, 5656 AE Eindhoven, The Netherlands


From: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Sent: Tuesday, April 7, 2020 4:25 PM
To: tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Subject: Re: [tracecompass-dev] Questions about trace compass
 
Hi Mia,

Sorry for the late reply, I was trying to reach you on IRC but our timezones don't seem to match.

That view is very interesting, but I don't quite understand it... I imagine X is time, what is the Y axis? And what does the height of a state represent? Basically, this is something Trace Compass cannot do out of the box as far as I know, but I want to know if this use case exists, why don't we support it. It's always exciting to see novel approaches like this.

Thanks,
Matthew

From: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Sent: Tuesday, March 31, 2020 4:40 AM
To: tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Subject: Re: [tracecompass-dev] Questions about trace compass
 
Hi Matthew,

Thank you for your reply. Events are not the same duration always. I send you another screenshot to give you an idea how the view could look like too. I also thought that I could use lanes with child elements like in control view. Would it be possible to achieve the view like from screenshot where there is no gap between child streams of events and where some of them are overlapping in height. So it is quite important that the height of these elements is easily adjustable.  

About the patch you created, do you have any examples where it is used, or how are these multiple states then visualized. If you already know of any examples achieving something similar, please let me know.

About second question I was thinking about something like an Eclipse independent API which could generate graphs that could be used elsewhere. The application I might port is pure Java which is then imported as a Java library in MPS and used in that environment too. So with porting to Trace Compass I might loose MPS compatibility which is important for a few stakeholders.

Anyways, thanks a lot.

Best regards,
Mia

From: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Sent: Monday, March 30, 2020 3:19 PM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>
Subject: Re: [tracecompass-dev] Questions about trace compass
 
Hi Mia,

regarding question 1-

are the events always the same durations?
basically I see 7 possibilities.

For #1. I think I made a patch way back where an event can have multiple states. for the others, I did not think too much about it.
Another possibility is to have a lane (timegraphentry) have children. each child would be a contiguous stream of events. Could you specify more?

As for #2, would a standalone RCP be good enough for your needs? No efforts I am aware of were made to port it to another environment.


From: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Sent: Monday, March 30, 2020 5:09 AM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>
Subject: [tracecompass-dev] Questions about trace compass
 
Hi all,

I have two chunks of questions regarding feasibility of porting a Java application to Trace Compass framework.
  1. I would have to replicate a similar JFree chart view, using Trace Compass' TimeGraph view. A B C are resources which would be equivalent to the lanes defined by TimeGraphEntryModel. My question is is it possible to stack two or more events with the same time interval on top of each other and use precise offsets to define how far from the bottom these chunks should be (barely visible partitions inside the same color rectangles)? If not, how difficult would it be to extend the trace compass functionality to do so? Where would you start from?
  2. Can Trace Compass be used independently from Eclipse environment? Would it be possible to for instance use trace compass plugin in MPS environment? If possible how do you achieve this?
Best regards,
Mia Petkovic

Back to the top