Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Perfmon sample request
Perfmon sample request [message #82654] Wed, 06 September 2006 11:47 Go to next message
Eclipse UserFriend
Originally posted by: zclipse.gmail.com

Hello,
I am just starting to use TPTP and I would like to know how to download (and
build) the Perfmon sample code. Can I use Visual Studio 2005 to build the
C++ sample?
I am planning to write my own agent using the Perfmon sample and use it in
my app.

Many thanks
Re: Perfmon sample request [message #82762 is a reply to message #82654] Wed, 06 September 2006 19:02 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Emura Takashi wrote:
> Hello,
> I am just starting to use TPTP and I would like to know how to download (and
> build) the Perfmon sample code.

Get the
dev.eclipse.org/cvsroot/tptp/platform/org.eclipse.tptp.platf orm.agentcontroller
project. Under there you will find
src-native/collection/collectors/perfmon/WinBuild/WinBuild.d sw. That
enough to get started??

> Can I use Visual Studio 2005 to build the C++ sample?

I don't know... my suspicion is that there might be problems. We build
the actual release with MSVC6.

> I am planning to write my own agent using the Perfmon sample and use it in
> my app.

How much of the UI were you wanting to reuse? The reason I ask is that
you might also want to look in src-native-new/test/PerfmonAgent ...
that's the "formerly migrated" Perfmon that we moved to the "new tech
AC" APIs.

> Many thanks

Always glad to help.

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: Perfmon sample request [message #82948 is a reply to message #82762] Thu, 07 September 2006 19:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zclipse.gmail.com

Thanks for the info, Randy...

Here is what I am trying to accomplish..

I would like to leverage the existing monitoring tools in TPTP (at least the
GUI part). I have a piece of hardware that is sending out statistical data
via a serial port.
A custom 'Agent' written in C++ would intercept this data, convert it into
XML fragments that TPTP understands.
I think the ported PerfMon Agent would be a perfect base to start writing my
own Agent.

As suggested, I got the "org.eclipse.tptp.platform.agentcontroller" project
from CVS.
I have successfully built the "src-native" version of PerfMon... Modifying
it and using it as a base for my project is probably feasible...

OTOH, I think I need to use the new technology AC (src-native-new), since I
am starting fresh. I will explore this further.

My project also requires that the user 'store' the collected data and
're-analyze' the statistical information at a later time...
Is this possible with the existing Framework and GUI components?

TIA
-E


"Randy D. Smith" <randy.d.smith@intel.com> wrote in message
news:edn60a$eiq$1@utils.eclipse.org...
> Emura Takashi wrote:
>> Hello,
>> I am just starting to use TPTP and I would like to know how to download
>> (and build) the Perfmon sample code.
>
> Get the
> dev.eclipse.org/cvsroot/tptp/platform/org.eclipse.tptp.platf orm.agentcontroller
> project. Under there you will find
> src-native/collection/collectors/perfmon/WinBuild/WinBuild.d sw. That
> enough to get started??
>
>> Can I use Visual Studio 2005 to build the C++ sample?
>
> I don't know... my suspicion is that there might be problems. We build the
> actual release with MSVC6.
>
>> I am planning to write my own agent using the Perfmon sample and use it
>> in my app.
>
> How much of the UI were you wanting to reuse? The reason I ask is that you
> might also want to look in src-native-new/test/PerfmonAgent ... that's the
> "formerly migrated" Perfmon that we moved to the "new tech AC" APIs.
>
>> Many thanks
>
> Always glad to help.
>
> --
> RDS
>
> Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
> Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: Perfmon sample request [message #83280 is a reply to message #82948] Tue, 12 September 2006 20:46 Go to previous message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Emura Takashi wrote:
> Thanks for the info, Randy...
>
> Here is what I am trying to accomplish..
>
> I would like to leverage the existing monitoring tools in TPTP (at least the
> GUI part).

The GUI part is currently tied to the *old* RAC APIs.

> I have a piece of hardware that is sending out statistical data via a serial port.
> A custom 'Agent' written in C++ would intercept this data, convert it into
> XML fragments that TPTP understands.

The XML fragments that TPTP understands would really be independent of
new or old APIs, but the "C++" part would probably be easiest done with
the new APIs.

> I think the ported PerfMon Agent would be a perfect base to start writing my
> own Agent.

Okay, but realize that the ported agent was not sufficient... we had to
"port" the UI also... that's the part that changed out from under us
4.1=>4.2.

> As suggested, I got the "org.eclipse.tptp.platform.agentcontroller" project
> from CVS.
> I have successfully built the "src-native" version of PerfMon... Modifying
> it and using it as a base for my project is probably feasible...

Okay... that talks the old API.

> OTOH, I think I need to use the new technology AC (src-native-new), since I
> am starting fresh. I will explore this further.

Not trying to talk someone willing ot use the new API into using the
old, but... realize the new AC "talks" the old API through its backward
compatibliity feature in 4.2 (what I call AC/BC).

> My project also requires that the user 'store' the collected data and
> 're-analyze' the statistical information at a later time...
> Is this possible with the existing Framework and GUI components?

I don't see any such export/import for statistical data... doesn't mean
it's not there or can't be done... I just don't see it. But many of the
other data models already do support such export/import... boy this
would be a good time for either one of the original Perfmon folk to
chime in or one of the other data model contributors that might could
speculate on the applicabliity of what they do to the statisical
analysis portion to speak up...

> TIA
> -E

I don't think I was much help this time. Sorry!
--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Previous Topic:No reuse of component identifications (CBE)?
Next Topic:Cannot launch AGR testsuite on Linux using Agent Controller
Goto Forum:
  


Current Time: Tue Apr 23 17:19:48 GMT 2024

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

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

Back to the top