Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created February 7, 2010 23:47
Show Gist options
  • Save methodmissing/297763 to your computer and use it in GitHub Desktop.
Save methodmissing/297763 to your computer and use it in GitHub Desktop.
methodmissing@www:~$ sudo ltrace -cp 10868
% time seconds usecs/call calls function
------ ----------- ----------- --------- --------------------
95.23 14.430235 45 314661 memcpy
1.85 0.280341 14 19899 free
1.18 0.179301 14 12354 malloc
0.50 0.075849 13 5573 strcmp
0.42 0.062907 15 4164 memset
0.36 0.055280 14 3813 realloc
0.24 0.036312 13 2678 _setjmp
0.09 0.014078 13 1028 strlen
0.04 0.005512 14 383 localtime_r
0.03 0.004919 27 182 tzset
0.03 0.003856 13 284 memmove
0.02 0.002379 25 94 clock_gettime
0.01 0.001492 33 44 mktime
0.00 0.000169 14 12 floor
------ ----------- ----------- --------- --------------------
100.00 15.152630 365169 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment