2010-11-16 mac/unixで実行ファイルの速度計測する方法 terminalで次を入力する。 gcc -p test.c ./a.out gprof a.out すると関数にかかる時間とかがでてくる。