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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:06:19+00:00 2026-06-14T10:06:19+00:00

Shark, Apple’s profiler which let you configure custom performance counters, is no longer supported

  • 0

Shark, Apple’s profiler which let you configure custom performance counters, is no longer supported in OSX Mountain Lion since it can’t run a 32-bit kernel. Instruments.app, Apple’s replacement for Shark, doesn’t seem to support reading performance counters such as L1 cache hits/misses**. Is there anyway to actually setup and read performance counters on OS X? Even if there is no application, is there some user-land API to do this?

**Instruments.app does seem to have an interface for performance counters, but on my Retina MacBook Pro, the PM Events window lists no events, and indicates “Device: Unknown.” Are there any other alternatives to Instruments?

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

    Yes. It’s there, but difficult to find and clumsy to use (ver.4.5).

    • Launch Instruments.
    • You are greeted by the Wizard
    • Choose “Blank” template for OS X
    • Press cmd+L to display the Library
    • Add “Counters” instrument to your Instruments document
    • Press cmd+shf+P — you are presented with the PM Events floating window.
    • Let’s evaluate “Divide Operations executed” — Add “Divide Operations executed” to the PM Events window’s search field.
    • Now set the “State” of “Divide Operations executed” to “Visible”
    • Now back to the main document window, press cmd+I to display the info popover of the “Counters” instrument.
    • Press the + button
    • Set the new Counter’s event to “Divide Operations executed”
    • Begin sampling…
    • End sampling…

    You will see the results in Instruments’ table columns. Of course, there are many events you could record — So find the L1 cache events you are interested in and add them instead of divides.

    Also be prepared for system freezes (one happened while writing this up).

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

Sidebar

Related Questions

I was reading at an apple site that shark captures everything that is running
I have an array myArr which contains objects of custom class..e.g. objs of type
I'm looking for alternatives to Apple's Shark on Linux. I'm looking for a statistical
Is there an API to tap to Apple's Bonjour service (I'm planning to share
Shark has identified a area of code to be improved - Unaligned loop start
I want to use Shark on OS 10.5 to do some basic profiling of
We are trying to run shark on our iphone application. However, in the analyzed
After a while I figured out I could bind Shark to the process of
I have the following case: All boats have a boat type like shark ,
i use APNS Sharp library for my apple push notification. i have downloded from

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.