Skip to content

Instantly share code, notes, and snippets.

@chrisvest
Created June 11, 2014 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisvest/24e4c76d0b4d83de739b to your computer and use it in GitHub Desktop.
Save chrisvest/24e4c76d0b4d83de739b to your computer and use it in GitHub Desktop.
chris@Minty ~ $ perf stat -d echo 1
1
Performance counter stats for 'echo 1':
0.597512 task-clock # 0.249 CPUs utilized
3 context-switches # 0.005 M/sec
0 cpu-migrations # 0.000 K/sec
176 page-faults # 0.295 M/sec
<not supported> cycles
<not supported> stalled-cycles-frontend
<not supported> stalled-cycles-backend
<not supported> instructions
<not supported> branches
<not supported> branch-misses
<not supported> L1-dcache-loads
<not supported> L1-dcache-load-misses
<not supported> LLC-loads
<not supported> LLC-load-misses
0.002397512 seconds time elapsed
chris@Minty ~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment