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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:48:53+00:00 2026-06-13T10:48:53+00:00

I am trying to profile some signal processing code running on device using instruments.

  • 0

I am trying to profile some signal processing code running on device using instruments. The code is written in C++. Below is the output ater profiling for a few seconds . . .

enter image description here

It is clear that the calls to powf are taking up the majority of the CPU time, however, I cannot find how to determine which calls to powf are the biggest offenders in my code. I swear that when I used to use shark, it was really easy to get line numbers for the calls in the source. All I can get from instruments is machine code nonsense.

Expanding the powf triangle gives the following . . . .

enter image description here

  • 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-06-13T10:48:54+00:00Added an answer on June 13, 2026 at 10:48 am

    It would appear that the code containing calls to powf is part of a callback function which you are passing to CoreAudio. Instruments seems to be unable to symbolicate the call chain for the callback, so you are just seeing raw addresses in the code. It might be possible to identify these addresses using a suitable tool (e.g. otool, or similar), but a better strategy in the long run would be to implement a test harness which calls your callback code in a loop with dummy data – this will most likely repay itself when you use it for future debugging and profiling activities. Note that for convenience you could just build the test harness as a Mac OS X executable for profiling/debugging, as bugs and performance bottlenecks will most likely be similar on both platforms, at least to a first approximation.

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

Sidebar

Related Questions

I'm trying to profile some Ruby code I wrote using ruby-prof gem and see
I'm trying to profile my renderer, and I'm seeing some weird profiling behavior that
I'm trying to port some OpenGL 3.2 code from Windows to OS/X 10.8 (using
I am trying to extend the user profile using some of the other questions/answers
i'm trying to profile a quicksort code. the code is as follows: qsort []
I'm trying to create a simple profile tab which includes a gravatar using Devise,
I'm trying to profile my code to check how long it takes to execute
I'm trying to perform some memory profiling on an applications that is accumulating large
I am trying to create a timer to profile some functions. For example, #include
I trying to get started with Google Perf Tools to profile some CPU intensive

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.