[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] TimeGraphView Visualization Bug

Hi Aleix,

Sorry for the late reply:

The view samples the state system at regular intervals (roughly once per pixel, so the time of these samples depend on the zoom level).

When two consecutive states don't 'touch' each other, that means there is a gap and we don't know the state(s) in that gap, so we just fill it with a single transparent 'grey' state, as a kind of placeholder.

By slightly changing the window range or the zoom level, the samples change and they could hit on a 'green' state.

When you zoom in sufficiently, there are no more gaps in the sampling and you only see the real state colors.

Patrick

On Thu, May 17, 2018 at 10:52 AM, Aleix Roca Nonell <aleix.rocanonell@xxxxxx> wrote:
Hi Patrick!

I have just downloaded and compiled tracecompass from the eclipse git
repo (I have seen that your patch is merged now) and the problem is
now solved! Now I both see the black dots and stable states.

Now I can perfectly analyze my application! A minor stetic issue
remains though. Sometimes I see small grey states, I zoom a bit, the
state turns green, I zoom a bit, the state turns grey again, I zoom a
bit, the state turns green and repeats until the colors ramains green.

Thank you (and also tahini and TheMatthew who helped me on IRC)!!

On Wed, May 16, 2018 at 01:15:14PM -0400, Patrick Tasse wrote:
> Hi Aleix,
>
> I think it's because XML Time Graph views do not draw sampling gaps at all.
>
> I wrote a bug to track this [1]. Can you check if the patch [2] fixes your
> issue?
>
> Thanks,
> Patrick
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=534773
> [2] https://git.eclipse.org/r/122806
>
>
> On Wed, May 16, 2018 at 12:48 PM, Aleix Roca Nonell <aleix.rocanonell@xxxxxx
> > wrote:
>
> > Sorry, I forgot to mention that this happens on a custom XML Time Graph
> > View.
> > I'm attaching the custom view that I'm using and an example trace
> > (2GiB when uncompressed).
> >
> > https://mega.nz/#!yZIi2awZ!GkWbwnQb080YfDILVaKTEHM8k1YeLY8eh6YEyqrAFsk
> >
> > I also confirm that the problem persists on the latest Trace Compass night
> > build.
> >
> > On Wed, May 16, 2018 at 05:23:17PM +0200, Aleix Roca Nonell wrote:
> > > Hello list!
> > >
> > > I'm having eye ache analyzing an application with Trace Compass due to
> > > a visualization bug which has been in mainstream for some time. I have
> > > detected two problems:
> > >
> > >Â - The fist one is missing "small black dots" that highlight events
> > >Â Â not being drawn on screen because of having a too high zoom out.
> > >Â - The second appears as I'm zooming in little by little. I see how
> > >Â Â small events appear and disappear i.e. in zoom A an event (small
> > >Â Â rectangle) is being drawn, but in zoom A+1 this event has
> > >Â Â completely disappeared. The process repeats until events
> > >Â Â "stabilize".
> > >
> > > Please, take a look at the following sequence of screenshots which try
> > > to better ilustrate the problem. Each screenshot increases by one the
> > > zoom level with respect to the previous image. The correct ordering is
> > > the timestamp in the image name (just sort it by name if downloaded).
> > >
> > > https://drive.google.com/open?id=12AcE0G33F-SIB2fDprE84eSENMGFIBqZ
> > >
> > > I'm using the last stable release of Trace Compass 3.3.0.
> > >
> > > Could you try to fix it? It's hard to find specific events if they
> > > only apprear when zooming in the area.
> > >
> > > Thank you!
> > >
> > > http://bsc.es/disclaimer
> > > _______________________________________________
> > > tracecompass-dev mailing list
> > > tracecompass-dev@xxxxxxxxxxx
> > > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit
> > > https://dev.eclipse.org/mailman/listinfo/tracecompass-dev
> >
> >
> > http://bsc.es/disclaimer
> > _______________________________________________
> > tracecompass-dev mailing list
> > tracecompass-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/tracecompass-dev
> >
> >

> _______________________________________________
> tracecompass-dev mailing list
> tracecompass-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tracecompass-dev


http://bsc.es/disclaimer
_______________________________________________
tracecompass-dev mailing list
tracecompass-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tracecompass-dev