Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6060077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:47:03+00:00 2026-05-23T08:47:03+00:00

I just don’t get the various elements of the traceview output, and I can’t

  • 0

I just don’t get the various elements of the traceview output, and I can’t find a tutorial. Could someone please explain the following with reference to the diagram below:

enter image description here

  1. The width of the bars corresponds to the time the function takes. What does the height correspond to?
  2. What is specific difference between Inclusive and Exclusive. I assumed that inclusive includes the calls of all the children functions?
  3. Would this be true: The sum of (Time per call times Calls) = time the program runs (what about async tasks?)
  4. Can async tasks be ignored when debugging slowdown on the main thread ?
  5. Should the sum of all the percents in Excl% equal 100%?
  6. What happens when there are gaps (white in the midst of black)? Is that when other android processes are running, or just your own async tasks (it looks like the gaps in one are aligned with the filled in part in the other, if thats the case then is there any point in moving intensive tasks to an AsyncTask)?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:47:04+00:00Added an answer on May 23, 2026 at 8:47 am

    I cant answer all your questions, but I can say…

    for #4 no, You’re running a single core processor (or at least emulating one) so async tasks on their own thread have to interrupt main thread to get processing time. Any time another thread executes will be “slowdown” on the main thread, so you should be watching that.

    for #6, those gaps you see in your main threads execution trace correlate exactly to the times when your asynctask is getting processor time. Again, single core, can only do 1 thread at a time. In this time slice it doesnt look like any other process got any processor time at all, but those threads were still sleeping in the background. Since this was (likely) an emulator, thats common. On a live phone you will see many more 🙂

    I’m also fairly sure for #1 that the height of each spike in the thread’s execution is the %processor utilization. For example the main thread’s “black” area is system idle. Edit: Ok, i’m for sure now. This is what that is. So in your main thread, that area that is solid pink is solid 100% processor utilization.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just don't get something in the .NET generic type casting. Can someone explain
Well, I just don't seem to understand certain things about RegExp . Can someone
I just don't understand and can't find much info about wchar end. If it
I just don't get it, it's actually so basic, but I just can't make
I just don't get it. I have a function to read stemmed strings from
I just don't get it. Any manual is too technical. What are flat and
Can anybody help with this code I just don't know where I am going
I just don't get it: when I use the camera with an intent and
Sry but I just don't understand what is wrong in my syntext, can you
There's something I just don't get regarding config files and dev or prod environments.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.