Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
いくつかの数値計算プログラムのプロファイリングに興味があります。-g オプションと -pg オプションを付けてコンパイルし、リンクして gmon.out を取得しました。情報(プレーンテキスト)を読んだ後、それは少し見苦しく見えます。プログラムが最も多くの時間を費やしている 10 個の関数のグラフィカルな表現とフラックス ダイアグラムを取得するためのオープン ソース ツールがいくつかあるのではないかと思います。
ありがとう
jrfonsecaによるGprof2Dotは、gprof を含む多くのプロファイラーの出力をドット グラフに変換するツールです。