Skip to content

Instantly share code, notes, and snippets.

@zhengyang92
Created July 28, 2016 12:18
Show Gist options
  • Save zhengyang92/895f6146e016aa1b5626acbca4e12898 to your computer and use it in GitHub Desktop.
Save zhengyang92/895f6146e016aa1b5626acbca4e12898 to your computer and use it in GitHub Desktop.
Flat profile:
Each sample counts as 0.000123031 seconds.
% cumulative self self total
time seconds seconds calls s/call s/call name
29.57 65.38 65.38 675412146 0.00 0.00 longest_match
27.76 126.77 61.39 1 61.39 198.41 deflate
11.05 151.20 24.43 1073198323 0.00 0.00 ct_tally
9.68 172.60 21.40 .mcount
7.53 189.25 16.65 32768 0.00 0.00 updcrc
6.18 202.91 13.66 32491 0.00 0.00 copy_block
3.36 210.34 7.42 22015257 0.00 0.00 pqdownheap
1.42 213.48 3.15 65547 0.00 0.00 write
0.90 215.48 2.00 32768 0.00 0.00 read
0.75 217.15 1.67 294777 0.00 0.00 build_tree
0.59 218.46 1.31 32767 0.00 0.00 fill_window
0.53 219.65 1.18 1 1.18 1.18 unlinkat
0.17 220.02 0.38 8892575 0.00 0.00 bi_reverse
0.16 220.38 0.36 32768 0.00 0.00 memcpy
0.08 220.55 0.17 65506 0.00 0.00 scan_tree
0.07 220.71 0.16 8653821 0.00 0.00 send_bits
0.06 220.83 0.12 262 0.00 0.00 compress_block
0.03 220.90 0.06 32754 0.00 0.00 init_block
0.02 220.95 0.05 __internal_register(safecode::DebugPoolTy*, void*, unsigned int, unsigned int, char const*, unsigned int)
0.02 220.99 0.04 65768 0.00 0.00 flush_block
0.01 221.01 0.02 32768 0.00 0.00 file_read
0.01 221.03 0.02 __sc_bb_poolunregister_stack_debug
0.01 221.05 0.02 L1
0.01 221.06 0.02 pool_register_stack_debug
0.01 221.08 0.01 65547 0.00 0.00 flush_outbuf
0.01 221.09 0.01 __sc_bb_src_poolregister_stack
0.00 221.10 0.01 131094 0.00 0.00 write_buf
0.00 221.11 0.01 32768 0.00 0.00 read_buffer
0.00 221.11 0.01 196967 0.00 0.00 memset
0.00 221.12 0.01 32492 0.00 0.00 bi_windup
0.00 221.12 0.01 pool_unregister_stack_debug
0.00 221.13 0.00 524 0.00 0.00 send_tree
0.00 221.13 0.00 pool_unregister_debug
0.00 221.13 0.00 __sc_bb_poolregister_stack
0.00 221.13 0.00 48 0.00 0.00 strncmp
0.00 221.13 0.00 22 0.00 0.00 strlen
0.00 221.13 0.00 14 0.00 0.00 sigaction
0.00 221.13 0.00 14 0.00 14.26 treat_file
0.00 221.13 0.00 8 0.00 0.00 __cxa_atexit
0.00 221.13 0.00 8 0.00 0.00 atexit_register
0.00 221.13 0.00 7 0.00 0.00 strlwr
0.00 221.13 0.00 6 0.00 0.00 __sflush
0.00 221.13 0.00 6 0.00 0.00 sigaddset
0.00 221.13 0.00 6 0.00 0.00 sigismember
0.00 221.13 0.00 5 0.00 0.00 strcpy
0.00 221.13 0.00 4 0.00 0.00 free
0.00 221.13 0.00 4 0.00 0.00 sigprocmask
0.00 221.13 0.00 3 0.00 0.00 arena_malloc
0.00 221.13 0.00 3 0.00 0.00 fd_safer
0.00 221.13 0.00 3 0.00 0.00 last_component
0.00 221.13 0.00 3 0.00 0.00 memcmp
0.00 221.13 0.00 3 0.00 0.00 open_and_stat
0.00 221.13 0.00 3 0.00 0.00 posix_memalign
0.00 221.13 0.00 3 0.00 0.00 strcmp
0.00 221.13 0.00 2 0.00 0.00 __getosreldate
0.00 221.13 0.00 2 0.00 0.00 _getopt_internal_r
0.00 221.13 0.00 2 0.00 0.00 _mmap
0.00 221.13 0.00 2 0.00 0.00 arena_avail_tree_insert
0.00 221.13 0.00 2 0.00 0.00 arena_avail_tree_remove
0.00 221.13 0.00 2 0.00 0.00 arena_bin_malloc_hard
0.00 221.13 0.00 2 0.00 0.00 arena_run_alloc
0.00 221.13 0.00 2 0.00 0.00 arena_run_split
0.00 221.13 0.00 2 0.00 0.00 close
0.00 221.13 0.00 2 0.00 0.00 ct_init
0.00 221.13 0.00 2 0.00 0.00 fchown
0.00 221.13 0.00 2 0.00 0.00 fdutimens
0.00 221.13 0.00 2 0.00 0.00 getenv
0.00 221.13 0.00 2 0.00 0.00 gzip_base_name
0.00 221.13 0.00 2 0.00 99.80 main
0.00 221.13 0.00 2 0.00 0.00 mmap
0.00 221.13 0.00 2 0.00 0.00 openat
0.00 221.13 0.00 2 0.00 0.00 openat_safer
0.00 221.13 0.00 2 0.00 0.00 strrchr
0.00 221.13 0.00 1 0.00 0.00 __clean_env
0.00 221.13 0.00 1 0.00 0.00 __clean_env_destructor
0.00 221.13 0.00 1 0.00 0.00 __cxa_finalize
0.00 221.13 0.00 1 0.00 0.00 __error_unthreaded
0.00 221.13 0.00 1 0.00 0.00 __guard_setup
0.00 221.13 0.00 1 0.00 0.00 __sysctl
0.00 221.13 0.00 1 0.00 0.00 _mcleanup
0.00 221.13 0.00 1 0.00 0.00 add_envopt
0.00 221.13 0.00 1 0.00 0.00 bi_init
0.00 221.13 0.00 1 0.00 0.00 clear_bufs
0.00 221.13 0.00 1 0.00 0.00 do_exit
0.00 221.13 0.00 1 0.00 0.00 exit
0.00 221.13 0.00 1 0.00 0.00 fchmod
0.00 221.13 0.00 1 0.00 0.00 fstat
0.00 221.13 0.00 1 0.00 0.00 futimes
0.00 221.13 0.00 1 0.00 0.00 get_suffix
0.00 221.13 0.00 1 0.00 0.00 lm_init
0.00 221.13 0.00 1 0.00 0.00 madvise
0.00 221.13 0.00 1 0.00 0.00 moncontrol
0.00 221.13 0.00 1 0.00 0.00 open
0.00 221.13 0.00 1 0.00 0.00 open_safer
0.00 221.13 0.00 1 0.00 0.00 profil
0.00 221.13 0.00 1 0.00 0.00 rpl_getopt_internal
0.00 221.13 0.00 1 0.00 0.00 rpl_getopt_long
0.00 221.13 0.00 1 0.00 0.00 sigemptyset
0.00 221.13 0.00 1 0.00 0.00 strcat
0.00 221.13 0.00 1 0.00 0.00 sysctl
0.00 221.13 0.00 1 0.00 198.41 zip
% the percentage of the total running time of the
time program used by this function.
cumulative a running sum of the number of seconds accounted
seconds for by this function and those listed above it.
self the number of seconds accounted for by this
seconds function alone. This is the major sort for this
listing.
calls the number of times this function was invoked, if
this function is profiled, else blank.
self the average number of milliseconds spent in this
ms/call function per call, if this function is profiled,
else blank.
total the average number of milliseconds spent in this
ms/call function and its descendents per call, if this
function is profiled, else blank.
name the name of the function. This is the minor sort
for this listing. The index shows the location of
the function in the gprof listing. If the index is
in parenthesis it shows where it would appear in
the gprof listing if it were to be printed.
Copyright (C) 2012-2014 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Call graph (explanation follows)
granularity: each sample hit covers 4 byte(s) for 0.00% of 221.13 seconds
index % time self children called name
0.00 199.59 14/14 main [2]
[1] 90.3 0.00 199.59 14 treat_file [1]
0.00 198.41 1/1 zip [4]
1.18 0.00 1/1 unlinkat [21]
0.00 0.00 3/3 open_and_stat [41]
0.00 0.00 1/196967 memset [33]
0.00 0.00 4/4 sigprocmask [51]
0.00 0.00 2/22 strlen [43]
0.00 0.00 2/5 strcpy [49]
0.00 0.00 2/2 close [63]
0.00 0.00 2/2 fdutimens [65]
0.00 0.00 2/2 fchown [64]
0.00 0.00 2/3 last_component [54]
0.00 0.00 2/3 memcmp [55]
0.00 0.00 1/3 strcmp [57]
0.00 0.00 1/1 clear_bufs [74]
0.00 0.00 1/1 get_suffix [80]
0.00 0.00 1/1 fchmod [77]
0.00 0.00 1/1 strcat [89]
0.00 0.00 1/2 openat_safer [70]
0.00 0.00 1/1 __error_unthreaded [788]
-----------------------------------------------
0.00 199.59 2/2 eprol [3]
[2] 90.3 0.00 199.59 2 main [2]
0.00 199.59 14/14 treat_file [1]
0.00 0.00 12/14 sigaction [44]
0.00 0.00 6/6 sigaddset [47]
0.00 0.00 6/6 sigismember [48]
0.00 0.00 1/2 gzip_base_name [67]
0.00 0.00 1/22 strlen [43]
0.00 0.00 1/1 add_envopt [72]
0.00 0.00 1/1 rpl_getopt_long [87]
0.00 0.00 1/1 sigemptyset [88]
0.00 0.00 1/1 do_exit [75]
-----------------------------------------------
<spontaneous>
[3] 90.3 0.00 199.59 eprol [3]
0.00 199.59 2/2 main [2]
-----------------------------------------------
0.00 198.41 1/1 treat_file [1]
[4] 89.7 0.00 198.41 1 zip [4]
61.39 137.02 1/1 deflate [5]
0.00 0.00 2/65768 flush_block [7]
0.00 0.00 1/1 lm_init [38]
0.00 0.00 1/32768 updcrc [13]
0.00 0.00 1/65547 flush_outbuf [16]
0.00 0.00 2/2 ct_init [40]
0.00 0.00 1/1 bi_init [73]
0.00 0.00 1/2 gzip_base_name [67]
-----------------------------------------------
61.39 137.02 1/1 zip [4]
[5] 89.7 61.39 137.02 1 deflate [5]
65.38 0.00 675412146/675412146 longest_match [6]
0.04 26.82 65766/65768 flush_block [7]
24.43 0.00 1073198323/1073198323 ct_tally [8]
1.31 19.04 32767/32767 fill_window [10]
-----------------------------------------------
65.38 0.00 675412146/675412146 deflate [5]
[6] 29.6 65.38 0.00 675412146 longest_match [6]
-----------------------------------------------
0.00 0.00 2/65768 zip [4]
0.04 26.82 65766/65768 deflate [5]
[7] 12.1 0.04 26.82 65768 flush_block [7]
13.66 3.15 32491/32491 copy_block [12]
1.67 7.80 294777/294777 build_tree [14]
0.12 0.18 262/262 compress_block [24]
0.17 0.00 65506/65506 scan_tree [26]
0.06 0.00 32753/32754 init_block [27]
0.00 0.00 524/524 send_tree [36]
0.00 0.00 38195/8653821 send_bits [25]
0.00 0.00 1/32492 bi_windup [34]
-----------------------------------------------
24.43 0.00 1073198323/1073198323 deflate [5]
[8] 11.0 24.43 0.00 1073198323 ct_tally [8]
-----------------------------------------------
<spontaneous>
[9] 9.7 21.40 0.00 .mcount [9]
-----------------------------------------------
1.31 19.04 32767/32767 deflate [5]
[10] 9.2 1.31 19.04 32767 fill_window [10]
0.02 18.66 32767/32768 file_read [11]
0.36 0.00 32767/32768 memcpy [23]
-----------------------------------------------
0.00 0.00 1/32768 lm_init [38]
0.02 18.66 32767/32768 fill_window [10]
[11] 8.4 0.02 18.66 32768 file_read [11]
16.65 0.00 32767/32768 updcrc [13]
0.01 2.00 32768/32768 read_buffer [19]
-----------------------------------------------
13.66 3.15 32491/32491 flush_block [7]
[12] 7.6 13.66 3.15 32491 copy_block [12]
0.01 3.13 65020/65547 flush_outbuf [16]
0.01 0.00 32491/32492 bi_windup [34]
-----------------------------------------------
0.00 0.00 1/32768 zip [4]
16.65 0.00 32767/32768 file_read [11]
[13] 7.5 16.65 0.00 32768 updcrc [13]
-----------------------------------------------
1.67 7.80 294777/294777 flush_block [7]
[14] 4.3 1.67 7.80 294777 build_tree [14]
7.42 0.00 22015257/22015257 pqdownheap [15]
0.38 0.00 8892257/8892575 bi_reverse [22]
-----------------------------------------------
7.42 0.00 22015257/22015257 build_tree [14]
[15] 3.4 7.42 0.00 22015257 pqdownheap [15]
-----------------------------------------------
0.00 0.00 1/65547 bi_windup [34]
0.00 0.00 1/65547 zip [4]
0.00 0.03 525/65547 send_bits [25]
0.01 3.13 65020/65547 copy_block [12]
[16] 1.4 0.01 3.16 65547 flush_outbuf [16]
0.01 3.15 131094/131094 write_buf [17]
-----------------------------------------------
0.01 3.15 131094/131094 flush_outbuf [16]
[17] 1.4 0.01 3.15 131094 write_buf [17]
3.15 0.00 65547/65547 write [18]
-----------------------------------------------
3.15 0.00 65547/65547 write_buf [17]
[18] 1.4 3.15 0.00 65547 write [18]
-----------------------------------------------
0.01 2.00 32768/32768 file_read [11]
[19] 0.9 0.01 2.00 32768 read_buffer [19]
2.00 0.00 32768/32768 read [20]
-----------------------------------------------
2.00 0.00 32768/32768 read_buffer [19]
[20] 0.9 2.00 0.00 32768 read [20]
-----------------------------------------------
1.18 0.00 1/1 treat_file [1]
[21] 0.5 1.18 0.00 1 unlinkat [21]
-----------------------------------------------
0.00 0.00 318/8892575 ct_init [40]
0.38 0.00 8892257/8892575 build_tree [14]
[22] 0.2 0.38 0.00 8892575 bi_reverse [22]
-----------------------------------------------
0.00 0.00 1/32768 open_and_stat [41]
0.36 0.00 32767/32768 fill_window [10]
[23] 0.2 0.36 0.00 32768 memcpy [23]
-----------------------------------------------
0.12 0.18 262/262 flush_block [7]
[24] 0.1 0.12 0.18 262 compress_block [24]
0.16 0.03 8589384/8653821 send_bits [25]
-----------------------------------------------
0.00 0.00 26242/8653821 send_tree [36]
0.00 0.00 38195/8653821 flush_block [7]
0.16 0.03 8589384/8653821 compress_block [24]
[25] 0.1 0.16 0.03 8653821 send_bits [25]
0.00 0.03 525/65547 flush_outbuf [16]
-----------------------------------------------
0.17 0.00 65506/65506 flush_block [7]
[26] 0.1 0.17 0.00 65506 scan_tree [26]
-----------------------------------------------
0.00 0.00 1/32754 ct_init [40]
0.06 0.00 32753/32754 flush_block [7]
[27] 0.0 0.06 0.00 32754 init_block [27]
-----------------------------------------------
<spontaneous>
[28] 0.0 0.05 0.00 __internal_register(safecode::DebugPoolTy*, void*, unsigned int, unsigned int, char const*, unsigned int) [28]
0.00 0.00 98635/196967 memset [33]
-----------------------------------------------
<spontaneous>
[29] 0.0 0.02 0.00 __sc_bb_poolunregister_stack_debug [29]
0.00 0.00 98272/196967 memset [33]
-----------------------------------------------
<spontaneous>
[30] 0.0 0.02 0.00 L1 [30]
-----------------------------------------------
<spontaneous>
[31] 0.0 0.02 0.00 pool_register_stack_debug [31]
-----------------------------------------------
<spontaneous>
[32] 0.0 0.01 0.00 __sc_bb_src_poolregister_stack [32]
-----------------------------------------------
0.00 0.00 1/196967 lm_init [38]
0.00 0.00 1/196967 treat_file [1]
0.00 0.00 58/196967 ct_init [40]
0.00 0.00 98272/196967 __sc_bb_poolunregister_stack_debug [29]
0.00 0.00 98635/196967 __internal_register(safecode::DebugPoolTy*, void*, unsigned int, unsigned int, char const*, unsigned int) [28]
[33] 0.0 0.01 0.00 196967 memset [33]
-----------------------------------------------
0.00 0.00 1/32492 flush_block [7]
0.01 0.00 32491/32492 copy_block [12]
[34] 0.0 0.01 0.00 32492 bi_windup [34]
0.00 0.00 1/65547 flush_outbuf [16]
-----------------------------------------------
<spontaneous>
[35] 0.0 0.01 0.00 pool_unregister_stack_debug [35]
-----------------------------------------------
0.00 0.00 524/524 flush_block [7]
[36] 0.0 0.00 0.00 524 send_tree [36]
0.00 0.00 26242/8653821 send_bits [25]
-----------------------------------------------
<spontaneous>
[37] 0.0 0.00 0.00 pool_unregister_debug [37]
-----------------------------------------------
0.00 0.00 1/1 zip [4]
[38] 0.0 0.00 0.00 1 lm_init [38]
0.00 0.00 1/32768 file_read [11]
0.00 0.00 1/196967 memset [33]
-----------------------------------------------
<spontaneous>
[39] 0.0 0.00 0.00 __sc_bb_poolregister_stack [39]
-----------------------------------------------
0.00 0.00 2/2 zip [4]
[40] 0.0 0.00 0.00 2 ct_init [40]
0.00 0.00 318/8892575 bi_reverse [22]
0.00 0.00 1/32754 init_block [27]
0.00 0.00 58/196967 memset [33]
-----------------------------------------------
0.00 0.00 3/3 treat_file [1]
[41] 0.0 0.00 0.00 3 open_and_stat [41]
0.00 0.00 1/32768 memcpy [23]
0.00 0.00 1/3 last_component [54]
0.00 0.00 1/3 memcmp [55]
0.00 0.00 1/1 open_safer [84]
0.00 0.00 1/2 openat_safer [70]
0.00 0.00 1/1 fstat [78]
-----------------------------------------------
0.00 0.00 48/48 getenv [66]
[42] 0.0 0.00 0.00 48 strncmp [42]
-----------------------------------------------
0.00 0.00 1/22 main [2]
0.00 0.00 2/22 treat_file [1]
0.00 0.00 2/22 __sc_bb_poolargvregister [1460]
0.00 0.00 17/22 get_suffix [80]
[43] 0.0 0.00 0.00 22 strlen [43]
-----------------------------------------------
0.00 0.00 2/14 pool_init_runtime [496]
0.00 0.00 12/14 main [2]
[44] 0.0 0.00 0.00 14 sigaction [44]
-----------------------------------------------
0.00 0.00 8/8 __cxa_atexit [780]
[45] 0.0 0.00 0.00 8 atexit_register [45]
-----------------------------------------------
0.00 0.00 7/7 get_suffix [80]
[46] 0.0 0.00 0.00 7 strlwr [46]
-----------------------------------------------
0.00 0.00 6/6 main [2]
[47] 0.0 0.00 0.00 6 sigaddset [47]
-----------------------------------------------
0.00 0.00 6/6 main [2]
[48] 0.0 0.00 0.00 6 sigismember [48]
-----------------------------------------------
0.00 0.00 1/5 get_suffix [80]
0.00 0.00 2/5 treat_file [1]
0.00 0.00 2/5 __sc_bb_poolargvregister [1460]
[49] 0.0 0.00 0.00 5 strcpy [49]
-----------------------------------------------
0.00 0.00 1/4 do_exit [75]
0.00 0.00 1/4 llvm::DenseMap<void*, char const*, llvm::DenseMapInfo<void*>, llvm::detail::DenseMapPair<void*, char const*> >::~DenseMap() [949]
0.00 0.00 1/4 llvm::DenseMap<void*, unsigned int, llvm::DenseMapInfo<void*>, llvm::detail::DenseMapPair<void*, unsigned int> >::~DenseMap() [963]
0.00 0.00 1/4 llvm::DenseMap<void*, std::pair<void*, void*>, llvm::DenseMapInfo<void*>, llvm::detail::DenseMapPair<void*, std::pair<void*, void*> > >::~DenseMap() [956]
[50] 0.0 0.00 0.00 4 free [50]
-----------------------------------------------
0.00 0.00 4/4 treat_file [1]
[51] 0.0 0.00 0.00 4 sigprocmask [51]
-----------------------------------------------
0.00 0.00 3/3 posix_memalign [56]
[52] 0.0 0.00 0.00 3 arena_malloc [52]
0.00 0.00 2/2 arena_bin_malloc_hard [60]
-----------------------------------------------
0.00 0.00 1/3 open_safer [84]
0.00 0.00 2/3 openat_safer [70]
[53] 0.0 0.00 0.00 3 fd_safer [53]
-----------------------------------------------
0.00 0.00 1/3 open_and_stat [41]
0.00 0.00 2/3 treat_file [1]
[54] 0.0 0.00 0.00 3 last_component [54]
-----------------------------------------------
0.00 0.00 1/3 open_and_stat [41]
0.00 0.00 2/3 treat_file [1]
[55] 0.0 0.00 0.00 3 memcmp [55]
-----------------------------------------------
0.00 0.00 3/3 __sc_bb_src_poolalloc [1474]
[56] 0.0 0.00 0.00 3 posix_memalign [56]
0.00 0.00 3/3 arena_malloc [52]
-----------------------------------------------
0.00 0.00 1/3 treat_file [1]
0.00 0.00 2/3 get_suffix [80]
[57] 0.0 0.00 0.00 3 strcmp [57]
-----------------------------------------------
0.00 0.00 2/2 arena_run_split [62]
[58] 0.0 0.00 0.00 2 arena_avail_tree_insert [58]
-----------------------------------------------
0.00 0.00 2/2 arena_run_split [62]
[59] 0.0 0.00 0.00 2 arena_avail_tree_remove [59]
-----------------------------------------------
0.00 0.00 2/2 arena_malloc [52]
[60] 0.0 0.00 0.00 2 arena_bin_malloc_hard [60]
0.00 0.00 2/2 arena_run_alloc [61]
-----------------------------------------------
0.00 0.00 2/2 arena_bin_malloc_hard [60]
[61] 0.0 0.00 0.00 2 arena_run_alloc [61]
0.00 0.00 2/2 arena_run_split [62]
-----------------------------------------------
0.00 0.00 2/2 arena_run_alloc [61]
[62] 0.0 0.00 0.00 2 arena_run_split [62]
0.00 0.00 2/2 arena_avail_tree_remove [59]
0.00 0.00 2/2 arena_avail_tree_insert [58]
-----------------------------------------------
0.00 0.00 2/2 treat_file [1]
[63] 0.0 0.00 0.00 2 close [63]
-----------------------------------------------
0.00 0.00 2/2 treat_file [1]
[64] 0.0 0.00 0.00 2 fchown [64]
-----------------------------------------------
0.00 0.00 2/2 treat_file [1]
[65] 0.0 0.00 0.00 2 fdutimens [65]
0.00 0.00 1/1 futimes [79]
-----------------------------------------------
0.00 0.00 2/2 __sc_bb_getenv [1456]
[66] 0.0 0.00 0.00 2 getenv [66]
0.00 0.00 48/48 strncmp [42]
-----------------------------------------------
0.00 0.00 1/2 main [2]
0.00 0.00 1/2 zip [4]
[67] 0.0 0.00 0.00 2 gzip_base_name [67]
0.00 0.00 2/2 strrchr [71]
-----------------------------------------------
0.00 0.00 2/2 pool_init_runtime [496]
[68] 0.0 0.00 0.00 2 mmap [68]
0.00 0.00 2/2 __getosreldate [782]
-----------------------------------------------
0.00 0.00 2/2 openat_safer [70]
[69] 0.0 0.00 0.00 2 openat [69]
-----------------------------------------------
0.00 0.00 1/2 treat_file [1]
0.00 0.00 1/2 open_and_stat [41]
[70] 0.0 0.00 0.00 2 openat_safer [70]
0.00 0.00 2/2 openat [69]
0.00 0.00 2/3 fd_safer [53]
-----------------------------------------------
0.00 0.00 2/2 gzip_base_name [67]
[71] 0.0 0.00 0.00 2 strrchr [71]
-----------------------------------------------
0.00 0.00 1/1 main [2]
[72] 0.0 0.00 0.00 1 add_envopt [72]
-----------------------------------------------
0.00 0.00 1/1 zip [4]
[73] 0.0 0.00 0.00 1 bi_init [73]
-----------------------------------------------
0.00 0.00 1/1 treat_file [1]
[74] 0.0 0.00 0.00 1 clear_bufs [74]
-----------------------------------------------
0.00 0.00 1/1 main [2]
[75] 0.0 0.00 0.00 1 do_exit [75]
0.00 0.00 1/4 free [50]
0.00 0.00 1/1 exit [76]
-----------------------------------------------
0.00 0.00 1/1 do_exit [75]
[76] 0.0 0.00 0.00 1 exit [76]
0.00 0.00 1/1 __cxa_finalize [787]
-----------------------------------------------
0.00 0.00 1/1 treat_file [1]
[77] 0.0 0.00 0.00 1 fchmod [77]
-----------------------------------------------
0.00 0.00 1/1 open_and_stat [41]
[78] 0.0 0.00 0.00 1 fstat [78]
-----------------------------------------------
0.00 0.00 1/1 fdutimens [65]
[79] 0.0 0.00 0.00 1 futimes [79]
-----------------------------------------------
0.00 0.00 1/1 treat_file [1]
[80] 0.0 0.00 0.00 1 get_suffix [80]
0.00 0.00 17/22 strlen [43]
0.00 0.00 7/7 strlwr [46]
0.00 0.00 2/3 strcmp [57]
0.00 0.00 1/5 strcpy [49]
-----------------------------------------------
0.00 0.00 1/1 pool_init_runtime [496]
[81] 0.0 0.00 0.00 1 madvise [81]
-----------------------------------------------
0.00 0.00 1/1 _mcleanup [791]
[82] 0.0 0.00 0.00 1 moncontrol [82]
0.00 0.00 1/1 profil [85]
-----------------------------------------------
0.00 0.00 1/1 open_safer [84]
[83] 0.0 0.00 0.00 1 open [83]
-----------------------------------------------
0.00 0.00 1/1 open_and_stat [41]
[84] 0.0 0.00 0.00 1 open_safer [84]
0.00 0.00 1/1 open [83]
0.00 0.00 1/3 fd_safer [53]
-----------------------------------------------
0.00 0.00 1/1 moncontrol [82]
[85] 0.0 0.00 0.00 1 profil [85]
-----------------------------------------------
0.00 0.00 1/1 rpl_getopt_long [87]
[86] 0.0 0.00 0.00 1 rpl_getopt_internal [86]
0.00 0.00 2/2 _getopt_internal_r [783]
-----------------------------------------------
0.00 0.00 1/1 main [2]
[87] 0.0 0.00 0.00 1 rpl_getopt_long [87]
0.00 0.00 1/1 rpl_getopt_internal [86]
-----------------------------------------------
0.00 0.00 1/1 main [2]
[88] 0.0 0.00 0.00 1 sigemptyset [88]
-----------------------------------------------
0.00 0.00 1/1 treat_file [1]
[89] 0.0 0.00 0.00 1 strcat [89]
-----------------------------------------------
0.00 0.00 1/1 _mcleanup [791]
[90] 0.0 0.00 0.00 1 sysctl [90]
-----------------------------------------------
0.00 0.00 1/8 __static_initialization_and_destruction_0(int, int) [830]
0.00 0.00 1/8 __static_initialization_and_destruction_0(int, int) [829]
0.00 0.00 1/8 __static_initialization_and_destruction_0(int, int) [828]
0.00 0.00 5/8 __static_initialization_and_destruction_0(int, int) [827]
[780] 0.0 0.00 0.00 8 __cxa_atexit [780]
0.00 0.00 8/8 atexit_register [45]
-----------------------------------------------
0.00 0.00 6/6 fflush [269]
[781] 0.0 0.00 0.00 6 __sflush [781]
-----------------------------------------------
0.00 0.00 2/2 mmap [68]
[782] 0.0 0.00 0.00 2 __getosreldate [782]
-----------------------------------------------
0.00 0.00 2/2 rpl_getopt_internal [86]
[783] 0.0 0.00 0.00 2 _getopt_internal_r [783]
-----------------------------------------------
0.00 0.00 2/2 pool_init_runtime [496]
[784] 0.0 0.00 0.00 2 _mmap [784]
-----------------------------------------------
0.00 0.00 1/1 __do_global_dtors_aux [1352]
[785] 0.0 0.00 0.00 1 __clean_env [785]
-----------------------------------------------
0.00 0.00 1/1 __do_global_dtors_aux [1352]
[786] 0.0 0.00 0.00 1 __clean_env_destructor [786]
-----------------------------------------------
0.00 0.00 1/1 exit [76]
[787] 0.0 0.00 0.00 1 __cxa_finalize [787]
0.00 0.00 1/1 _mcleanup [791]
-----------------------------------------------
0.00 0.00 1/1 treat_file [1]
[788] 0.0 0.00 0.00 1 __error_unthreaded [788]
-----------------------------------------------
0.00 0.00 1/1 __do_global_ctors_aux [1351]
[789] 0.0 0.00 0.00 1 __guard_setup [789]
-----------------------------------------------
0.00 0.00 1/1 _mcleanup [791]
[790] 0.0 0.00 0.00 1 __sysctl [790]
-----------------------------------------------
0.00 0.00 1/1 __cxa_finalize [787]
[791] 0.0 0.00 0.00 1 _mcleanup [791]
0.00 0.00 1/1 __sysctl [790]
0.00 0.00 1/1 sysctl [90]
0.00 0.00 1/1 moncontrol [82]
-----------------------------------------------
This table describes the call tree of the program, and was sorted by
the total amount of time spent in each function and its children.
Each entry in this table consists of several lines. The line with the
index number at the left hand margin lists the current function.
The lines above it list the functions that called this function,
and the lines below it list the functions this one called.
This line lists:
index A unique number given to each element of the table.
Index numbers are sorted numerically.
The index number is printed next to every function name so
it is easier to look up where the function is in the table.
% time This is the percentage of the `total' time that was spent
in this function and its children. Note that due to
different viewpoints, functions excluded by options, etc,
these numbers will NOT add up to 100%.
self This is the total amount of time spent in this function.
children This is the total amount of time propagated into this
function by its children.
called This is the number of times the function was called.
If the function called itself recursively, the number
only includes non-recursive calls, and is followed by
a `+' and the number of recursive calls.
name The name of the current function. The index number is
printed after it. If the function is a member of a
cycle, the cycle number is printed between the
function's name and the index number.
For the function's parents, the fields have the following meanings:
self This is the amount of time that was propagated directly
from the function into this parent.
children This is the amount of time that was propagated from
the function's children into this parent.
called This is the number of times this parent called the
function `/' the total number of times the function
was called. Recursive calls to the function are not
included in the number after the `/'.
name This is the name of the parent. The parent's index
number is printed after it. If the parent is a
member of a cycle, the cycle number is printed between
the name and the index number.
If the parents of the function cannot be determined, the word
`<spontaneous>' is printed in the `name' field, and all the other
fields are blank.
For the function's children, the fields have the following meanings:
self This is the amount of time that was propagated directly
from the child into the function.
children This is the amount of time that was propagated from the
child's children to the function.
called This is the number of times the function called
this child `/' the total number of times the child
was called. Recursive calls by the child are not
listed in the number after the `/'.
name This is the name of the child. The child's index
number is printed after it. If the child is a
member of a cycle, the cycle number is printed
between the name and the index number.
If there are any cycles (circles) in the call graph, there is an
entry for the cycle-as-a-whole. This entry shows who called the
cycle (as parents) and the members of the cycle (as children.)
The `+' recursive calls entry shows the number of function calls that
were internal to the cycle, and the calls entry for each member shows,
for that member, how many times it was called from other members of
the cycle.
Copyright (C) 2012-2014 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Index by function name
[9] .mcount [40] ct_init [70] openat_safer
[30] L1 [8] ct_tally [31] pool_register_stack_debug
[28] __internal_register(safecode::DebugPoolTy*, void*, unsigned int, unsigned int, char const*, unsigned int) (BaggyBoundsCheck.cpp) [5] deflate [37] pool_unregister_debug
[785] __clean_env [75] do_exit [35] pool_unregister_stack_debug
[786] __clean_env_destructor [76] exit [56] posix_memalign
[780] __cxa_atexit [77] fchmod [15] pqdownheap
[787] __cxa_finalize [64] fchown [85] profil
[788] __error_unthreaded [53] fd_safer [20] read
[782] __getosreldate [65] fdutimens [19] read_buffer
[789] __guard_setup [11] file_read [86] rpl_getopt_internal
[39] __sc_bb_poolregister_stack [10] fill_window [87] rpl_getopt_long
[29] __sc_bb_poolunregister_stack_debug [7] flush_block [26] scan_tree
[32] __sc_bb_src_poolregister_stack [16] flush_outbuf [25] send_bits
[781] __sflush [50] free [36] send_tree
[790] __sysctl [78] fstat [44] sigaction
[783] _getopt_internal_r [79] futimes [47] sigaddset
[791] _mcleanup [80] get_suffix [88] sigemptyset
[784] _mmap [66] getenv [48] sigismember
[72] add_envopt [67] gzip_base_name [51] sigprocmask
[58] arena_avail_tree_insert [27] init_block [89] strcat
[59] arena_avail_tree_remove [54] last_component [57] strcmp
[60] arena_bin_malloc_hard [38] lm_init [49] strcpy
[52] arena_malloc [6] longest_match [43] strlen
[61] arena_run_alloc [81] madvise [46] strlwr
[62] arena_run_split [2] main [42] strncmp
[45] atexit_register [55] memcmp [71] strrchr
[73] bi_init [23] memcpy [90] sysctl
[22] bi_reverse [33] memset [1] treat_file
[34] bi_windup [68] mmap [21] unlinkat
[14] build_tree [82] moncontrol [13] updcrc
[74] clear_bufs [83] open [18] write
[63] close [41] open_and_stat [17] write_buf
[24] compress_block [84] open_safer [4] zip
[12] copy_block [69] openat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment