COOLBAR_AREA_TIMELINE=Timeline
COOLBAR_AREA_RANGE=Range
COOLBAR_AREA_NETWORK=Network
-<<<<<<< Updated upstream
-
-#COOLBAR_AREA_TIMELINE_TOOLTIP=Timeline [Ctrl + 1]
-#COOLBAR_AREA_FILE_TOOLTIP=File [Ctrl + 2]
-#COOLBAR_AREA_THREAD_TOOLTIP=Thread [Ctrl + 3]
-#COOLBAR_AREA_UI_TOOLTIP=UI [Ctrl + 4]
-#COOLBAR_AREA_SUMMARY_TOOLTIP=Summary [Ctrl + 5]
-#COOLBAR_AREA_RANGE_TOOLTIP=Range [Ctrl + 6]
-=======
COOLBAR_AREA_GRAPHICS=Graphics
->>>>>>> Stashed changes
COOLBAR_AREA_TIMELINE_TOOLTIP=Timeline [Ctrl + 1]
COOLBAR_AREA_FILE_TOOLTIP=File [Ctrl + 2]
COOLBAR_AREA_SUMMARY_TOOLTIP=Summary [Ctrl + 7]
COOLBAR_AREA_RANGE_TOOLTIP=Range [Ctrl + 8]
-<<<<<<< Updated upstream
-
-#COOLBAR_AREA_TIMELINE_TOOLTIP_MAC=Timeline [Command + 1]
-#COOLBAR_AREA_FILE_TOOLTIP_MAC=File [Command + 2]
-#COOLBAR_AREA_THREAD_TOOLTIP_MAC=Thread [Command + 3]
-#COOLBAR_AREA_UI_TOOLTIP_MAC=UI [Command + 4]
-#COOLBAR_AREA_SUMMARY_TOOLTIP_MAC=Summary [Command + 5]
-#COOLBAR_AREA_RANGE_TOOLTIP_MAC=Range [Command + 6]
-=======
->>>>>>> Stashed changes
COOLBAR_AREA_TIMELINE_TOOLTIP_MAC=Timeline [Command + 1]
COOLBAR_AREA_FILE_TOOLTIP_MAC=File [Command + 2]
COOLBAR_AREA_NETWORK_TOOLTIP_MAC=Network [Command + 3]
-OFF=off
-ON=on
-INTERNALCALL=Internal call
-RANGEAUTOSELECT=Range auto select
-FEATURE_SCREENSHOT=Snapshot
-PLATFORM=Platform
-PLATFORM_ETC=etc
-SHOWLOG=Show log
-SAMPLINGPERIOD=Sampling period
-PROCESSSIZE=Process size
-SINGLETON_FOCUS_DA_PID=Singleton focus DA PID
-CONFIGUREMANAGER_CHART_AVAILABLE_ITEM_LIST=Available chart list
-CONFIGUREMANAGER_CHART_SELECTED_ITEM_LIST=Selected chart list
+FEATURE_TABLE_TITLE=Default Settings for Analysis Features
+FEATURE_TABLE_FEATURE_EMPTY=
+FEATURE_TABLE_FEATURE_NAME=Name
+FEATURE_DETAIL_TITLE=Details
+
+SETTING_TABLE_TITLE=Appearance Settings
+SETTING_WHITE=White
+SETTING_BLACK=Black
+SETTING_CONFIGURATION_TITLE=Configuration Settings
+
+WELCONE_ASK_USE_AGAIN=Use this as the default and do not ask again.
FEATURE_FUNCTION_PROFILING=Function_Profiling
FEATURE_MEMORY_ALLOCATION=Memory_Allocation
FEATURE_SYSTEM_DEVICE=System Device
FEATURE_SYSTEM_ENERGY=System Energy
+
DETAIL_FUNCTIONPROFILING=Shows the function profile.
DETAIL_ALLOCATION=Shows the heap memory allocation.
DETAIL_FILE=Shows the file usage analysis on the File tab and the file chart on the Timeline tab.
DETAIL_SNAPSHOT=Shows application screenshots.
DETAIL_EVENT=Shows UI events that occur on the device.
DETAIL_RECORDING= Record profiling information for playback.
-THEME=theme
-FEATURE_TABLE_TITLE=Default Settings for Analysis Features
-FEATURE_TABLE_FEATURE_EMPTY=
-FEATURE_TABLE_FEATURE_NAME=Name
-FEATURE_DETAIL_TITLE=Details
-SETTING_TABLE_TITLE=Appearance Settings
-SETTING_WHITE=White
-SETTING_BLACK=Black
-SETTING_CONFIGURATION_TITLE=Configuration Settings
+
SHOW_INITIAL=Do not show the configuration at start-up.
AUTO_STOP=Auto-stop while replaying
-WELCONE_ASK_USE_AGAIN=Use this as the default and do not ask again.
\ No newline at end of file
+
+OFF=off
+ON=on
+INTERNALCALL=Internal call
+RANGEAUTOSELECT=Range auto select
+FEATURE_SCREENSHOT=Snapshot
+PLATFORM=Platform
+PLATFORM_ETC=etc
+SHOWLOG=Show log
+SAMPLINGPERIOD=Sampling period
+PROCESSSIZE=Process size
+SINGLETON_FOCUS_DA_PID=Singleton focus DA PID
+CONFIGUREMANAGER_CHART_AVAILABLE_ITEM_LIST=Available chart list
+CONFIGUREMANAGER_CHART_SELECTED_ITEM_LIST=Selected chart list
+
+INTERNAL_LOG_LEVEL=Internal log level
+
+THEME=theme
\ No newline at end of file
import java.util.List;
import org.tizen.dynamicanalyzer.common.AnalyzerConstants;
+import org.tizen.dynamicanalyzer.communicator.DACommunicator;
import org.tizen.dynamicanalyzer.nl.TimelineChartLabels;
import org.tizen.dynamicanalyzer.resources.ColorResources;
import org.tizen.dynamicanalyzer.resources.ImageResources;
String[] cpuRates = logData.getCpuLoad().split(","); //$NON-NLS-1$
double value = 0;
if (coreSize == TimelineConstants.NOT_INITED) {
- coreSize = cpuRates.length - 1;
+ coreSize = DACommunicator.getSelectedDevice().getTargetInfo()
+ .getCpuCount();
}
for (int i = 0; i < coreSize; i++) {
double time = logData.getTime() / TimelineConstants.MEGA_DOUBLE;
String[] cpuFreqs = logData.getCpuFrequency().split(","); //$NON-NLS-1$
- double freq0 = Double.parseDouble(cpuFreqs[0]) * (double) 1000;
+ double freq0 = Double.parseDouble(cpuFreqs[0]) * 1000.0;
frequencySeries.addSeriesItem(new DAChartSeriesItem(time, freq0,
Formatter.toHzFormat(freq0)));
} catch (NumberFormatException ne) {
import java.util.List;
import org.tizen.dynamicanalyzer.common.AnalyzerConstants;
-import org.tizen.dynamicanalyzer.logparser.LogCenterConstants;
import org.tizen.dynamicanalyzer.nl.TimelineChartLabels;
import org.tizen.dynamicanalyzer.resources.ColorResources;
import org.tizen.dynamicanalyzer.resources.ImageResources;
@Override
public void parseLogPackage(LogPackage logPack) {
- Logs memoryLogs = logPack.getLogs(LogCenterConstants.LOG_MEMORY);
- Logs deviceLogs = logPack.getLogs(LogCenterConstants.LOG_DEVICE);
+ Logs memoryLogs = logPack.getLogs(AnalyzerConstants.MSG_PROBE_MEMORY);
+ Logs deviceLogs = logPack.getLogs(probeType);
List<LogData> memoryLogList = memoryLogs == null ? null
: memoryLogs.getLogs();
import org.tizen.dynamicanalyzer.ui.common.TimelineChartMouseTrackAdapter;
import org.tizen.dynamicanalyzer.ui.common.UICommonConstants;
import org.tizen.dynamicanalyzer.ui.range.RangeDataManager;
+import org.tizen.dynamicanalyzer.ui.timeline.chart.HeapChart;
import org.tizen.dynamicanalyzer.ui.timeline.chart.ScreenshotChart;
import org.tizen.dynamicanalyzer.ui.timeline.chart.TimelineChart;
import org.tizen.dynamicanalyzer.ui.timeline.chart.UIEventChart;
}
Logs deviceLogs = logPack.getLogs(AnalyzerConstants.MSG_DATA_SYSTEM);
- if (deviceLogs != null && deviceLogs.getLogs() != null
- && !deviceLogs.getLogs().isEmpty()) {
+ if (deviceLogs != null && !deviceLogs.getLogs().isEmpty()) {
deviceLogParser.parseLogPackage(logPack);
}
+ Logs memoryLogs = logPack.getLogs(AnalyzerConstants.MSG_PROBE_MEMORY);
+ if (memoryLogs != null && !memoryLogs.getLogs().isEmpty()) {
+ HeapChart.getInstance().parseLogPackage(logPack);
+ }
+
Logs recorderLogs = logPack
.getLogs(AnalyzerConstants.MSG_PROBE_UIEVENT);
- if (recorderLogs != null && recorderLogs.getLogs() != null
- && !recorderLogs.getLogs().isEmpty()) {
+ if (recorderLogs != null && !recorderLogs.getLogs().isEmpty()) {
UIEventChart.getInstance().parseLogPackage(logPack);
}
Logs customLogs = logPack.getLogs(AnalyzerConstants.MSG_PROBE_CUSTOM);
- if (customLogs != null && customLogs.getLogs() != null
- && !customLogs.getLogs().isEmpty()) {
+ if (customLogs != null && !customLogs.getLogs().isEmpty()) {
customLogParser.parseLogPackage(logPack);
}
Logs lifecycleLogs = logPack
.getLogs(AnalyzerConstants.MSG_PROBE_LIFECYCLE);
- if (lifecycleLogs != null && lifecycleLogs.getLogs() != null
- && !lifecycleLogs.getLogs().isEmpty()) {
+ if (lifecycleLogs != null && !lifecycleLogs.getLogs().isEmpty()) {
lifecycleLogParser.parseLogPackage(logPack);
}
Logs screenShotLogs = logPack
.getLogs(AnalyzerConstants.MSG_PROBE_SCREENSHOT);
- if (screenShotLogs != null && screenShotLogs.getLogs() != null
- && !screenShotLogs.getLogs().isEmpty()) {
+ if (screenShotLogs != null && !screenShotLogs.getLogs().isEmpty()) {
ScreenshotChart.getInstance().parseLogPackage(logPack);
}
}