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 3679366
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:27:02+00:00 2026-05-19T03:27:02+00:00

I am doing a study to between profilers mainly instrumenting and sampling. I have

  • 0

I am doing a study to between profilers mainly instrumenting and sampling.
I have came up with the following info:

  • sampling: stop the execution of program, take PC and thus deduce were the program is
  • instrumenting: add some overhead code
    to the program so it would increment
    some pointers to know the program

If the above info is wrong correct me.

After this I was looking at the time of execution and some said that instrumenting takes more time than sampling! is this correct?

if yes why is that? in sampling you have to pay the price of context switching between processes while in the latter your in the same program no cost

Am i missing something?

cheers! =)

  • 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-19T03:27:03+00:00Added an answer on May 19, 2026 at 3:27 am

    The interrupts generated by a sampling profiler generally add an insignficant amount of time to the total execution time, unless you have a very short sampling interval (e.g. < 1 ms).

    With instrumented profiling there can be a large overhead, e.g. on small leaf functions that get called many times, as the calls to the instrumentation library can be significant compared to the execution time of the function.

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

Sidebar

Related Questions

So I was doing this comparative study between the application security model between android
I'm doing a trade study for Ada development on Linux. Do you have any
I'm doing a study on large Java projects and would like to view the
I'm doing a performance study for a web application framework running on Apache Tomcat
I`m doing something wrong with my app delegate, I'd appreciate if someone could have
I'm doing some changes on my routes, and suddenly the following is appearing in
I am doing some study on arrays, and I am trying to resolve how
A few friends and I are doing a self-study on Computer Science/Programming and taking
I am currently doing a project on GWT and in the background study, I
I have gone through all available study resources in the internet as much as

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.