Traceview is the way to go. Just remember that your game will play even slower while you have method tracing turned on, but the results you get from it are still very helpful. They are just in relative time and not absolute time.
Here are some videos from Google I/O 09 Writing Real-Time Games for Android http://www.youtube.com/watch?v=U4Bk5rmIpic&feature=player_embedded Debugging Arts of the Ninja Master http://www.youtube.com/watch?v=Dgnx0E7m1GQ&feature=player_embedded In the second video go to ~22:30 and he starts covering how to use traceview -theSmith On Feb 7, 8:37 am, "Mark Murphy" <mmur...@commonsware.com> wrote: > > I want to optimize my game and remove the stuttering. Is there a way > > to measure the time-consumings of all my functions in the game without > > having to change all my functions? > > Try Traceview: > > http://developer.android.com/intl/fr/guide/developing/tools/traceview... > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en