c++ g++ llvm-clang compiler profiling

前端 未结 2 1164
南旧
南旧 2020-12-30 06:22

Note, my question is not: how do I tell my compiler to compile with profiling on.

I want to profile my compiles process. For each file, I\'d like to know ho

2条回答
  •  轮回少年
    2020-12-30 06:46

    Try these command line options with g++

    -v -ftime-report

    That should give you more information on the compiling process. The culprit is usually templates though.

提交回复
热议问题