Profiling

From Vlsiwiki
Revision as of 00:05, 11 June 2013 by Renau (Talk | contribs) (Created page with " To gather statistics of foo perf record -g ./foo If the benchmark is too fast and you do not have enough samples. perf record -g -A ./foo perf record -g -A ./foo ....")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To gather statistics of foo

 perf record -g ./foo

If the benchmark is too fast and you do not have enough samples.

 perf record -g -A ./foo
 perf record -g -A ./foo
 ...
 perf record -g -A ./foo
 perf record -g -A ./foo

To see the performance results

 perf report