[Esbox-commits] r405 - in trunk: org.indt.esbox.core/src/org/indt/esbox/core/tool/valgrind org.indt.esbox.help org.indt.esbox.help/html/gettingstarted

raul at garage.maemo.org raul at garage.maemo.org
Thu Feb 14 21:24:50 EET 2008


Author: raul
Date: 2008-02-14 21:24:42 +0200 (Thu, 14 Feb 2008)
New Revision: 405

Added:
   trunk/org.indt.esbox.help/html/gettingstarted/ProfilingMaemoApplications.html
Modified:
   trunk/org.indt.esbox.core/src/org/indt/esbox/core/tool/valgrind/ValgrindToolRunner.java
   trunk/org.indt.esbox.help/tocconcepts.xml
Log:


Modified: trunk/org.indt.esbox.core/src/org/indt/esbox/core/tool/valgrind/ValgrindToolRunner.java
===================================================================
--- trunk/org.indt.esbox.core/src/org/indt/esbox/core/tool/valgrind/ValgrindToolRunner.java	2008-02-13 20:40:15 UTC (rev 404)
+++ trunk/org.indt.esbox.core/src/org/indt/esbox/core/tool/valgrind/ValgrindToolRunner.java	2008-02-14 19:24:42 UTC (rev 405)
@@ -45,8 +45,8 @@
 		List<String> commandLine = runnerInfo.getCommandLine();
 		commandLine.add(VALGRIND);
 		runnerInfo.setBrandNew(false);
-		runnerInfo.setSendToConsole(true);
-		runnerInfo.setConsoleName("Valgrind Tool");
+		runnerInfo.setSendToConsole(false);
+		runnerInfo.setConsoleName(null);
 		return runnerInfo;
 	}
 

Added: trunk/org.indt.esbox.help/html/gettingstarted/ProfilingMaemoApplications.html
===================================================================
--- trunk/org.indt.esbox.help/html/gettingstarted/ProfilingMaemoApplications.html	                        (rev 0)
+++ trunk/org.indt.esbox.help/html/gettingstarted/ProfilingMaemoApplications.html	2008-02-14 19:24:42 UTC (rev 405)
@@ -0,0 +1,54 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+
+	
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+
+	
+    
+  <title>Easing the extraction of strings</title>
+  <style type="text/css">
+<!--
+.style1 {font-family: Arial, Helvetica, sans-serif}
+-->
+    </style>
+</head>
+
+
+
+<body>
+
+
+
+<h2 class="style1">Profiling Maemo Applications</h2>
+
+
+
+<p><span style="font-weight: bold;"></span>Profiling is one of the most
+important techniques available for programmers to understand which are
+the problems of its applications. By simply profiling an application, it becomes 
+immediately apparent where the overwhelming memory and CPU burdens are, and allows you to quickly squash them. ESbox provides support for <a href="http://www.valgrind.org/">Valgrind</a> memory profiler and <a href="http://oprofile.sourceforge.net/news/">OProfile</a> system-wide profiler for both C/C++ and Python Projects.
+</p>
+<span style="font-weight: bold;">Using Valgrind<br>
+<br>
+</span>Valgrind is a framework to build dynamic analyses tools. You can
+use Valgrind to profile your applications: it detects memory management
+(memory leak, use of uninitialised memory, etc.) and thread bugs.
+However, Valgrind is only supported on&nbsp; X86/Linux, AMD64/Linux,
+PPC32/Linux and PPC64/Linux. In order to run Valgrind, you have to
+select an X86 Scratchbox target wich the tool properly installed.<br>
+<br>
+<br>
+<span style="font-weight: bold;"><br>
+Using OProfile<br>
+<br>
+</span>OProfile is a&nbsp;system-wide profiler for Linux systems and
+can profile all running code.&nbsp;
+It consists of a kernel driver and a daemon for collecting sample data,
+and several
+post-profiling tools for turning data into information. Valgrind is
+supported for ARM/Linux. It's executed on Internet Tablet in order to
+obtain hight quality of profiling information.
+</body>
+</html>

Modified: trunk/org.indt.esbox.help/tocconcepts.xml
===================================================================
--- trunk/org.indt.esbox.help/tocconcepts.xml	2008-02-13 20:40:15 UTC (rev 404)
+++ trunk/org.indt.esbox.help/tocconcepts.xml	2008-02-14 19:24:42 UTC (rev 405)
@@ -14,5 +14,7 @@
 	</topic> 
 	<topic label="Remote Launching"  href="html/concepts/RemoteLaunching.html">
     </topic>
+    <topic label="Profiling Applications"  href="html/concepts/ProfilingMaemoApplications.html">
+    </topic>
     
 </toc>



More information about the Esbox-commits mailing list