使用-ftime-report运行gcc-一些结果意味着什么?

时间:2019-02-07 09:28:46

标签: c++11 gcc compilation gcc-warning

我已经从编译项目中收集了数据,以下是所花费时间的TOP12结果:

name                    usr     sys     wall
phase parsing           75,9    1087,51 1167,92
template instantiation  47,05   506,71  558,57
phase opt and generate  167,18  332,26  505,39
phase lang. deferred    36,01   354,1   392,63 <=
parser (global)         11,88   327,73  339,86
preprocessing           16,46   268,65  285,98
parser struct body      11,58   142,64  155,26
parser inl. meth. body  10,07   107,98  118,86
parser inl. func. body  10,78   67,43   79,18
parser function body    4,18    69,5    74,39
callgraph construction  14,62   44,08   57,66
unaccounted todo        5,65    37,65   46,34 <=

有些事情似乎很清楚,但我很感谢您解释:

  • 相位郎。 -是不是意味着我的代码已经过时并且由于它没有完全与C ++ 11对齐,所以需要一些时间才能将代码“重新解释”为新代码?
  • 待办事项不明-听起来很神秘。这里有什么样的待办事项?

致谢

0 个答案:

没有答案