aboutsummaryrefslogtreecommitdiffstats
path: root/traceview
Commit message (Collapse)AuthorAgeFilesLines
* Remove System.exit from traceview code running in Eclipse.Xavier Ducrohet2011-07-082-31/+26
| | | | | | | These are remnants of the standalone traceview version and they can bring Eclipse down if the trace file can't be read. Change-Id: Ic9a0171f307bc991cd000fa4d35d5c37b47e93b2
* Fix some override issues.Xavier Ducrohet2011-07-062-8/+2
| | | | | | SDK tools must compile using Java 1.5 Change-Id: I39b708fcb6f1e225bece6b12c1b5909865825ac9
* Add support for tracking cpu and real time.Jeff Brown2011-06-2712-611/+1030
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enhanced TraceView to support extracting cpu and real time profile data from traces and plotting them accordingly. In contrast, the original thread-cpu algorithm incorrectly assumed that threads could not execute in parallel so it would produce inaccurate representations of the global execution timeline on SMP systems. To use this feature, Dalvik must be restarted with appropriate profiling options. Collect CPU time only (default). Global timeline must be inferred. adb shell setprop dalvik.vm.extra-opts -Xprofile:threadcpuclock Collect real time only. CPU usage information is not available. adb shell setprop dalvik.vm.extra-opts -Xprofile:wallclock Collect CPU time and real time information. Most accurate but requires a newer VM. adb shell setprop dalvik.vm.extra-opts -Xprofile:dualclock TraceView remains compatible with traces gathered on older devices and produces identical output when analyzing traces gathered with the thread-cpu clock. Added a feature that displays the exclusive and inclusive time information while hovering over a method. Added a feature that displays the time spent in a context switch by a simple 1 pixel underline within the body of the method call. This makes it much easier to identify long running methods that spend most of their time blocked on a wait. Fixed a bug in the way that the method call highlights were displayed which could cause them to be truncated down to a single-pixel width depending on the pixel alignment of the start and end of each segment. Change-Id: Id2e6d101d9c604a0029e0920127871f88013faa0
* Add a basic properties dialog.Jeff Brown2011-06-244-0/+151
| | | | | | | Shows some information about the trace that can be of interest, such as which timing mode (thread time or wall time) was used. Change-Id: I0f00b69dc5d3982f346cfc08e12eb5b379430a96
* Add a horizontal scrollbar.Jeff Brown2011-06-241-2/+48
| | | | Change-Id: I077240805c45f71c8e270cada39bad3168061dfa
* Put some new icons.Xavier Ducrohet2011-04-072-2/+1
| | | | | | | | | | | | | - ddms and (one of) hierarchy viewer perspective. - feature about for traceview/hierarchyviewer - use the draw9patch icon for the resource view in ADT - use the emulator icon for the emulator control view in DDMS - use the new android icon for the ADT wizard. Also standardized on <toolsname>-<size>.png for the icon names. ADT uses android-##.png Change-Id: I1ce2a0dae5d256049b381552bd89aef717f51da6
* New application icons for the various SDK toolsTor Norbye2011-04-052-0/+9
| | | | | | | | | | | | | | | | This changeset integrates a new set of application icons by Roman Nurik for the various SDK tools: DDMS, Hierarchyviewer, Traceview, the SDK manager, and the Eclipse about box icon. We have new icons with the same visual look for draw9patch and emulator as well, which are not integrated here. Draw9patch is written in Swing, so it doesn't have a way to set a dock icon on the Mac (other than with a startup script modification to pass -Xdock:icon, which means we also need to bundle the .icns image outside its .jar). I couldn't find the place the emulator dock image is set so I will ask around and file a separate CL for that. Change-Id: Idbb2212b8d0d5f1bd2d41b3576079ff409c7e9c8
* Merge "Zoom with scrollwheel in Traceview."Xavier Ducrohet2011-04-041-2/+48
|\
| * Zoom with scrollwheel in Traceview.Pierre Zurek2011-03-111-2/+48
| | | | | | | | | | | | | | | | | | The zoom factor is 2 (hardcoded). The fixed point is given by the mouse position when zooming in. When zooming out, we use the previous fixed point. This commit do not launch an animation when zooming. Change-Id: I020cce5ff12f80e70a49510dc334a250c23616ae
* | Add missing notice files.Xavier Ducrohet2011-03-151-0/+190
|/ | | | | | | | | | Also fix some makefiles to make sure the notices are picked up. - move the makefile outside of the source folder. - resources are now in the source folder directly instead of being inside src/resources. It's much simpler. Change-Id: Ica8ee4c2bc8a9b035d23fc914d4137cdca7e567d
* Add support for CTRL+click on the method in Traceview.Xavier Ducrohet2011-02-012-14/+31
| | | | | | This will open the method declaration in an editor. Change-Id: I79e160bf565ac563e423132e010b7e51ab531673
* Fix possible NPE in Traceview.Xavier Ducrohet2011-02-011-5/+7
| | | | Change-Id: I7834a4fee69ae103a5a39416aacea689e2010519
* Traceview integration into Eclipse.Pierre Zurek2011-01-301-1/+1
| | | | | | New plugin which adds a Traceview view to Eclipse. Change-Id: I3001dfde6ed28db3de8a75715a0ba0743f5c29b0
* Merge "Modified traceview .classpath."Xavier Ducrohet2011-01-111-1/+2
|\
| * Modified traceview .classpath.Pierre Zurek2010-12-201-1/+2
| | | | | | | | | | | | | | When launched from Eclipse, traceview crashed because it did not find the resources. Change-Id: I863b8e7d8fd6e77932e4cdbf9bd0654185687b1b
* | Fix NON-NLS tokensTor Norbye2011-01-042-26/+26
|/ | | | | | | | | | | | | There were a number of // $NON-NLS-1$ references in the codebase. Eclipse's "Externalize Strings" functionality will not handle these correctly; there must not be a space between the "//" and the "$NON" tokens. (I left AndroidXmlEditor.xml alone; it is the file I discovered the problem in but I fixed those references as part of another pending checkin.) Change-Id: If185c88a667273af614f0bee5959fd2618756c05
* Allocation tracker content can now be sorted.Xavier Ducrohet2010-09-122-0/+0
| | | | Change-Id: I9f4009e5634e0c4a2b871082c2c281f62a67ca2f
* Fix HierarchyViewer2 to run on MacOS X correctly.Xavier Ducrohet2010-08-311-1/+2
| | | | | | | | | | This also fix the issue with the app never closing correctly (throwing an exception). Also updated the launcher script to match the new ones we use in the other Java based tools. Change-Id: I851f0732a78c6e6c072728f05e611f01eee8fc19
* SDK Updater: Support post install script for updating SDK Setup.exe.Raphael2010-01-281-1/+1
| | | | | | | | | The new post_tools_install.bat will be found in SDK/tools/lib. This also moves find_java.bat into the same lib folder. SDK Bug: 2404830 Change-Id: I84e3671918931079f296500e296ec1a55931b851
* Windows SDK: use find_java.bat in all batch wrappers.Raphael2010-01-261-2/+7
| | | | | | SDK Bug: 2315813 Change-Id: If026d09f927b3d0b5707dfd08e1367e4ba2da28b
* Updated to better distinguish between options and operandsNate Karstens2010-01-251-1/+1
| | | | | | | | | This is integrated from external/master/development.git in order to not be lost when the development->sdk move is merged into external/master Change-Id: I51631f4efd75f8fb429499fb3ddd1926b7467038 http://android.git.kernel.org/?p=platform/development.git;a=commit;h=582fcd428db0a49e453c64c8233f9f82ae72e1fc
* SDK: Enforce GDK_NATIVE_WINDOWS=true for linux scriptsRaphael2009-11-021-0/+4
| | | | | | SDK BUG 2232091 Change-Id: I2a000054545b7865769054d1fdc733e50f06edd5
* Sync DDMS/Traceview/Android version on the repository source.Xavier Ducrohet2009-09-253-30/+43
| | | | | | | | All apps now read source.properties located in SDK/tools to know which version they. This is used in about box display and in ping usage. Change-Id: I6620c3eb703c32bfcdfd96e6a27bffc7a123b974
* Make archquery use the same VM as DDMS/TraceviewXavier Ducrohet2009-09-241-10/+5
| | | | | | | | | | archquery is used to figure out whether the VM is 32 or 64 bit, but on MacOS X, it used the normal "java" command while the application was forced to use java 1.5 This could lead to cases where archquery ran in 1.6 64bit but the app in 1.5 32 bit, creating a mismatch and make the app using the wrong SWT version.
* Change scripts to support x86_64 for DDMS.Raphael2009-06-041-5/+20
|
* Change the SDK, DDMS and Traceview to work with the new SWT libraries.Xavier Ducrohet2009-06-042-4/+29
| | | | | | The SDK now contains 32 and 64 bit version of SWT. DDMS and Traceview use the archquery java app to check the architecture of the VM to decide which version of SWT should be used to run the apps.
* Make traceview compile with the new API from SdkStats.Xavier Ducrohet2009-04-272-1/+2
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0329-0/+5190
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0329-5190/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-3/+3
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-3/+3
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-172-2/+2
|
* Initial ContributionThe Android Open Source Project2008-10-2129-0/+5190