use the perf tool: use -c 1 to test every sample perf_3.2 record -c 1 ./yourApp display the report perf report