Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created April 15, 2009 23:08
Show Gist options
  • Select an option

  • Save methodmissing/96091 to your computer and use it in GitHub Desktop.

Select an option

Save methodmissing/96091 to your computer and use it in GitHub Desktop.
213-138-231-67:matzruby lourens$ sudo ./instrument/gc.d -c "./ruby instrument/gc.rb"
Password:
ELAPSED TIME DISTRIBUTION,
unregister_address
value ------------- Distribution ------------- count
2048 | 0
4096 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
8192 | 0
free
value ------------- Distribution ------------- count
2048 | 0
4096 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 7
8192 | 0
register_address
value ------------- Distribution ------------- count
4096 | 0
8192 |@@@@@@@@@@@ 6
16384 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 14
32768 |@@ 1
65536 | 0
realloc
value ------------- Distribution ------------- count
2048 | 0
4096 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 175
8192 | 1
16384 | 0
calloc
value ------------- Distribution ------------- count
4096 | 0
8192 |@@@@@@@@@@@@@@@@@@@@ 54
16384 |@@@@@@@@@@@@@@@@@@@@ 54
32768 | 0
malloc
value ------------- Distribution ------------- count
2048 | 0
4096 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 5452
8192 | 8
16384 | 1
32768 | 1
65536 | 0
131072 | 0
262144 | 0
524288 | 0
1048576 | 0
2097152 | 0
4194304 | 0
8388608 | 2
16777216 | 0
___ OVERLAP TIMES: ___ ______ ELAPSED ______
OPERATION COUNT AVG(us) SUM(us)
unregister_address 1 5 5
free 7 4 32
register_address 21 17 370
realloc 176 4 860
calloc 108 15 1653
malloc 5464 8 48828
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment