Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Why do we need the agent?
Why do we need the agent? [message #24047] Mon, 01 August 2005 07:53 Go to next message
Joris Verschoor is currently offline Joris VerschoorFriend
Messages: 11
Registered: July 2009
Junior Member
Hello,

I was wondering why the agent controller?
Java already has profiling since 1.4 or something.

I haven't read much of the documentation yet, can the the tptp also be
used for c/c++ applications?

Will it be possible to profile using the standard profiling options in
java (without the agent)
Re: Why do we need the agent? [message #24118 is a reply to message #24047] Tue, 02 August 2005 04:33 Go to previous message
Eclipse UserFriend
Originally posted by: Navid_Mehregani_-_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 0018FD1D85257051_=
Content-Type: text/plain; charset="US-ASCII"

Hi Joris,

I think you're getting two different concepts mixed up. The Agent
Controller is different from agents. An agent is the code that collects
data and sends it to the interested clients (e.g. the workbench). For
example, the TPTP project includes an agent (called the piAgent), used for
profiling Java application. Yes, you're right. Java does include JVMPI
for profiling an application and the piAgent does make use of JVMPI.

The Agent Controller, on the other hand, is used for managing all the
different types of agents. You could be profiling two applications at the
same time and so you'd have 2 profiling agents being managed by the Agent
Controller. There are also other types of agents that can be implemented
(e.g. logging agents). The Agent Controller is what sits between a client
and an agent. There's no direct communication between an agent and the
client. All communications are done through commands via the Agent
Controller. This architecture allows us to communicate with agents on
remote machines. You can, for example, use your computer to profile a
Java application on a different machine, as long as you have the Agent
Controller configured on both machines.

Installing the Agent Controller is a bit of hassle if the user wants to
use the TPTP tools locally. This is why we're working on a feature for
TPTP 4.1 that should allow the user to deal with _local_ agents without
introducing a new process, new install, or new sockets. You can find
more information about this feature here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=74652. TPTP 4.1 should
allow the user to manage local agents without the requiring the
traditional Agent Controller.

Concerning your question about profiling C/C++ applications: TPTP alone
isn't able to profile C/C++ applications. For that, you can look into the
Hitchhiker project created by OC Systems:
http://www.ocsystems.com/eclipse/index.html. This is a free Eclipse
plugin that has built on top of TPTP for the purpose of profiling C/C++
applications.

I hope this clarifies things,

Navid Mehregani
IBM Canada
--=_alternative 0018FD1D85257051_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi Joris,</font>
<br>
<br><font size=2 face="sans-serif">I think you're getting two different
concepts mixed up. &nbsp;The Agent Controller is different from agents.
&nbsp;An agent is the code that collects data and sends it to the interested
clients (e.g. the workbench). &nbsp;For example, the TPTP project includes
an agent (called the piAgent), used for profiling Java application. &nbsp;Yes,
you're right. &nbsp;Java does include JVMPI for profiling an application
and the piAgent does make use of JVMPI. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">The Agent Controller, on the other hand,
is used for managing all the different types of agents. &nbsp;You could
be profiling two applications at the same time and so you'd have 2 profiling
agents being managed by the Agent Controller. &nbsp;There are also other
types of agents that can be implemented (e.g. logging agents). &nbsp;The
Agent Controller is what sits between a client and an agent. &nbsp;There's
no direct communication between an agent and the client. &nbsp;All communications
are done through commands via the Agent Controller. &nbsp;This architecture
allows us to communicate with agents on remote machines. &nbsp;You can,
for example, use your computer to profile a Java application on a different
machine, as long as you have the Agent Controller configured on both machines.
&nbsp;</font>
<br>
<br><font size=2 face="sans-serif">Installing the Agent Controller is a
bit of hassle if the user wants to use the TPTP tools locally. &nbsp;This
is why we're working on a feature for TPTP 4.1 that should allow the user
to deal with _local_ agents without introducing a new process, new install,
or new sockets. &nbsp; You can find more information about this feature
here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=74652. &nbsp;TPTP 4.1
should allow the user to manage local agents without the requiring the
traditional Agent Controller.</font>
<br>
<br><font size=2 face="sans-serif">Concerning your question about profiling
C/C++ applications: TPTP alone isn't able to profile C/C++ applications.
&nbsp;For that, you can look into the Hitchhiker project created by OC
Systems: http://www.ocsystems.com/eclipse/index.html. &nbsp;This is a free
Eclipse plugin that has built on top of TPTP for the purpose of profiling
C/C++ applications.</font>
<br>
<br><font size=2 face="sans-serif">I hope this clarifies things,</font>
<br><font size=2 face="sans-serif"><br>
Navid Mehregani</font>
<br><font size=2 face="sans-serif">IBM Canada</font>
--=_alternative 0018FD1D85257051_=--
Previous Topic:Timed Plugin-tests
Next Topic:How can I get some experience of Code modification?
Goto Forum:
  


Current Time: Fri Nov 21 20:38:56 GMT 2014

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

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