Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Generating XMI profiling files to be analyzed with TPTP
Generating XMI profiling files to be analyzed with TPTP [message #141680] Fri, 03 April 2009 19:34 Go to next message
Eclipse UserFriend
Originally posted by: malloovidio.bluewin.ch

Hi all,

I am gathering some timing information in an RCP application using AspectJ
and I would like to save my timing results to an XMI file compatible to the
ones generated by TPTP in order to be able to analyze the gathered data
using the capabilities provided by TPTP. Therefore, I wanted to ask whether
there is some convenient way to generate the XMI files in a format suitable
for TPTP. AFAIK, the XMI files are the serialized form of an EMF model so
maybe I can simply build up some EMF model hierarchy from my data and
serialize it?

Thanks in advance for any help!

Best regards,
Ovidio
Re: Generating XMI profiling files to be analyzed with TPTP [message #141704 is a reply to message #141680] Mon, 06 April 2009 14:49 Go to previous message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Ovidio,

You can set your output of your collection to the XML4Profiling format in
TPTP.
Detail of the event specification here:
http://www.eclipse.org/tptp/platform/documents/resources/pro filingspec/XML4Profiling.htm
If you want to see any example of the TPTP a profiling file, In your system,
set a global variable TPTP_OUTPUT_FORMAT=xml, then try profiling to file,
configurable in the destination tab of a profiling launch configuration, and
unzip the file created after the profiling session for inspection. It is a
pure XML file that you can see.

Eugene

"Ovidio Mallo" <malloovidio@bluewin.ch> wrote in message
news:gr5obp$vtq$1@build.eclipse.org...
> Hi all,
>
> I am gathering some timing information in an RCP application using AspectJ
> and I would like to save my timing results to an XMI file compatible to
> the
> ones generated by TPTP in order to be able to analyze the gathered data
> using the capabilities provided by TPTP. Therefore, I wanted to ask
> whether
> there is some convenient way to generate the XMI files in a format
> suitable
> for TPTP. AFAIK, the XMI files are the serialized form of an EMF model so
> maybe I can simply build up some EMF model hierarchy from my data and
> serialize it?
>
> Thanks in advance for any help!
>
> Best regards,
> Ovidio
Previous Topic:Unable to connect to an agent remotely
Next Topic:TPTP stops collecting data after a few minutes
Goto Forum:
  


Current Time: Sun Nov 23 16:30:01 GMT 2014

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

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