• 请不要在回答技术问题时复制粘贴 AI 生成的内容
movq
V2EX  ›  程序员

macOS CLion 上面运行时的选项: profile, run with valgrind memcheck 是干嘛的?据我所知较新版本的 macOS 上根本没有 valgrind,也不能 profile,因为没有 perf

  •  
  •   movq · Mar 6, 2022 · 1463 views
    This topic created in 1535 days ago, the information mentioned may be changed or developed.

    7meSo8ZYzcnRDHX

    1 replies    2022-03-06 11:06:54 +08:00
    icyalala
        1
    icyalala  
       Mar 6, 2022
    valgrind 确实不支持最新几版 macOS ,有一个原因是现在苹果把所有动态库都打包在一起了,valgrind 还处理不了 dyld cache 。等以后支持了也许还能用。

    Profiler 在 mac 上用的是 DTrace: https://www.jetbrains.com/help/clion/cpu-profiler.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5629 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 06:06 · PVG 14:06 · LAX 23:06 · JFK 02:06
    ♥ Do have faith in what you're doing.