> On Jul 4, 2017, at 12:00 AM, Graham Cox <[email protected]> wrote:
> 
> Heh, well, I wish I knew.
> Instruments isn’t working. It’s a new machine which I set up from my older 
> machine. XCode works fine, but Instruments doesn’t. I guess that just copying 
> stuff over isn’t enough to install it.

FYI, you don’t need Instruments to do quick and dirty CPU sampling. Just use 
the “sample” tool, or the View>Sample Process command in Activity Monitor.
Activity Monitor produces prettier output, but I find the CLI tool more 
convenient to use — if I need to trigger the behavior by e.g. scrolling, I’ll 
enter “sleep 5; sample MyApp 2” in Terminal, then switch to my app and start 
scrolling until the sampling finishes.

—Jens
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to