Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ms/call ms/call name 22.76 3.51 3.51 mcount 17.44 6.20 2.69 222090 0.01 0.03 get_token 16.60 8.76 2.56 181541 0.01 0.02 get_ttype 7.46 9.91 1.15 43594 0.03 0.04 findHashRecord 6.23 10.87 0.96 222090 0.00 0.00 add_to_stack 4.54 11.57 0.70 536499 0.00 0.00 ymalloc 4.47 12.26 0.69 50693 0.01 0.01 calcHashKey 3.89 12.86 0.60 202020 0.00 0.00 xlowercase 2.33 13.22 0.36 85 4.24 113.57 get_zone 2.08 13.54 0.32 43219 0.01 0.01 lowercase 1.30 13.74 0.20 222070 0.00 0.00 free_token 1.30 13.94 0.20 193225 0.00 0.04 xget_token 1.17 14.12 0.18 21753 0.01 0.10 get_str_assn 0.97 14.27 0.15 85 1.76 12.80 gen_locations 0.91 14.41 0.14 22208 0.01 0.02 free_stack 0.78 14.53 0.12 475 0.25 0.28 get_str_until 0.58 14.62 0.09 456976 0.00 0.00 xfree 0.52 14.70 0.08 9280 0.01 0.12 get_str_list_assn 0.45 14.77 0.07 39460 0.00 0.01 print_loc 0.45 14.84 0.07 12728 0.01 0.05 verify_item 0.39 14.90 0.06 12725 0.00 0.01 convert_item 0.39 14.96 0.06 12151 0.00 0.08 get_int_assn 0.39 15.02 0.06 9112 0.01 0.11 get_loc_str_assn 0.39 15.08 0.06 7652 0.01 0.01 table_lookup 0.26 15.12 0.04 7099 0.01 0.06 addHashRecord 0.26 15.16 0.04 85 0.47 5.89 check_locations 0.19 15.19 0.03 7754 0.00 0.00 uppercase 0.19 15.22 0.03 7099 0.00 0.01 createHashRecord 0.19 15.25 0.03 1 30.00 32.80 deleteHashTable 0.13 15.27 0.02 3153 0.01 0.06 xget_location 0.13 15.29 0.02 2767 0.01 0.01 verify_gamename 0.13 15.31 0.02 85 0.24 1.74 gen_mobiles 0.13 15.33 0.02 85 0.24 2.98 gen_objects 0.06 15.34 0.01 11391 0.00 0.00 check_next_char 0.06 15.35 0.01 4547 0.00 0.13 get_flags 0.06 15.36 0.01 4547 0.00 0.09 xget_flags 0.06 15.37 0.01 3153 0.00 0.05 verify_location 0.06 15.38 0.01 454 0.02 0.02 check_stmt 0.06 15.39 0.01 454 0.02 0.02 gen_raw 0.06 15.40 0.01 190 0.05 0.21 get_mflags 0.06 15.41 0.01 116 0.09 0.17 get_extern 0.06 15.42 0.01 85 0.12 1.87 check_objects 0.00 15.42 0.00 7099 0.00 0.00 check_code 0.00 15.42 0.00 7099 0.00 0.00 freeHashRecord 0.00 15.42 0.00 3153 0.00 0.13 get_location 0.00 15.42 0.00 1936 0.00 0.00 get_cflag 0.00 15.42 0.00 570 0.00 0.02 check_statements 0.00 15.42 0.00 570 0.00 0.00 gen_identifiers 0.00 15.42 0.00 570 0.00 0.03 gen_mudcode 0.00 15.42 0.00 570 0.00 0.02 xget_code 0.00 15.42 0.00 459 0.00 0.28 get_raw 0.00 15.42 0.00 459 0.00 0.39 get_statements 0.00 15.42 0.00 454 0.00 0.02 gen_statements 0.00 15.42 0.00 454 0.00 0.48 get_code 0.00 15.42 0.00 190 0.00 0.13 xget_mflags 0.00 15.42 0.00 186 0.00 0.00 safe_open 0.00 15.42 0.00 87 0.00 0.00 gen_mob_header 0.00 15.42 0.00 85 0.00 0.00 add_zone 0.00 15.42 0.00 85 0.00 0.78 check_mobiles 0.00 15.42 0.00 65 0.00 0.00 gen_obj_header 0.00 15.42 0.00 30 0.00 0.00 get_quest 0.00 15.42 0.00 19 0.00 0.00 gen_loc_header 0.00 15.42 0.00 18 0.00 0.00 sem_error 0.00 15.42 0.00 13 0.00 0.00 next_line 0.00 15.42 0.00 1 0.00 0.00 createHashTable 0.00 15.42 0.00 1 0.00 1489.13 gen_code 0.00 15.42 0.00 1 0.00 0.00 goto_next_char 0.00 15.42 0.00 1 0.00 0.00 initializeMemStat 0.00 15.42 0.00 1 0.00 8.60 load_mudcode 0.00 15.42 0.00 1 0.00 11910.00 main 0.00 15.42 0.00 1 0.00 725.88 semantic_check 0.00 15.42 0.00 1 0.00 0.00 set_signals 0.00 15.42 0.00 1 0.00 0.00 updateMemStat 0.00 15.42 0.00 1 0.00 0.00 xfopen 0.00 15.42 0.00 1 0.00 8.17 xload_mudcode 0.00 15.42 0.00 <hicore> 0.00 15.42 0.00 <locore> 0.00 15.42 0.00 __cmsg_nxthdr 0.00 15.42 0.00 __cmsg_nxthdr 0.00 15.42 0.00 __cmsg_nxthdr 0.00 15.42 0.00 __cmsg_nxthdr 0.00 15.42 0.00 __cmsg_nxthdr 0.00 15.42 0.00 __cmsg_nxthdr 0.00 15.42 0.00 __cmsg_nxthdr 0.00 15.42 0.00 __do_global_ctors_aux 0.00 15.42 0.00 __do_global_dtors_aux 0.00 15.42 0.00 _mcleanup 0.00 15.42 0.00 _profil_handler 0.00 15.42 0.00 _start 0.00 15.42 0.00 abort_trap 0.00 15.42 0.00 add_const 0.00 15.42 0.00 add_decl 0.00 15.42 0.00 check_arith_num 0.00 15.42 0.00 check_arith_str 0.00 15.42 0.00 check_boolean 0.00 15.42 0.00 check_defined 0.00 15.42 0.00 check_if 0.00 15.42 0.00 check_repeat 0.00 15.42 0.00 check_while 0.00 15.42 0.00 cmsg_nxthdr 0.00 15.42 0.00 cmsg_nxthdr 0.00 15.42 0.00 cmsg_nxthdr 0.00 15.42 0.00 cmsg_nxthdr 0.00 15.42 0.00 cmsg_nxthdr 0.00 15.42 0.00 cmsg_nxthdr 0.00 15.42 0.00 cmsg_nxthdr 0.00 15.42 0.00 compile_panic 0.00 15.42 0.00 deleteHashRecord 0.00 15.42 0.00 done 0.00 15.42 0.00 error_trap 0.00 15.42 0.00 findMemoryBlock 0.00 15.42 0.00 find_mudfunct 0.00 15.42 0.00 fini_dummy 0.00 15.42 0.00 gen_block 0.00 15.42 0.00 gen_for 0.00 15.42 0.00 gen_if 0.00 15.42 0.00 gen_mud_defined 0.00 15.42 0.00 gen_repeat 0.00 15.42 0.00 gen_while 0.00 15.42 0.00 get_arith_number 0.00 15.42 0.00 get_arith_string 0.00 15.42 0.00 get_block 0.00 15.42 0.00 get_boolean 0.00 15.42 0.00 get_const 0.00 15.42 0.00 get_decl 0.00 15.42 0.00 get_for 0.00 15.42 0.00 get_identifier 0.00 15.42 0.00 get_if 0.00 15.42 0.00 get_repeat 0.00 15.42 0.00 get_while 0.00 15.42 0.00 init_dummy 0.00 15.42 0.00 moncontrol 0.00 15.42 0.00 monstartup 0.00 15.42 0.00 printHashTableStatistics 0.00 15.42 0.00 printMemStat 0.00 15.42 0.00 profil 0.00 15.42 0.00 state_error 0.00 15.42 0.00 to_neg 0.00 15.42 0.00 xend_of_line 0.00 15.42 0.00 xget_decl % 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.08% of 11.91 seconds index % time self children called name 0.00 11.91 1/1 _start [2] [1] 100.0 0.00 11.91 1 main [1] 0.36 9.29 85/85 get_zone [3] 0.00 1.49 1/1 gen_code [9] 0.00 0.73 1/1 semantic_check [16] 0.03 0.00 1/1 deleteHashTable [44] 0.00 0.01 1/1 load_mudcode [57] 0.00 0.00 1/1 createHashTable [60] 0.00 0.00 85/85 add_zone [65] 0.00 0.00 1/1 initializeMemStat [72] 0.00 0.00 1/1 set_signals [73] ----------------------------------------------- <spontaneous> [2] 100.0 0.00 11.91 _start [2] 0.00 11.91 1/1 main [1] ----------------------------------------------- 0.36 9.29 85/85 main [1] [3] 81.1 0.36 9.29 85 get_zone [3] 0.06 2.12 60849/193225 xget_token [5] 0.18 1.95 21753/21753 get_str_assn [7] 0.08 1.02 9280/9280 get_str_list_assn [10] 0.06 0.96 9112/9112 get_loc_str_assn [12] 0.06 0.87 12151/12151 get_int_assn [14] 0.01 0.59 4547/4547 get_flags [20] 0.04 0.38 7099/7099 addHashRecord [24] 0.00 0.41 3153/3153 get_location [25] 0.00 0.22 454/454 get_code [30] 0.03 0.07 7099/7099 createHashRecord [39] 0.07 0.00 9197/43219 lowercase [27] 0.01 0.03 190/190 get_mflags [43] 0.02 0.01 7184/202020 xlowercase [15] 0.01 0.01 116/116 get_extern [47] 0.01 0.00 7184/536499 ymalloc [17] 0.00 0.00 5/459 get_statements [32] 0.00 0.00 7184/456976 xfree [40] 0.00 0.00 3/13 next_line [70] ----------------------------------------------- 0.00 0.00 116/222090 get_extern [47] 0.01 0.01 454/222090 get_code [30] 0.10 0.19 8566/222090 get_loc_str_assn [12] 0.11 0.21 9280/222090 get_str_list_assn [10] 0.13 0.24 10449/222090 get_str_assn [7] 2.34 4.38 193225/222090 xget_token [5] [4] 64.8 2.69 5.03 222090 get_token [4] 2.56 0.81 181541/181541 get_ttype [6] 0.96 0.00 222090/222090 add_to_stack [13] 0.14 0.25 22208/22208 free_stack [26] 0.31 0.00 240324/536499 ymalloc [17] ----------------------------------------------- 0.00 0.00 12/193225 load_mudcode [57] 0.00 0.00 104/193225 xload_mudcode [58] 0.00 0.00 116/193225 get_extern [47] 0.00 0.01 190/193225 get_mflags [43] 0.00 0.01 232/193225 xget_code [56] 0.00 0.02 454/193225 get_code [30] 0.00 0.02 574/193225 xget_mflags [46] 0.00 0.05 1377/193225 get_statements [32] 0.00 0.13 3872/193225 xget_location [31] 0.00 0.16 4547/193225 get_flags [20] 0.01 0.22 6306/193225 get_location [25] 0.01 0.35 9993/193225 xget_flags [23] 0.02 0.63 18224/193225 get_loc_str_assn [12] 0.02 0.65 18560/193225 get_str_list_assn [10] 0.03 0.85 24309/193225 get_int_assn [14] 0.05 1.51 43506/193225 get_str_assn [7] 0.06 2.12 60849/193225 get_zone [3] [5] 58.1 0.20 6.72 193225 xget_token [5] 2.34 4.38 193225/222090 get_token [4] ----------------------------------------------- 2.56 0.81 181541/181541 get_token [4] [6] 28.3 2.56 0.81 181541 get_ttype [6] 0.54 0.24 181541/202020 xlowercase [15] 0.04 0.00 181541/456976 xfree [40] ----------------------------------------------- 0.18 1.95 21753/21753 get_zone [3] [7] 17.9 0.18 1.95 21753 get_str_assn [7] 0.05 1.51 43506/193225 xget_token [5] 0.13 0.24 10449/222090 get_token [4] 0.03 0.00 21753/536499 ymalloc [17] ----------------------------------------------- 0.06 0.03 2434/43594 gen_mobiles [36] 0.11 0.06 4336/43594 gen_objects [28] 0.19 0.10 7099/43594 addHashRecord [24] 0.21 0.11 7892/43594 gen_locations [11] 0.24 0.12 9108/43594 print_loc [21] 0.34 0.17 12725/43594 verify_item [19] [8] 14.6 1.15 0.59 43594 findHashRecord [8] 0.59 0.00 43594/50693 calcHashKey [18] ----------------------------------------------- 0.00 1.49 1/1 main [1] [9] 12.5 0.00 1.49 1 gen_code [9] 0.15 0.94 85/85 gen_locations [11] 0.02 0.23 85/85 gen_objects [28] 0.02 0.13 85/85 gen_mobiles [36] 0.00 0.00 30/30 get_quest [67] 0.00 0.00 15/186 safe_open [63] ----------------------------------------------- 0.08 1.02 9280/9280 get_zone [3] [10] 9.3 0.08 1.02 9280 get_str_list_assn [10] 0.02 0.65 18560/193225 xget_token [5] 0.11 0.21 9280/222090 get_token [4] 0.04 0.00 27514/536499 ymalloc [17] ----------------------------------------------- 0.15 0.94 85/85 gen_code [9] [11] 9.1 0.15 0.94 85 gen_locations [11] 0.07 0.47 39460/39460 print_loc [21] 0.21 0.11 7892/43594 findHashRecord [8] 0.06 0.00 7892/43219 lowercase [27] 0.02 0.00 4031/7754 uppercase [45] 0.00 0.00 133/570 gen_mudcode [49] 0.00 0.00 19/19 gen_loc_header [68] ----------------------------------------------- 0.06 0.96 9112/9112 get_zone [3] [12] 8.6 0.06 0.96 9112 get_loc_str_assn [12] 0.02 0.63 18224/193225 xget_token [5] 0.10 0.19 8566/222090 get_token [4] 0.01 0.00 9112/536499 ymalloc [17] ----------------------------------------------- 0.96 0.00 222090/222090 get_token [4] [13] 8.1 0.96 0.00 222090 add_to_stack [13] ----------------------------------------------- 0.06 0.87 12151/12151 get_zone [3] [14] 7.8 0.06 0.87 12151 get_int_assn [14] 0.03 0.85 24309/193225 xget_token [5] ----------------------------------------------- 0.00 0.00 570/202020 gen_mudcode [49] 0.02 0.01 7184/202020 get_zone [3] 0.04 0.02 12725/202020 verify_item [19] 0.54 0.24 181541/202020 get_ttype [6] [15] 7.3 0.60 0.26 202020 xlowercase [15] 0.26 0.00 202020/536499 ymalloc [17] ----------------------------------------------- 0.00 0.73 1/1 main [1] [16] 6.1 0.00 0.73 1 semantic_check [16] 0.04 0.46 85/85 check_locations [22] 0.01 0.15 85/85 check_objects [34] 0.00 0.07 85/85 check_mobiles [41] ----------------------------------------------- 0.00 0.00 2/536499 createHashTable [60] 0.00 0.00 19/536499 xload_mudcode [58] 0.00 0.00 116/536499 get_extern [47] 0.00 0.00 454/536499 get_code [30] 0.00 0.00 570/536499 xget_code [56] 0.00 0.00 918/536499 get_raw [38] 0.00 0.00 918/536499 get_statements [32] 0.00 0.00 3153/536499 xget_location [31] 0.01 0.00 7184/536499 get_zone [3] 0.01 0.00 8244/536499 get_str_until [37] 0.01 0.00 9112/536499 get_loc_str_assn [12] 0.02 0.00 14198/536499 createHashRecord [39] 0.03 0.00 21753/536499 get_str_assn [7] 0.04 0.00 27514/536499 get_str_list_assn [10] 0.26 0.00 202020/536499 xlowercase [15] 0.31 0.00 240324/536499 get_token [4] [17] 5.9 0.70 0.00 536499 ymalloc [17] ----------------------------------------------- 0.10 0.00 7099/50693 addHashRecord [24] 0.59 0.00 43594/50693 findHashRecord [8] [18] 5.8 0.69 0.00 50693 calcHashKey [18] ----------------------------------------------- 0.00 0.02 464/12728 check_objects [34] 0.02 0.14 3153/12728 verify_location [33] 0.05 0.41 9111/12728 check_locations [22] [19] 5.3 0.07 0.57 12728 verify_item [19] 0.34 0.17 12725/43594 findHashRecord [8] 0.04 0.02 12725/202020 xlowercase [15] 0.00 0.00 12725/456976 xfree [40] ----------------------------------------------- 0.01 0.59 4547/4547 get_zone [3] [20] 5.1 0.01 0.59 4547 get_flags [20] 0.01 0.42 4547/4547 xget_flags [23] 0.00 0.16 4547/193225 xget_token [5] ----------------------------------------------- 0.07 0.47 39460/39460 gen_locations [11] [21] 4.6 0.07 0.47 39460 print_loc [21] 0.24 0.12 9108/43594 findHashRecord [8] 0.04 0.07 9108/12725 convert_item [35] ----------------------------------------------- 0.04 0.46 85/85 semantic_check [16] [22] 4.2 0.04 0.46 85 check_locations [22] 0.05 0.41 9111/12728 verify_item [19] 0.00 0.01 3946/7099 check_code [50] ----------------------------------------------- 2723 xget_flags [23] 0.01 0.42 4547/4547 get_flags [20] [23] 3.6 0.01 0.42 4547+2723 xget_flags [23] 0.01 0.35 9993/193225 xget_token [5] 0.06 0.00 7270/7652 table_lookup [42] 0.01 0.00 7270/11391 check_next_char [52] 2723 xget_flags [23] ----------------------------------------------- 0.04 0.38 7099/7099 get_zone [3] [24] 3.5 0.04 0.38 7099 addHashRecord [24] 0.19 0.10 7099/43594 findHashRecord [8] 0.10 0.00 7099/50693 calcHashKey [18] ----------------------------------------------- 0.00 0.41 3153/3153 get_zone [3] [25] 3.5 0.00 0.41 3153 get_location [25] 0.01 0.22 6306/193225 xget_token [5] 0.02 0.17 3153/3153 xget_location [31] ----------------------------------------------- 0.14 0.25 22208/22208 get_token [4] [26] 3.3 0.14 0.25 22208 free_stack [26] 0.20 0.05 222070/222070 free_token [29] ----------------------------------------------- 0.01 0.00 1217/43219 gen_mobiles [36] 0.01 0.00 1936/43219 gen_objects [28] 0.02 0.00 3153/43219 xget_location [31] 0.05 0.00 7099/43219 createHashRecord [39] 0.06 0.00 7892/43219 gen_locations [11] 0.07 0.00 9197/43219 get_zone [3] 0.09 0.00 12725/43219 convert_item [35] [27] 2.7 0.32 0.00 43219 lowercase [27] ----------------------------------------------- 0.02 0.23 85/85 gen_code [9] [28] 2.1 0.02 0.23 85 gen_objects [28] 0.11 0.06 4336/43594 findHashRecord [8] 0.01 0.02 2400/12725 convert_item [35] 0.01 0.00 1936/43219 lowercase [27] 0.00 0.01 350/570 gen_mudcode [49] 0.01 0.00 1936/7754 uppercase [45] 0.00 0.00 1936/1936 get_cflag [61] 0.00 0.00 65/65 gen_obj_header [66] ----------------------------------------------- 18232 free_token [29] 0.20 0.05 222070/222070 free_stack [26] [29] 2.1 0.20 0.05 222070+18232 free_token [29] 0.05 0.00 240302/456976 xfree [40] 18232 free_token [29] ----------------------------------------------- 0.00 0.22 454/454 get_zone [3] [30] 1.8 0.00 0.22 454 get_code [30] 0.00 0.18 454/459 get_statements [32] 0.00 0.02 454/193225 xget_token [5] 0.01 0.01 454/222090 get_token [4] 0.00 0.01 454/570 xget_code [56] 0.00 0.00 454/536499 ymalloc [17] ----------------------------------------------- 0.02 0.17 3153/3153 get_location [25] [31] 1.6 0.02 0.17 3153 xget_location [31] 0.00 0.13 3872/193225 xget_token [5] 0.02 0.00 3153/43219 lowercase [27] 0.00 0.00 3153/536499 ymalloc [17] 0.00 0.00 3153/11391 check_next_char [52] ----------------------------------------------- 0.00 0.00 5/459 get_zone [3] 0.00 0.18 454/459 get_code [30] [32] 1.5 0.00 0.18 459 get_statements [32] 0.00 0.13 459/459 get_raw [38] 0.00 0.05 1377/193225 xget_token [5] 0.00 0.00 918/536499 ymalloc [17] ----------------------------------------------- 0.00 0.06 1217/3153 check_mobiles [41] 0.01 0.10 1936/3153 check_objects [34] [33] 1.4 0.01 0.16 3153 verify_location [33] 0.02 0.14 3153/12728 verify_item [19] ----------------------------------------------- 0.01 0.15 85/85 semantic_check [16] [34] 1.3 0.01 0.15 85 check_objects [34] 0.01 0.10 1936/3153 verify_location [33] 0.00 0.02 464/12728 verify_item [19] 0.02 0.00 2767/2767 verify_gamename [48] 0.00 0.00 1936/7099 check_code [50] 0.00 0.00 10/18 sem_error [69] ----------------------------------------------- 0.01 0.01 1217/12725 gen_mobiles [36] 0.01 0.02 2400/12725 gen_objects [28] 0.04 0.07 9108/12725 print_loc [21] [35] 1.3 0.06 0.09 12725 convert_item [35] 0.09 0.00 12725/43219 lowercase [27] ----------------------------------------------- 0.02 0.13 85/85 gen_code [9] [36] 1.2 0.02 0.13 85 gen_mobiles [36] 0.06 0.03 2434/43594 findHashRecord [8] 0.01 0.01 1217/12725 convert_item [35] 0.01 0.00 1217/43219 lowercase [27] 0.00 0.00 1217/7754 uppercase [45] 0.00 0.00 87/570 gen_mudcode [49] 0.00 0.00 87/87 gen_mob_header [64] ----------------------------------------------- 0.00 0.00 16/475 xload_mudcode [58] 0.12 0.01 459/475 get_raw [38] [37] 1.1 0.12 0.01 475 get_str_until [37] 0.01 0.00 8244/536499 ymalloc [17] ----------------------------------------------- 0.00 0.13 459/459 get_statements [32] [38] 1.1 0.00 0.13 459 get_raw [38] 0.12 0.01 459/475 get_str_until [37] 0.00 0.00 918/536499 ymalloc [17] ----------------------------------------------- 0.03 0.07 7099/7099 get_zone [3] [39] 0.8 0.03 0.07 7099 createHashRecord [39] 0.05 0.00 7099/43219 lowercase [27] 0.02 0.00 14198/536499 ymalloc [17] ----------------------------------------------- 0.00 0.00 2/456976 deleteHashTable [44] 0.00 0.00 454/456976 check_statements [51] 0.00 0.00 570/456976 gen_mudcode [49] 0.00 0.00 7184/456976 get_zone [3] 0.00 0.00 12725/456976 verify_item [19] 0.00 0.00 14198/456976 freeHashRecord [59] 0.04 0.00 181541/456976 get_ttype [6] 0.05 0.00 240302/456976 free_token [29] [40] 0.8 0.09 0.00 456976 xfree [40] ----------------------------------------------- 0.00 0.07 85/85 semantic_check [16] [41] 0.6 0.00 0.07 85 check_mobiles [41] 0.00 0.06 1217/3153 verify_location [33] 0.00 0.00 1217/7099 check_code [50] 0.00 0.00 8/18 sem_error [69] ----------------------------------------------- 0.00 0.00 382/7652 xget_mflags [46] 0.06 0.00 7270/7652 xget_flags [23] [42] 0.5 0.06 0.00 7652 table_lookup [42] ----------------------------------------------- 0.01 0.03 190/190 get_zone [3] [43] 0.3 0.01 0.03 190 get_mflags [43] 0.00 0.02 190/190 xget_mflags [46] 0.00 0.01 190/193225 xget_token [5] ----------------------------------------------- 0.03 0.00 1/1 main [1] [44] 0.3 0.03 0.00 1 deleteHashTable [44] 0.00 0.00 7099/7099 freeHashRecord [59] 0.00 0.00 2/456976 xfree [40] ----------------------------------------------- 0.00 0.00 570/7754 gen_mudcode [49] 0.00 0.00 1217/7754 gen_mobiles [36] 0.01 0.00 1936/7754 gen_objects [28] 0.02 0.00 4031/7754 gen_locations [11] [45] 0.3 0.03 0.00 7754 uppercase [45] ----------------------------------------------- 192 xget_mflags [46] 0.00 0.02 190/190 get_mflags [43] [46] 0.2 0.00 0.02 190+192 xget_mflags [46] 0.00 0.02 574/193225 xget_token [5] 0.00 0.00 382/7652 table_lookup [42] 0.00 0.00 382/11391 check_next_char [52] 192 xget_mflags [46] ----------------------------------------------- 0.01 0.01 116/116 get_zone [3] [47] 0.2 0.01 0.01 116 get_extern [47] 0.00 0.00 116/193225 xget_token [5] 0.00 0.00 116/222090 get_token [4] 0.00 0.00 116/570 xget_code [56] 0.00 0.00 116/536499 ymalloc [17] ----------------------------------------------- 0.02 0.00 2767/2767 check_objects [34] [48] 0.2 0.02 0.00 2767 verify_gamename [48] ----------------------------------------------- 0.00 0.00 87/570 gen_mobiles [36] 0.00 0.00 133/570 gen_locations [11] 0.00 0.01 350/570 gen_objects [28] [49] 0.1 0.00 0.01 570 gen_mudcode [49] 0.00 0.01 454/454 gen_statements [55] 0.00 0.00 570/202020 xlowercase [15] 0.00 0.00 570/7754 uppercase [45] 0.00 0.00 570/456976 xfree [40] 0.00 0.00 570/570 gen_identifiers [62] ----------------------------------------------- 0.00 0.00 1217/7099 check_mobiles [41] 0.00 0.00 1936/7099 check_objects [34] 0.00 0.01 3946/7099 check_locations [22] [50] 0.1 0.00 0.01 7099 check_code [50] 0.00 0.01 570/570 check_statements [51] ----------------------------------------------- 0.00 0.01 570/570 check_code [50] [51] 0.1 0.00 0.01 570 check_statements [51] 0.01 0.00 454/454 check_stmt [53] 0.00 0.00 454/456976 xfree [40] ----------------------------------------------- 0.00 0.00 16/11391 xload_mudcode [58] 0.00 0.00 382/11391 xget_mflags [46] 0.00 0.00 570/11391 xget_code [56] 0.00 0.00 3153/11391 xget_location [31] 0.01 0.00 7270/11391 xget_flags [23] [52] 0.1 0.01 0.00 11391 check_next_char [52] ----------------------------------------------- 0.01 0.00 454/454 check_statements [51] [53] 0.1 0.01 0.00 454 check_stmt [53] ----------------------------------------------- 0.01 0.00 454/454 gen_statements [55] [54] 0.1 0.01 0.00 454 gen_raw [54] ----------------------------------------------- 0.00 0.01 454/454 gen_mudcode [49] [55] 0.1 0.00 0.01 454 gen_statements [55] 0.01 0.00 454/454 gen_raw [54] ----------------------------------------------- 0.00 0.00 116/570 get_extern [47] 0.00 0.01 454/570 get_code [30] [56] 0.1 0.00 0.01 570 xget_code [56] 0.00 0.01 232/193225 xget_token [5] 0.00 0.00 570/536499 ymalloc [17] 0.00 0.00 570/11391 check_next_char [52] ----------------------------------------------- 0.00 0.01 1/1 main [1] [57] 0.1 0.00 0.01 1 load_mudcode [57] 0.00 0.01 1/1 xload_mudcode [58] 0.00 0.00 12/193225 xget_token [5] 0.00 0.00 10/13 next_line [70] 0.00 0.00 1/1 xfopen [75] ----------------------------------------------- 0.00 0.01 1/1 load_mudcode [57] [58] 0.1 0.00 0.01 1 xload_mudcode [58] 0.00 0.00 16/475 get_str_until [37] 0.00 0.00 104/193225 xget_token [5] 0.00 0.00 19/536499 ymalloc [17] 0.00 0.00 16/11391 check_next_char [52] 0.00 0.00 1/1 goto_next_char [71] ----------------------------------------------- 0.00 0.00 7099/7099 deleteHashTable [44] [59] 0.0 0.00 0.00 7099 freeHashRecord [59] 0.00 0.00 14198/456976 xfree [40] ----------------------------------------------- 0.00 0.00 1/1 main [1] [60] 0.0 0.00 0.00 1 createHashTable [60] 0.00 0.00 2/536499 ymalloc [17] ----------------------------------------------- 0.00 0.00 1936/1936 gen_objects [28] [61] 0.0 0.00 0.00 1936 get_cflag [61] ----------------------------------------------- 0.00 0.00 570/570 gen_mudcode [49] [62] 0.0 0.00 0.00 570 gen_identifiers [62] ----------------------------------------------- 0.00 0.00 15/186 gen_code [9] 0.00 0.00 19/186 gen_loc_header [68] 0.00 0.00 65/186 gen_obj_header [66] 0.00 0.00 87/186 gen_mob_header [64] [63] 0.0 0.00 0.00 186 safe_open [63] ----------------------------------------------- 0.00 0.00 87/87 gen_mobiles [36] [64] 0.0 0.00 0.00 87 gen_mob_header [64] 0.00 0.00 87/186 safe_open [63] ----------------------------------------------- 0.00 0.00 85/85 main [1] [65] 0.0 0.00 0.00 85 add_zone [65] ----------------------------------------------- 0.00 0.00 65/65 gen_objects [28] [66] 0.0 0.00 0.00 65 gen_obj_header [66] 0.00 0.00 65/186 safe_open [63] ----------------------------------------------- 0.00 0.00 30/30 gen_code [9] [67] 0.0 0.00 0.00 30 get_quest [67] ----------------------------------------------- 0.00 0.00 19/19 gen_locations [11] [68] 0.0 0.00 0.00 19 gen_loc_header [68] 0.00 0.00 19/186 safe_open [63] ----------------------------------------------- 0.00 0.00 8/18 check_mobiles [41] 0.00 0.00 10/18 check_objects [34] [69] 0.0 0.00 0.00 18 sem_error [69] ----------------------------------------------- 0.00 0.00 3/13 get_zone [3] 0.00 0.00 10/13 load_mudcode [57] [70] 0.0 0.00 0.00 13 next_line [70] ----------------------------------------------- 0.00 0.00 1/1 xload_mudcode [58] [71] 0.0 0.00 0.00 1 goto_next_char [71] ----------------------------------------------- 0.00 0.00 1/1 main [1] [72] 0.0 0.00 0.00 1 initializeMemStat [72] 0.00 0.00 1/1 updateMemStat [74] ----------------------------------------------- 0.00 0.00 1/1 main [1] [73] 0.0 0.00 0.00 1 set_signals [73] ----------------------------------------------- 0.00 0.00 1/1 initializeMemStat [72] [74] 0.0 0.00 0.00 1 updateMemStat [74] ----------------------------------------------- 0.00 0.00 1/1 load_mudcode [57] [75] 0.0 0.00 0.00 1 xfopen [75] ----------------------------------------------- <spontaneous> [78] 0.0 0.00 0.00 abort_trap [78] ----------------------------------------------- <spontaneous> [79] 0.0 0.00 0.00 add_const [79] ----------------------------------------------- <spontaneous> [80] 0.0 0.00 0.00 add_decl [80] ----------------------------------------------- <spontaneous> [81] 0.0 0.00 0.00 check_arith_num [81] ----------------------------------------------- <spontaneous> [82] 0.0 0.00 0.00 check_arith_str [82] ----------------------------------------------- <spontaneous> [83] 0.0 0.00 0.00 check_boolean [83] ----------------------------------------------- <spontaneous> [84] 0.0 0.00 0.00 check_defined [84] ----------------------------------------------- <spontaneous> [85] 0.0 0.00 0.00 check_if [85] ----------------------------------------------- <spontaneous> [86] 0.0 0.00 0.00 check_repeat [86] ----------------------------------------------- <spontaneous> [87] 0.0 0.00 0.00 check_while [87] ----------------------------------------------- <spontaneous> [88] 0.0 0.00 0.00 cmsg_nxthdr [88] ----------------------------------------------- <spontaneous> [89] 0.0 0.00 0.00 cmsg_nxthdr [89] ----------------------------------------------- <spontaneous> [90] 0.0 0.00 0.00 cmsg_nxthdr [90] ----------------------------------------------- <spontaneous> [91] 0.0 0.00 0.00 cmsg_nxthdr [91] ----------------------------------------------- <spontaneous> [92] 0.0 0.00 0.00 cmsg_nxthdr [92] ----------------------------------------------- <spontaneous> [93] 0.0 0.00 0.00 cmsg_nxthdr [93] ----------------------------------------------- <spontaneous> [94] 0.0 0.00 0.00 cmsg_nxthdr [94] ----------------------------------------------- <spontaneous> [95] 0.0 0.00 0.00 compile_panic [95] ----------------------------------------------- <spontaneous> [96] 0.0 0.00 0.00 deleteHashRecord [96] ----------------------------------------------- <spontaneous> [97] 0.0 0.00 0.00 done [97] ----------------------------------------------- <spontaneous> [98] 0.0 0.00 0.00 error_trap [98] ----------------------------------------------- <spontaneous> [99] 0.0 0.00 0.00 findMemoryBlock [99] ----------------------------------------------- <spontaneous> [100] 0.0 0.00 0.00 find_mudfunct [100] ----------------------------------------------- <spontaneous> [101] 0.0 0.00 0.00 fini_dummy [101] ----------------------------------------------- <spontaneous> [102] 0.0 0.00 0.00 gen_block [102] ----------------------------------------------- <spontaneous> [103] 0.0 0.00 0.00 gen_for [103] ----------------------------------------------- <spontaneous> [104] 0.0 0.00 0.00 gen_if [104] ----------------------------------------------- <spontaneous> [105] 0.0 0.00 0.00 gen_mud_defined [105] ----------------------------------------------- <spontaneous> [106] 0.0 0.00 0.00 gen_repeat [106] ----------------------------------------------- <spontaneous> [107] 0.0 0.00 0.00 gen_while [107] ----------------------------------------------- <spontaneous> [108] 0.0 0.00 0.00 get_arith_number [108] ----------------------------------------------- <spontaneous> [109] 0.0 0.00 0.00 get_arith_string [109] ----------------------------------------------- <spontaneous> [110] 0.0 0.00 0.00 get_block [110] ----------------------------------------------- <spontaneous> [111] 0.0 0.00 0.00 get_boolean [111] ----------------------------------------------- <spontaneous> [112] 0.0 0.00 0.00 get_const [112] ----------------------------------------------- <spontaneous> [113] 0.0 0.00 0.00 get_decl [113] ----------------------------------------------- <spontaneous> [114] 0.0 0.00 0.00 get_for [114] ----------------------------------------------- <spontaneous> [115] 0.0 0.00 0.00 get_identifier [115] ----------------------------------------------- <spontaneous> [116] 0.0 0.00 0.00 get_if [116] ----------------------------------------------- <spontaneous> [117] 0.0 0.00 0.00 get_repeat [117] ----------------------------------------------- <spontaneous> [118] 0.0 0.00 0.00 get_while [118] ----------------------------------------------- <spontaneous> [119] 0.0 0.00 0.00 init_dummy [119] ----------------------------------------------- <spontaneous> [121] 0.0 0.00 0.00 moncontrol [121] ----------------------------------------------- <spontaneous> [122] 0.0 0.00 0.00 monstartup [122] ----------------------------------------------- <spontaneous> [123] 0.0 0.00 0.00 printHashTableStatistics [123] ----------------------------------------------- <spontaneous> [124] 0.0 0.00 0.00 printMemStat [124] ----------------------------------------------- <spontaneous> [125] 0.0 0.00 0.00 profil [125] ----------------------------------------------- <spontaneous> [126] 0.0 0.00 0.00 state_error [126] ----------------------------------------------- <spontaneous> [127] 0.0 0.00 0.00 to_neg [127] ----------------------------------------------- <spontaneous> [128] 0.0 0.00 0.00 xend_of_line [128] ----------------------------------------------- <spontaneous> [129] 0.0 0.00 0.00 xget_decl [129] ----------------------------------------------- <spontaneous> [130] 0.0 0.00 0.00 __cmsg_nxthdr [130] ----------------------------------------------- <spontaneous> [131] 0.0 0.00 0.00 __cmsg_nxthdr [131] ----------------------------------------------- <spontaneous> [132] 0.0 0.00 0.00 __cmsg_nxthdr [132] ----------------------------------------------- <spontaneous> [133] 0.0 0.00 0.00 __cmsg_nxthdr [133] ----------------------------------------------- <spontaneous> [134] 0.0 0.00 0.00 __cmsg_nxthdr [134] ----------------------------------------------- <spontaneous> [135] 0.0 0.00 0.00 __cmsg_nxthdr [135] ----------------------------------------------- <spontaneous> [136] 0.0 0.00 0.00 __cmsg_nxthdr [136] ----------------------------------------------- <spontaneous> [137] 0.0 0.00 0.00 __do_global_ctors_aux [137] ----------------------------------------------- <spontaneous> [138] 0.0 0.00 0.00 __do_global_dtors_aux [138] ----------------------------------------------- <spontaneous> [139] 0.0 0.00 0.00 _mcleanup [139] ----------------------------------------------- <spontaneous> [140] 0.0 0.00 0.00 _profil_handler [140] ----------------------------------------------- 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 `<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. Index by function name (76) <hicore> [44] deleteHashTable [32] get_statements (77) <locore> [97] done [7] get_str_assn [130] __cmsg_nxthdr [98] error_trap [10] get_str_list_assn [131] __cmsg_nxthdr [8] findHashRecord [37] get_str_until [132] __cmsg_nxthdr [99] findMemoryBlock [4] get_token [133] __cmsg_nxthdr [100] find_mudfunct [6] get_ttype [134] __cmsg_nxthdr [101] fini_dummy [118] get_while [135] __cmsg_nxthdr [59] freeHashRecord [3] get_zone [136] __cmsg_nxthdr [26] free_stack [71] goto_next_char [137] __do_global_ctors_aux [29] free_token [119] init_dummy [138] __do_global_dtors_aux [102] gen_block [72] initializeMemStat [139] _mcleanup [9] gen_code [57] load_mudcode [140] _profil_handler [103] gen_for [27] lowercase [2] _start [62] gen_identifiers [1] main [78] abort_trap [104] gen_if (120) mcount [24] addHashRecord [68] gen_loc_header [121] moncontrol [79] add_const [11] gen_locations [122] monstartup [80] add_decl [64] gen_mob_header [70] next_line [13] add_to_stack [36] gen_mobiles [123] printHashTableStatistics [65] add_zone [105] gen_mud_defined [124] printMemStat [18] calcHashKey [49] gen_mudcode [21] print_loc [81] check_arith_num [66] gen_obj_header [125] profil [82] check_arith_str [28] gen_objects [63] safe_open [83] check_boolean [54] gen_raw [69] sem_error [50] check_code [106] gen_repeat [16] semantic_check [84] check_defined [55] gen_statements [73] set_signals [85] check_if [107] gen_while [126] state_error [22] check_locations [108] get_arith_number [42] table_lookup [41] check_mobiles [109] get_arith_string [127] to_neg [52] check_next_char [110] get_block [74] updateMemStat [34] check_objects [111] get_boolean [45] uppercase [86] check_repeat [61] get_cflag [48] verify_gamename [51] check_statements [30] get_code [19] verify_item [53] check_stmt [112] get_const [33] verify_location [87] check_while [113] get_decl [128] xend_of_line [88] cmsg_nxthdr [47] get_extern [75] xfopen [89] cmsg_nxthdr [20] get_flags [40] xfree [90] cmsg_nxthdr [114] get_for [56] xget_code [91] cmsg_nxthdr [115] get_identifier [129] xget_decl [92] cmsg_nxthdr [116] get_if [23] xget_flags [93] cmsg_nxthdr [14] get_int_assn [31] xget_location [94] cmsg_nxthdr [12] get_loc_str_assn [46] xget_mflags [95] compile_panic [25] get_location [5] xget_token [35] convert_item [43] get_mflags [58] xload_mudcode [39] createHashRecord [67] get_quest [15] xlowercase [60] createHashTable [38] get_raw [17] ymalloc [96] deleteHashRecord [117] get_repeat