Profiling c++ on mac os x

后端 未结 3 864
终归单人心
终归单人心 2020-12-22 16:11

I\'m attempting to profile some c++ code on my mac (os x Lion) and I haven\'t been able to find anything useful. I\'m looking for a profiler that will tell me what functions

3条回答
  •  一生所求
    2020-12-22 16:40

    Instruments is the tool to use. To overcome the issue of the blank traces, make sure that you open Instruments from within XCode:

    Xcode > Open Developer Tool > Instruments
    

    If you open Instruments from an old Instruments icon that you pinned to your dock before the last update to XCode, it will give you blank traces.

提交回复
热议问题