Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Accessing Common base event data - help please
Accessing Common base event data - help please [message #138809] Fri, 28 November 2008 11:14 Go to next message
Nathaniel King is currently offline Nathaniel KingFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

I recently developed my own set of generic log adapters to read log and
trace files into the Profiling and tracing perspective (or LTA part to be
more specific)of eclipse. Now what I want to do is make my own views that
make use of the information that is displayed in the log view after I have
read a file in. My question is how do I get to this information or more
specifically which classes handle the data model where the log after it
has been converted to common base event object is stored. This is so that
I can then use this information for statistical analysis and rather
building a brand new tool make use of the existing functionality.

Hope someone can help.

Thanks

nat
Re: Accessing Common base event data - help please [message #138824 is a reply to message #138809] Fri, 28 November 2008 20:58 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Nat,

org.eclipse.hyades.trace.ui.HyadesUtil.getMofObject() returns the object in
section in the profiling monitor view, where you can retrieve the logging
agent with CBE within for your view.

Eugene

"Nathaniel King" <natjking@hotmail.com> wrote in message
news:57149d15fb9844677b38957d779533db$1@www.eclipse.org...
> Hi,
>
> I recently developed my own set of generic log adapters to read log and
> trace files into the Profiling and tracing perspective (or LTA part to be
> more specific)of eclipse. Now what I want to do is make my own views that
> make use of the information that is displayed in the log view after I have
> read a file in. My question is how do I get to this information or more
> specifically which classes handle the data model where the log after it
> has been converted to common base event object is stored. This is so that
> I can then use this information for statistical analysis and rather
> building a brand new tool make use of the existing functionality.
>
> Hope someone can help.
>
> Thanks
>
> nat
>
Re: Accessing Common base event data - help please [message #138835 is a reply to message #138824] Mon, 01 December 2008 09:52 Go to previous messageGo to next message
Nathaniel King is currently offline Nathaniel KingFriend
Messages: 2
Registered: July 2009
Junior Member
Thanks Eugene,

I found the getMOFObject() method but I am still unsure how I can get at
each of the CBEs from this reference. I can find common base event of the
value highlighted in the LTA log view but I want to find all the values in
that view not just the one selected. Also what form are the logs common
base events stored in for instance is it a data file or internal database
or just in memory?

Thanks again

Nat
Re: Accessing Common base event data - help please [message #138845 is a reply to message #138835] Mon, 01 December 2008 16:00 Go to previous message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Nat,

LTA log view is actully not supported by TPTP since release 4.5. However,
you can take a look at
org.eclipse.tptp.platform.log.views.internal.views.LogConten tProvider and
org.eclipse.tptp.platform.log.views.internal.views.LogViewer UI
for infomation about how the log view contents are populated as well as
their input.

Eugene


"Nathaniel King" <natjking@hotmail.com> wrote in message
news:56a93b573ec89218120da53c4de2352b$1@www.eclipse.org...
> Thanks Eugene,
>
> I found the getMOFObject() method but I am still unsure how I can get at
> each of the CBEs from this reference. I can find common base event of the
> value highlighted in the LTA log view but I want to find all the values in
> that view not just the one selected. Also what form are the logs common
> base events stored in for instance is it a data file or internal database
> or just in memory?
>
> Thanks again
>
> Nat
>
Previous Topic:how to run in standard mode
Next Topic:tools to test my plugins
Goto Forum:
  


Current Time: Wed Apr 24 15:42:01 GMT 2024

Powered by FUDForum. Page generated in 0.03527 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top