我正在尝试分析我拥有的应用程序,但我不希望与 UI(在 wxWidgets 中制作)相关的任何内容出现在 gprof 的调用图中等。我该怎么做?
问问题
461 次
1 回答
0
从 gprof 手册页:
-E name
suppresses the displaying of the graph profile entry for routine
name (and its descendants) as -e, above, and also excludes the
time spent in name (and its descendants) from the total and per-
centage time computations. (For example, -E mcount and all of
the other monitor(3) routines are excluded by default.)
于 2011-01-01T13:42:16.863 回答