Alright, so let's clarify on a few things:

The Remote Agent Controller (RAC) is essentially used to manage your agents (including the profiling agent).  You're right, it can be used to profile remote applications.  It runs in a different process than the Eclipse workbench and uses a socket (default port 10002) to communicate with the workbench, but it can also be used to profile local application (which is what you're interested in).

TPTP 4.1 introduced a new feature called the Integrated Agent Controller (IAC), which can be used to profile locally without requiring the RAC or any socket communication.  In the past, we used the RAC locally to profile local applications.  The problem with IAC is that it's actually slower than the RAC, which is why I suggested you should use the RAC.  We have some performance improvements in place for IAC for our next release.  

The tptpdc.win_ia32-TPTP-4.1.0.zip archive you installed is the RAC so you're on the right track.  If you're going to be using the RAC you no longer need to be worried about IAC.  If you followed all the instruction in the getting_started guide, you should have ran the <RAC_HOME>\bin\setconfig.bat script for setting up RAC's configuration file, which is located in <RAC_HOME>\config\serviceconfig.xml.  

Note that if you're using the External Java Application or the Attach launch configuration, you'll need to select "localhost:10002" under the Host tab to use the RAC.  The "Local Direction Connection" entry is for IAC.  If it's a Local Java Application launch configuration, it'll automatically use the RAC if you have it up and running.

Hope this helps.  Let me know if you have any more questions.

Navid Mehregani



[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]

02/03/2006 12:07 PM

Please respond to
TPTP Tracing and Profiling Tools Project developer discussions

To
TPTP Tracing and Profiling Tools Project developer discussions <tptp-tracing-profiling-tools-dev@eclipse.org>
cc
Subject
Re: [tptp-tracing-profiling-tools-dev] Is it a dream or a nightmare ?






Hi Navid !


I was indeed a little to voracious and wanted too much.

(I requested all features in a custom made profile, with

class restrictions: including all "my" classes, and excluding

all the others)


One question remains: where is the configuration of IAC/RAC ?


I installed the content of the tptpdc.win_ia32-TPTP-4.1.0.zip archive

and followed the instructions to create a service (on the same machine)

that I started manually... (a  RAService.exe gobbles a lot of CPU while profiling)


Do you mean this service should run on another computer to get better performance ?



Thanks for precious advices and suggestions,

Friendly yours.
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to