Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls s/call s/call name 29.57 32.84 32.84 sendfile 11.63 45.76 12.92 open 7.14 53.69 7.93 read 6.82 61.26 7.57 setsockopt 6.50 68.48 7.22 write 6.17 75.33 6.85 __mcount_internal 6.01 82.00 6.67 close 3.78 86.20 4.20 select 2.76 89.27 3.07 298070 0.00 0.00 parse_bytes 2.76 92.33 3.06 vfprintf 1.70 94.22 1.89 accept 1.69 96.10 1.88 319159 0.00 0.00 socket_readable 1.67 97.96 1.86 mcount 1.41 99.53 1.57 _fxstat 1.10 100.75 1.22 7435012 0.00 0.00 event_set_is_set 0.95 101.81 1.06 372328 0.00 0.00 do_sendfile 0.59 102.47 0.66 372328 0.00 0.00 socket_writable 0.59 103.12 0.65 3861 0.00 0.00 process_sds 0.59 103.77 0.65 _IO_default_xsputn 0.48 104.30 0.53 894507 0.00 0.00 lru_access 0.43 104.78 0.48 xstat32_conv 0.42 105.25 0.47 3345178 0.00 0.00 event_set_is_readable_or_writable 0.39 105.68 0.43 _IO_str_init_static 0.37 106.09 0.41 fcntl 0.35 106.48 0.39 1 0.39 12.98 select_loop 0.30 106.81 0.33 617230 0.00 0.00 interest_set_add 0.29 107.13 0.32 820248 0.00 0.00 interest_set_del 0.29 107.45 0.32 __ctype_b_loc 0.27 107.75 0.30 3457232 0.00 0.00 conns_off_if_needed 0.25 108.03 0.28 4038402 0.00 0.00 event_set_is_readable 0.21 108.26 0.23 mempcpy 0.20 108.48 0.22 693224 0.00 0.00 do_sd 0.19 108.69 0.21 3396610 0.00 0.00 event_set_is_writable 0.19 108.90 0.21 1 0.21 0.21 init_info 0.19 109.11 0.21 _IO_no_init 0.18 109.31 0.20 372328 0.00 0.00 do_writable 0.18 109.51 0.20 112054 0.00 0.00 do_close 0.14 109.66 0.15 1325719 0.00 0.00 set_fsm_state 0.14 109.81 0.15 vsprintf 0.12 109.94 0.13 __errno_location 0.12 110.07 0.13 sprintf 0.11 110.19 0.12 372328 0.00 0.00 send_reply 0.09 110.29 0.10 410124 0.00 0.00 interest_set_del_readable 0.09 110.39 0.10 113791 0.00 0.00 socket_new_conn 0.09 110.49 0.10 112054 0.00 0.00 socket_setup 0.09 110.59 0.10 _IO_setb 0.07 110.67 0.08 112054 0.00 0.00 interest_set_done 0.06 110.74 0.07 298070 0.00 0.00 close_file 0.05 110.80 0.06 298070 0.00 0.00 interest_set_add_writable 0.05 110.86 0.06 112054 0.00 0.00 close_sock 0.05 110.91 0.05 410124 0.00 0.00 interest_set_del_writable 0.05 110.96 0.05 320896 0.00 0.00 do_readable 0.04 111.00 0.04 319160 0.00 0.00 interest_set_add_readable 0.02 111.02 0.02 fork 0.01 111.03 0.01 112054 0.00 0.00 should_enable_new_conns 0.01 111.04 0.01 1 0.01 0.01 lru_init 0.01 111.05 0.01 gettimeofday 0.00 111.05 0.00 1737 0.00 0.00 do_new_connections 0.00 111.05 0.00 1737 0.00 0.00 process_accept_errs 0.00 111.05 0.00 1737 0.00 0.00 repeat_accept 0.00 111.05 0.00 10 0.00 0.00 get_index 0.00 111.05 0.00 10 0.00 0.00 get_nth_value 0.00 111.05 0.00 10 0.00 0.00 read_value 0.00 111.05 0.00 8 0.00 0.00 do_proc_info 0.00 111.05 0.00 4 0.00 0.00 interest_set_init 0.00 111.05 0.00 4 0.00 0.00 malloc_fd_set 0.00 111.05 0.00 3 0.00 0.00 print_mask 0.00 111.05 0.00 1 0.00 0.00 adjust_connections 0.00 111.05 0.00 1 0.00 0.00 cacheClear 0.00 111.05 0.00 1 0.00 0.00 cache_cleanup 0.00 111.05 0.00 1 0.00 0.00 fork_servers 0.00 111.05 0.00 1 0.00 0.00 init_print_time 0.00 111.05 0.00 1 0.00 0.00 install_sig_handlers 0.00 111.05 0.00 1 0.00 0.00 intr_print_info 0.00 111.05 0.00 1 0.00 13.20 main 0.00 111.05 0.00 1 0.00 0.00 netstat_init 0.00 111.05 0.00 1 0.00 0.00 netstat_print 0.00 111.05 0.00 1 0.00 0.00 options_print 0.00 111.05 0.00 1 0.00 0.00 options_set 0.00 111.05 0.00 1 0.00 0.00 options_valid 0.00 111.05 0.00 1 0.00 0.00 print 0.00 111.05 0.00 1 0.00 0.00 print_all 0.00 111.05 0.00 1 0.00 0.00 print_cur_mask 0.00 111.05 0.00 1 0.00 0.00 print_extra_info 0.00 111.05 0.00 1 0.00 0.00 print_syscall_info 0.00 111.05 0.00 1 0.00 0.00 process_args 0.00 111.05 0.00 1 0.00 0.00 rusage_init 0.00 111.05 0.00 1 0.00 0.00 rusage_print 0.00 111.05 0.00 1 0.00 0.00 select_loop_init 0.00 111.05 0.00 1 0.00 0.01 server_init 0.00 111.05 0.00 1 0.00 0.00 sig_kill_handler 0.00 111.05 0.00 1 0.00 0.00 stats_print 0.00 111.05 0.00 1 0.00 0.00 stats_print_accept 0.00 111.05 0.00 1 0.00 0.00 stats_print_cache 0.00 111.05 0.00 1 0.00 0.00 stats_print_close 0.00 111.05 0.00 1 0.00 0.00 stats_print_conns_on_off 0.00 111.05 0.00 1 0.00 0.00 stats_print_netstats 0.00 111.05 0.00 1 0.00 0.00 stats_print_poll 0.00 111.05 0.00 1 0.00 0.00 stats_print_read 0.00 111.05 0.00 1 0.00 0.00 stats_print_rusage 0.00 111.05 0.00 1 0.00 0.00 stats_print_select 0.00 111.05 0.00 1 0.00 0.00 stats_print_send 0.00 111.05 0.00 1 0.00 0.00 stats_print_signals 0.00 111.05 0.00 1 0.00 0.00 stats_print_write % 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. Call graph (explanation follows) granularity: each sample hit covers 4 byte(s) for 0.01% of 102.34 seconds index % time self children called name [1] 32.1 32.84 0.00 sendfile [1] ----------------------------------------------- 0.00 13.20 1/1 __libc_start_main [3] [2] 12.9 0.00 13.20 1 main [2] 0.39 12.59 1/1 select_loop [4] 0.21 0.00 1/1 init_info [43] 0.00 0.01 1/1 server_init [59] 0.00 0.00 1/319160 interest_set_add_readable [41] 0.00 0.00 1/894507 lru_access [24] 0.00 0.00 1/1 options_set [79] 0.00 0.00 1/1 init_print_time [73] 0.00 0.00 1/1 process_args [86] 0.00 0.00 1/1 options_valid [80] 0.00 0.00 1/1 print_extra_info [84] 0.00 0.00 1/1 options_print [78] 0.00 0.00 1/1 netstat_init [76] 0.00 0.00 1/1 rusage_init [87] 0.00 0.00 1/1 install_sig_handlers [74] 0.00 0.00 1/1 fork_servers [72] 0.00 0.00 1/1 select_loop_init [89] ----------------------------------------------- [3] 12.9 0.00 13.20 __libc_start_main [3] 0.00 13.20 1/1 main [2] ----------------------------------------------- 0.39 12.59 1/1 main [2] [4] 12.7 0.39 12.59 1 select_loop [4] 0.65 11.94 3861/3861 process_sds [6] ----------------------------------------------- [5] 12.6 12.92 0.00 open [5] ----------------------------------------------- 0.65 11.94 3861/3861 select_loop [4] [6] 12.3 0.65 11.94 3861 process_sds [6] 1.88 3.78 319159/319159 socket_readable [11] 0.66 1.83 372328/372328 socket_writable [15] 0.47 1.46 3345178/3345178 event_set_is_readable_or_writable [16] 0.22 0.25 693224/693224 do_sd [27] 0.00 0.44 1737/1737 do_new_connections [28] 0.16 0.25 90965/112054 do_close [25] 0.29 0.00 3345178/3457232 conns_off_if_needed [37] 0.20 0.00 372328/372328 do_writable [45] 0.05 0.00 320896/320896 do_readable [55] ----------------------------------------------- [7] 7.7 7.93 0.00 read [7] ----------------------------------------------- [8] 7.4 7.57 0.00 setsockopt [8] ----------------------------------------------- [9] 7.1 7.22 0.00 write [9] ----------------------------------------------- [10] 6.5 6.67 0.00 close [10] ----------------------------------------------- 1.88 3.78 319159/319159 process_sds [6] [11] 5.5 1.88 3.78 319159 socket_readable [11] 3.07 0.00 298070/298070 parse_bytes [13] 0.06 0.16 298070/298070 interest_set_add_writable [40] 0.07 0.12 298070/410124 interest_set_del_readable [38] 0.18 0.00 298070/894507 lru_access [24] 0.04 0.06 21089/112054 do_close [25] 0.03 0.00 298070/1325719 set_fsm_state [47] ----------------------------------------------- [12] 4.1 4.20 0.00 select [12] ----------------------------------------------- 3.07 0.00 298070/298070 socket_readable [11] [13] 3.0 3.07 0.00 298070 parse_bytes [13] ----------------------------------------------- [14] 3.0 3.06 0.00 vfprintf [14] ----------------------------------------------- 0.66 1.83 372328/372328 process_sds [6] [15] 2.4 0.66 1.83 372328 socket_writable [15] 1.06 0.00 372328/372328 do_sendfile [20] 0.22 0.00 372328/894507 lru_access [24] 0.12 0.04 372328/372328 send_reply [46] 0.04 0.12 298070/410124 interest_set_del_writable [42] 0.03 0.11 207105/319160 interest_set_add_readable [41] 0.07 0.00 298070/298070 close_file [53] 0.02 0.00 207105/1325719 set_fsm_state [47] ----------------------------------------------- 0.47 1.46 3345178/3345178 process_sds [6] [16] 1.9 0.47 1.46 3345178 event_set_is_readable_or_writable [16] 0.23 0.55 3345178/4038402 event_set_is_readable [21] 0.19 0.50 3024282/3396610 event_set_is_writable [22] ----------------------------------------------- [17] 1.8 1.89 0.00 accept [17] ----------------------------------------------- [18] 1.5 1.57 0.00 _fxstat [18] ----------------------------------------------- 0.56 0.00 3396610/7435012 event_set_is_writable [22] 0.66 0.00 4038402/7435012 event_set_is_readable [21] [19] 1.2 1.22 0.00 7435012 event_set_is_set [19] ----------------------------------------------- 1.06 0.00 372328/372328 socket_writable [15] [20] 1.0 1.06 0.00 372328 do_sendfile [20] ----------------------------------------------- 0.05 0.11 693224/4038402 do_sd [27] 0.23 0.55 3345178/4038402 event_set_is_readable_or_writable [16] [21] 0.9 0.28 0.66 4038402 event_set_is_readable [21] 0.66 0.00 4038402/7435012 event_set_is_set [19] ----------------------------------------------- 0.02 0.06 372328/3396610 do_sd [27] 0.19 0.50 3024282/3396610 event_set_is_readable_or_writable [16] [22] 0.7 0.21 0.56 3396610 event_set_is_writable [22] 0.56 0.00 3396610/7435012 event_set_is_set [19] ----------------------------------------------- [23] 0.6 0.65 0.00 _IO_default_xsputn [23] ----------------------------------------------- 0.00 0.00 1/894507 main [2] 0.13 0.00 224108/894507 socket_setup [33] 0.18 0.00 298070/894507 socket_readable [11] 0.22 0.00 372328/894507 socket_writable [15] [24] 0.5 0.53 0.00 894507 lru_access [24] ----------------------------------------------- 0.04 0.06 21089/112054 socket_readable [11] 0.16 0.25 90965/112054 process_sds [6] [25] 0.5 0.20 0.30 112054 do_close [25] 0.08 0.00 112054/112054 interest_set_done [52] 0.03 0.04 112054/410124 interest_set_del_readable [38] 0.06 0.00 112054/112054 close_sock [54] 0.01 0.04 112054/410124 interest_set_del_writable [42] 0.03 0.00 224108/1325719 set_fsm_state [47] 0.01 0.00 112054/112054 should_enable_new_conns [57] ----------------------------------------------- [26] 0.5 0.48 0.00 xstat32_conv [26] ----------------------------------------------- 0.22 0.25 693224/693224 process_sds [6] [27] 0.5 0.22 0.25 693224 do_sd [27] 0.05 0.11 693224/4038402 event_set_is_readable [21] 0.02 0.06 372328/3396610 event_set_is_writable [22] ----------------------------------------------- 0.00 0.44 1737/1737 process_sds [6] [28] 0.4 0.00 0.44 1737 do_new_connections [28] 0.00 0.44 1737/1737 repeat_accept [29] ----------------------------------------------- 0.00 0.44 1737/1737 do_new_connections [28] [29] 0.4 0.00 0.44 1737 repeat_accept [29] 0.10 0.33 113791/113791 socket_new_conn [30] 0.01 0.00 112054/3457232 conns_off_if_needed [37] ----------------------------------------------- 0.10 0.33 113791/113791 repeat_accept [29] [30] 0.4 0.10 0.33 113791 socket_new_conn [30] 0.10 0.23 112054/112054 socket_setup [33] 0.00 0.00 1737/1737 process_accept_errs [61] ----------------------------------------------- [31] 0.4 0.43 0.00 _IO_str_init_static [31] ----------------------------------------------- [32] 0.4 0.41 0.00 fcntl [32] ----------------------------------------------- 0.10 0.23 112054/112054 socket_new_conn [30] [33] 0.3 0.10 0.23 112054 socket_setup [33] 0.13 0.00 224108/894507 lru_access [24] 0.01 0.06 112054/319160 interest_set_add_readable [41] 0.03 0.00 224108/1325719 set_fsm_state [47] ----------------------------------------------- 0.16 0.00 298070/617230 interest_set_add_writable [40] 0.17 0.00 319160/617230 interest_set_add_readable [41] [34] 0.3 0.33 0.00 617230 interest_set_add [34] ----------------------------------------------- 0.16 0.00 410124/820248 interest_set_del_readable [38] 0.16 0.00 410124/820248 interest_set_del_writable [42] [35] 0.3 0.32 0.00 820248 interest_set_del [35] ----------------------------------------------- [36] 0.3 0.32 0.00 __ctype_b_loc [36] ----------------------------------------------- 0.01 0.00 112054/3457232 repeat_accept [29] 0.29 0.00 3345178/3457232 process_sds [6] [37] 0.3 0.30 0.00 3457232 conns_off_if_needed [37] ----------------------------------------------- 0.03 0.04 112054/410124 do_close [25] 0.07 0.12 298070/410124 socket_readable [11] [38] 0.3 0.10 0.16 410124 interest_set_del_readable [38] 0.16 0.00 410124/820248 interest_set_del [35] ----------------------------------------------- [39] 0.2 0.23 0.00 mempcpy [39] ----------------------------------------------- 0.06 0.16 298070/298070 socket_readable [11] [40] 0.2 0.06 0.16 298070 interest_set_add_writable [40] 0.16 0.00 298070/617230 interest_set_add [34] ----------------------------------------------- 0.00 0.00 1/319160 main [2] 0.01 0.06 112054/319160 socket_setup [33] 0.03 0.11 207105/319160 socket_writable [15] [41] 0.2 0.04 0.17 319160 interest_set_add_readable [41] 0.17 0.00 319160/617230 interest_set_add [34] ----------------------------------------------- 0.01 0.04 112054/410124 do_close [25] 0.04 0.12 298070/410124 socket_writable [15] [42] 0.2 0.05 0.16 410124 interest_set_del_writable [42] 0.16 0.00 410124/820248 interest_set_del [35] ----------------------------------------------- 0.21 0.00 1/1 main [2] [43] 0.2 0.21 0.00 1 init_info [43] ----------------------------------------------- [44] 0.2 0.21 0.00 _IO_no_init [44] ----------------------------------------------- 0.20 0.00 372328/372328 process_sds [6] [45] 0.2 0.20 0.00 372328 do_writable [45] ----------------------------------------------- 0.12 0.04 372328/372328 socket_writable [15] [46] 0.2 0.12 0.04 372328 send_reply [46] 0.04 0.00 372328/1325719 set_fsm_state [47] ----------------------------------------------- 0.02 0.00 207105/1325719 socket_writable [15] 0.03 0.00 224108/1325719 do_close [25] 0.03 0.00 224108/1325719 socket_setup [33] 0.03 0.00 298070/1325719 socket_readable [11] 0.04 0.00 372328/1325719 send_reply [46] [47] 0.1 0.15 0.00 1325719 set_fsm_state [47] ----------------------------------------------- [48] 0.1 0.15 0.00 vsprintf [48] ----------------------------------------------- [49] 0.1 0.13 0.00 sprintf [49] ----------------------------------------------- [50] 0.1 0.13 0.00 __errno_location [50] ----------------------------------------------- [51] 0.1 0.10 0.00 _IO_setb [51] ----------------------------------------------- 0.08 0.00 112054/112054 do_close [25] [52] 0.1 0.08 0.00 112054 interest_set_done [52] ----------------------------------------------- 0.07 0.00 298070/298070 socket_writable [15] [53] 0.1 0.07 0.00 298070 close_file [53] ----------------------------------------------- 0.06 0.00 112054/112054 do_close [25] [54] 0.1 0.06 0.00 112054 close_sock [54] ----------------------------------------------- 0.05 0.00 320896/320896 process_sds [6] [55] 0.0 0.05 0.00 320896 do_readable [55] ----------------------------------------------- [56] 0.0 0.02 0.00 fork [56] ----------------------------------------------- 0.01 0.00 112054/112054 do_close [25] [57] 0.0 0.01 0.00 112054 should_enable_new_conns [57] ----------------------------------------------- 0.01 0.00 1/1 server_init [59] [58] 0.0 0.01 0.00 1 lru_init [58] ----------------------------------------------- 0.00 0.01 1/1 main [2] [59] 0.0 0.00 0.01 1 server_init [59] 0.01 0.00 1/1 lru_init [58] ----------------------------------------------- [60] 0.0 0.01 0.00 gettimeofday [60] ----------------------------------------------- 0.00 0.00 1737/1737 socket_new_conn [30] [61] 0.0 0.00 0.00 1737 process_accept_errs [61] ----------------------------------------------- 0.00 0.00 10/10 read_value [64] [62] 0.0 0.00 0.00 10 get_index [62] ----------------------------------------------- 0.00 0.00 10/10 read_value [64] [63] 0.0 0.00 0.00 10 get_nth_value [63] ----------------------------------------------- 0.00 0.00 5/10 netstat_init [76] 0.00 0.00 5/10 netstat_print [77] [64] 0.0 0.00 0.00 10 read_value [64] 0.00 0.00 10/10 get_index [62] 0.00 0.00 10/10 get_nth_value [63] ----------------------------------------------- 0.00 0.00 8/8 print_extra_info [84] [65] 0.0 0.00 0.00 8 do_proc_info [65] ----------------------------------------------- 0.00 0.00 4/4 select_loop_init [89] [66] 0.0 0.00 0.00 4 interest_set_init [66] ----------------------------------------------- 0.00 0.00 4/4 select_loop_init [89] [67] 0.0 0.00 0.00 4 malloc_fd_set [67] ----------------------------------------------- 0.00 0.00 3/3 install_sig_handlers [74] [68] 0.0 0.00 0.00 3 print_mask [68] ----------------------------------------------- 0.00 0.00 1/1 process_args [86] [69] 0.0 0.00 0.00 1 adjust_connections [69] ----------------------------------------------- 0.00 0.00 1/1 sig_kill_handler [90] [70] 0.0 0.00 0.00 1 cacheClear [70] ----------------------------------------------- 0.00 0.00 1/1 sig_kill_handler [90] [71] 0.0 0.00 0.00 1 cache_cleanup [71] ----------------------------------------------- 0.00 0.00 1/1 main [2] [72] 0.0 0.00 0.00 1 fork_servers [72] ----------------------------------------------- 0.00 0.00 1/1 main [2] [73] 0.0 0.00 0.00 1 init_print_time [73] ----------------------------------------------- 0.00 0.00 1/1 main [2] [74] 0.0 0.00 0.00 1 install_sig_handlers [74] 0.00 0.00 3/3 print_mask [68] 0.00 0.00 1/1 print_cur_mask [83] ----------------------------------------------- 0.00 0.00 1/1 print_all [82] [75] 0.0 0.00 0.00 1 intr_print_info [75] ----------------------------------------------- 0.00 0.00 1/1 main [2] [76] 0.0 0.00 0.00 1 netstat_init [76] 0.00 0.00 5/10 read_value [64] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [77] 0.0 0.00 0.00 1 netstat_print [77] 0.00 0.00 5/10 read_value [64] ----------------------------------------------- 0.00 0.00 1/1 main [2] [78] 0.0 0.00 0.00 1 options_print [78] ----------------------------------------------- 0.00 0.00 1/1 main [2] [79] 0.0 0.00 0.00 1 options_set [79] ----------------------------------------------- 0.00 0.00 1/1 main [2] [80] 0.0 0.00 0.00 1 options_valid [80] ----------------------------------------------- 0.00 0.00 1/1 rusage_print [88] [81] 0.0 0.00 0.00 1 print [81] ----------------------------------------------- 0.00 0.00 1/1 sig_kill_handler [90] [82] 0.0 0.00 0.00 1 print_all [82] 0.00 0.00 1/1 stats_print [91] 0.00 0.00 1/1 intr_print_info [75] 0.00 0.00 1/1 print_syscall_info [85] ----------------------------------------------- 0.00 0.00 1/1 install_sig_handlers [74] [83] 0.0 0.00 0.00 1 print_cur_mask [83] ----------------------------------------------- 0.00 0.00 1/1 main [2] [84] 0.0 0.00 0.00 1 print_extra_info [84] 0.00 0.00 8/8 do_proc_info [65] ----------------------------------------------- 0.00 0.00 1/1 print_all [82] [85] 0.0 0.00 0.00 1 print_syscall_info [85] ----------------------------------------------- 0.00 0.00 1/1 main [2] [86] 0.0 0.00 0.00 1 process_args [86] 0.00 0.00 1/1 adjust_connections [69] ----------------------------------------------- 0.00 0.00 1/1 main [2] [87] 0.0 0.00 0.00 1 rusage_init [87] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [88] 0.0 0.00 0.00 1 rusage_print [88] 0.00 0.00 1/1 print [81] ----------------------------------------------- 0.00 0.00 1/1 main [2] [89] 0.0 0.00 0.00 1 select_loop_init [89] 0.00 0.00 4/4 interest_set_init [66] 0.00 0.00 4/4 malloc_fd_set [67] ----------------------------------------------- 0.00 0.00 1/1 __restore [783] [90] 0.0 0.00 0.00 1 sig_kill_handler [90] 0.00 0.00 1/1 print_all [82] 0.00 0.00 1/1 cacheClear [70] 0.00 0.00 1/1 cache_cleanup [71] ----------------------------------------------- 0.00 0.00 1/1 print_all [82] [91] 0.0 0.00 0.00 1 stats_print [91] 0.00 0.00 1/1 stats_print_read [98] 0.00 0.00 1/1 stats_print_accept [92] 0.00 0.00 1/1 stats_print_close [94] 0.00 0.00 1/1 stats_print_write [103] 0.00 0.00 1/1 stats_print_select [100] 0.00 0.00 1/1 stats_print_send [101] 0.00 0.00 1/1 stats_print_poll [97] 0.00 0.00 1/1 stats_print_signals [102] 0.00 0.00 1/1 netstat_print [77] 0.00 0.00 1/1 stats_print_netstats [96] 0.00 0.00 1/1 stats_print_cache [93] 0.00 0.00 1/1 stats_print_conns_on_off [95] 0.00 0.00 1/1 rusage_print [88] 0.00 0.00 1/1 stats_print_rusage [99] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [92] 0.0 0.00 0.00 1 stats_print_accept [92] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [93] 0.0 0.00 0.00 1 stats_print_cache [93] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [94] 0.0 0.00 0.00 1 stats_print_close [94] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [95] 0.0 0.00 0.00 1 stats_print_conns_on_off [95] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [96] 0.0 0.00 0.00 1 stats_print_netstats [96] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [97] 0.0 0.00 0.00 1 stats_print_poll [97] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [98] 0.0 0.00 0.00 1 stats_print_read [98] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [99] 0.0 0.00 0.00 1 stats_print_rusage [99] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [100] 0.0 0.00 0.00 1 stats_print_select [100] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [101] 0.0 0.00 0.00 1 stats_print_send [101] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [102] 0.0 0.00 0.00 1 stats_print_signals [102] ----------------------------------------------- 0.00 0.00 1/1 stats_print [91] [103] 0.0 0.00 0.00 1 stats_print_write [103] ----------------------------------------------- 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 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 `' 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. Index by function name [23] _IO_default_xsputn [74] install_sig_handlers [87] rusage_init [44] _IO_no_init [34] interest_set_add (interest_set.c) [88] rusage_print [51] _IO_setb [41] interest_set_add_readable [12] select [31] _IO_str_init_static [40] interest_set_add_writable [4] select_loop [36] __ctype_b_loc [35] interest_set_del (interest_set.c) [89] select_loop_init [50] __errno_location [38] interest_set_del_readable [46] send_reply (755) __mcount_internal [42] interest_set_del_writable [1] sendfile [18] _fxstat [52] interest_set_done [59] server_init [17] accept [66] interest_set_init [47] set_fsm_state [69] adjust_connections [75] intr_print_info [8] setsockopt [70] cacheClear [24] lru_access [57] should_enable_new_conns [71] cache_cleanup [58] lru_init [90] sig_kill_handler [10] close [2] main [30] socket_new_conn [53] close_file [67] malloc_fd_set [11] socket_readable [54] close_sock (340) mcount [33] socket_setup [37] conns_off_if_needed [39] mempcpy [15] socket_writable [25] do_close [76] netstat_init [49] sprintf [28] do_new_connections [77] netstat_print [91] stats_print [65] do_proc_info [5] open [92] stats_print_accept [55] do_readable [78] options_print [93] stats_print_cache [27] do_sd [79] options_set [94] stats_print_close [20] do_sendfile [80] options_valid [95] stats_print_conns_on_off [45] do_writable [13] parse_bytes [96] stats_print_netstats [21] event_set_is_readable [81] print [97] stats_print_poll [16] event_set_is_readable_or_writable [82] print_all [98] stats_print_read [19] event_set_is_set (interest_set.c) [83] print_cur_mask [99] stats_print_rusage [22] event_set_is_writable [84] print_extra_info [100] stats_print_select [32] fcntl [68] print_mask [101] stats_print_send [56] fork [85] print_syscall_info [102] stats_print_signals [72] fork_servers [61] process_accept_errs [103] stats_print_write [62] get_index [86] process_args [14] vfprintf [63] get_nth_value [6] process_sds [48] vsprintf [60] gettimeofday [7] read [9] write [43] init_info [64] read_value [26] xstat32_conv [73] init_print_time [29] repeat_accept