Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [linuxtools-dev] TmfExperiment and ITmfEvent.getRank()

Found:
use ITmfContext.getRank() instead.

On 02/15/2013 10:32 AM, Xavier Raynaud wrote:
Hi,

I've a question about TMF (version 1.2.0)

I try to add a bookmark on a ITmfEvent, but from a custom view (e.g. not
from a TmfEventsTable).
Bookmarks are using ranks.

As far as I understand, when creating an experiment with many traces, we
2 types of ranks:
- each ITmfEvent has a rank (relative to his own trace)
- moreover, there is something like a "global" rank (relative to the
complete experiment), used in CachedEvent.

Of course, bookmarks use the second one.

Is there an easy way to retrieve the "global" rank from an ITmfEvent and
a TmfExperiment ?


Thanks,

Xavier


_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev



Back to the top