Project

General

Profile

Actions

Support Request #2636

closed

How to optimize using of Easy Profiling within ADTF (GUI) Control

Added by hidden almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EX
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Product Issue Opened
Affected Products:
Platform:
Topic:
ADTF::Profiling
FAQ Links:

Description

Supportanfrage

ich habe heute den ersten Programmierfehler durch Verwendung des EasyProfilers behoben.

Allerdings scheint mir die Handhabung noch recht umständlich.

Wie bin ich vorgegangen:

1) Launcher für den CE konfigurieren

<launcher>
<name>Profiling GUI</name>
<executable>"$(ADTF_DIR)/bin/profiler_gui"</executable>
<workingdirectory>$(ADTF_DIR)/bin</workingdirectory>
</launcher>
<launcher>
<name>in Console for ProfilerGUI</name>
<executable>"$(ADTF_DIR)/bin/adtf_launcher" -session="$(ADTF_SESSION_FILENAME)" -console -run -profiler</executable>
<workingdirectory>$(ADTF_DIR)/bin</workingdirectory>
</launcher>
<launcher>
<name>ADTF Control connect to port 8000</name>
<executable>"$(ADTF_DIR)/bin/adtf_control" -c</executable>
<workingdirectory>$(ADTF_DIR)/bin</workingdirectory>
</launcher>

2) Alle Launcher starten

3) Runlevel via ADTF Control senken

4) Profiler GUI verbinden

5) Capturing starten

6) Runlevel heben

7) Runlevel senken

8) Capturing stoppen

9) Manuelle Auswertung der Ergebnisse

Ideen zur Verbesserung:
  • adtf_control sollte in der Lage sein, adtf_launcher mit Option -profiler zu starten
  • adtf_control könnte anbieten, die Profiling GUI zu starten und mit der verbundenen Instanz zu verbinden
  • adtf_configuration_editor könnte anbieten das komplette Toolset (launcher, control und profiler-gui) starten

PS: Weniger Schritte waren es im konkreten Anwendungsfall mit folgender Launcher-Definition:

<launcher>
<name>in Console with Profiling</name>
<executable>"$(ADTF_DIR)/bin/adtf_launcher" -session="$(ADTF_SESSION_FILENAME)" -console -run -profiler -profiler-dump-file="$(ADTF_SESSION_FILENAME).profiling"</executable>
<workingdirectory>$(ADTF_DIR)/bin</workingdirectory>
</launcher>

Lösung

Finde ich gut:
  • Die Launcher Definitionen mit -profiler sollten wir auf jeden Fall hinzufügen (aber ohne -profiler-dump-file=).
  • Das GUI Control sollte auch das Profiling GUI über das Tools Menu starten können.

Problem wir nur die Port Auswahl, aber damit können wir glaub ich leben, wenn es Kollisionen gibt.

Ich hab dafür Ticket ACORE-9533 erstellt.

Actions #1

Updated by hidden almost 6 years ago

  • Project changed from Public Support to 11
  • Topic set to ADTF::Profiling
  • Customer set to AUDI
  • Department set to EX
  • Affected Products ADTF 3.3.0 added

Hallo Martin,

sieh Dir bitte mal das Ticket/Feedback von Jens durch.

Danke

Actions #2

Updated by hidden almost 6 years ago

  • Status changed from New to In Progress
Finde ich gut:
  • Die Launcher Definitionen mit -profiler sollten wir auf jeden Fall hinzufügen (aber ohne -profiler-dump-file=).
  • Das GUI Control sollte auch das Profiling GUI über das Tools Menu starten können.

Problem wir nur die Port Auswahl, aber damit können wir glaub ich leben, wenn es Kollisionen gibt.

Ich hab dafür Ticket ACORE-9533 erstellt.

Actions #3

Updated by hidden almost 6 years ago

  • Project changed from 11 to Public Support
  • Subject changed from Erste Codeoptimierung mit EasyProfiler to How to optimize using of Easy Profiling within ADTF (GUI) Control
  • Description updated (diff)
  • Status changed from In Progress to To Be Closed
  • Private changed from Yes to No
  • Resolution set to Product Issue Opened
  • Product Issue Numbers set to https://www.cip.audi.de/jira/browse/ACORE-9533
  • Support Level changed from 2nd Level to 3rd Level
Actions #4

Updated by hidden almost 6 years ago

  • Status changed from To Be Closed to Closed
Actions

Also available in: Atom PDF