[Freeciv-Dev] a new freeciv profile
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Attached is a profile I just made. I made it running one turn of a
late-game savegame. It was made with oprofile and opgprof (not by using
-pg). Since these stats are collected by the kernel (not by the
executable itself) they're probably more accurate than a -pg profile.
-jason
Flat profile:
Each sample counts as 1 samples.
% cumulative self self total
time samples samples calls T1/call T1/call name
24.19 109403.00 109403.00 pf_next
7.54 143521.00 34118.00
ai_data_movemap_recalculate
6.74 174002.00 30481.00 is_non_allied_unit_tile
6.40 202929.00 28927.00 is_normal_map_pos
4.05 221234.00 18305.00 pq_remove
3.41 236666.00 15432.00 land_attack_move
3.25 251368.00 14702.00 danger_iterate_map
1.69 259011.00 7643.00 map_pos_to_tile
1.55 266038.00 7027.00 get_target_bonus_effects
1.46 272626.00 6588.00 normalize_map_pos
1.42 279028.00 6402.00
ground_unit_transporter_capacity
1.40 285349.00 6321.00 internal_lookup
1.37 291546.00 6197.00 get_total_CC
1.31 297456.00 5910.00 get_transporter_occupancy
1.28 303258.00 5802.00 next_choice
1.27 308986.00 5728.00 pq_insert
1.22 314497.00 5511.00 fill_position
1.17 319804.00 5307.00 invasion_funct
1.14 324958.00 5154.00 init_node
1.06 329765.00 4807.00 is_req_active
0.94 334025.00 4260.00 add_workers
0.88 338016.00 3991.00 unit_owner
0.84 341823.00 3807.00 hash_fval_int
0.83 345563.00 3740.00 sanity_check
0.80 349178.00 3615.00 count_buildings_in_range
0.66 352160.00 2982.00 pplayers_allied
0.58 354784.00 2624.00 get_moves_left
0.57 357380.00 2596.00 improvement_obsolete
0.55 359885.00 2505.00 improvement_exists
0.55 362366.00 2481.00 map_get_city
0.53 364771.00 2405.00 base_get_output_tile
0.51 367080.00 2309.00 is_my_zoc
0.47 369185.00 2105.00 contains_special
0.44 371192.00 2007.00 hash_lookup_data
0.44 373182.00 1990.00 same_pos
0.43 375110.00 1928.00 map_get_player_tile
0.39 376865.00 1755.00 city_got_building
0.39 378615.00 1750.00 city_owner
0.37 380284.00 1669.00 num_city_buildings
0.36 381910.00 1626.00 really_generate_warmap
0.36 383520.00 1610.00 tile_type_num_tiles
0.35 385119.00 1599.00 hash_fcmp_int
0.31 386525.00 1406.00 index_to_tile
0.30 387891.00 1366.00 copy_partial_solution
0.29 389193.00 1302.00 generic_city_refresh
0.29 390482.00 1289.00 get_city_bonus
0.25 391605.00 1123.00 base_map_distance_vector
0.24 392689.00 1084.00 is_capital
0.23 393745.00 1056.00 road_bonus
0.23 394780.00 1035.00 evaluate_improvements
0.23 395815.00 1035.00 normal_move_unit
0.23 396845.00 1030.00 pplayer_get_diplstate
0.22 397861.00 1016.00 tech_exists
0.22 398876.00 1015.00 map_get_continent
0.20 399788.00 912.00 pf_next_get_position
0.20 400670.00 882.00 single_airmove
0.19 401525.00 855.00 find_palace
0.18 402359.00 834.00 get_citizen_output
0.18 403186.00 827.00 calc_civ_score
0.18 404007.00 821.00 get_improvement_type
0.17 404777.00 770.00 tile_type_get
0.16 405523.00 746.00 print_partial_solution
0.16 406265.00 742.00 pf_destroy_map
0.16 406996.00 731.00 is_valid_city_coords
0.16 407702.00 706.00 apply_solution
0.15 408398.00 696.00 sea_attack_move
0.15 409084.00 686.00 map_get_terrain
0.14 409739.00 655.00 map_get_closest_city
0.14 410393.00 654.00 base_city_map_to_map
0.14 411040.00 647.00 city_can_be_built_here
0.14 411686.00 646.00 assign_region
0.14 412331.00 645.00 is_enemy_unit_tile
0.14 412958.00 627.00 prereqs_filled
0.14 413580.00 622.00 get_city_tile_bonus
0.13 414185.00 605.00 assert_sanity
0.13 414789.00 604.00 cm_query_result
0.13 415386.00 597.00 really_gives_vision
0.13 415971.00 585.00 idex_lookup_unit
0.13 416546.00 575.00 is_great_wonder
0.13 417112.00 566.00 tile_has_special
0.12 417657.00 545.00 native_pos_to_tile
0.12 418195.00 538.00 distribute
0.11 418711.00 516.00 game_save
0.11 419222.00 511.00 game_load
0.11 419725.00 503.00 get_player
0.11 420227.00 502.00 cityresult_fill
0.11 420726.00 499.00 amortize
0.11 421223.00 497.00 is_effect_disabled
0.10 421693.00 470.00 num_types
0.10 422150.00 457.00 get_effects
0.10 422605.00 455.00 get_activity_rate
0.10 423035.00 430.00 my_vsnprintf
0.09 423460.00 425.00 hash_fval_string
0.09 423881.00 421.00 map_vector_to_sq_distance
0.09 424301.00 420.00 get_government
0.09 424720.00 419.00 ai_hunter_manage
0.09 425139.00 419.00 get_tile_output_base
0.09 425545.00 406.00 map_is_known
0.09 425948.00 403.00 consider_settler_action
0.09 426346.00 398.00 have_line
0.09 426732.00 386.00 map_change_seen
0.09 427117.00 385.00 settler_map_iterate
0.08 427499.00 382.00 print_tile_type
0.08 427870.00 371.00 snprint_production
0.08 428239.00 369.00 get_gov_pcity
0.08 428604.00 365.00 get_unit_type
0.08 428967.00 363.00 get_turns_for_activity_at
0.08 429324.00 357.00 is_pos_dangerous
0.08 429679.00 355.00 real_freelog
0.08 430029.00 350.00 unit_move_rate
0.08 430378.00 349.00 base_city_get_output_tile
0.08 430727.00 349.00 vreal_freelog
0.08 431072.00 345.00 city_waste
0.08 431415.00 343.00 get_worker_city
0.07 431745.00 330.00 _init
0.07 432073.00 328.00 find_unit_by_id
0.07 432393.00 320.00
player_find_city_from_wonder
0.07 432704.00 311.00 map_is_known_and_seen
0.07 433012.00 308.00 choice_stack_empty
0.07 433320.00 308.00 my_snprintf
0.07 433628.00 308.00 unit_type
0.07 433936.00 308.00 zero_hbucket
0.07 434243.00 307.00 unfog_area
0.07 434544.00 301.00 map_distance_vector
0.07 434839.00 295.00 find_something_to_kill
0.06 435125.00 286.00 fc_real_realloc
0.06 435411.00 286.00 get_token
0.06 435696.00 285.00 fc_real_malloc
0.06 435966.00 270.00 add_worker
0.06 436234.00 268.00 get_turn
0.06 436495.00 261.00
section_file_lookup_internal
0.06 436754.00 259.00 sq_map_distance
0.06 437005.00 251.00 fc_real_calloc
0.05 437250.00 245.00 get_token_value
0.05 437479.00 229.00 init_partial_solution
0.05 437708.00 229.00 my_isspace
0.05 437933.00 225.00 secfilehash_build
0.05 438155.00 222.00 get_invention
0.05 438375.00 220.00 unit_type_flag
0.05 438594.00 219.00 seamove_no_bombard
0.05 438811.00 217.00 look_for_charge
0.05 439019.00 208.00 find_something_to_bomb
0.05 439223.00 204.00 get_tile_type
0.05 439427.00 204.00 is_wonder
0.04 439627.00 200.00 section_file_read_dup
0.04 439826.00 199.00 section_file_check_unused
0.04 440024.00 198.00 idex_lookup_city
0.04 440209.00 185.00 get_gov_pplayer
0.04 440388.00 179.00 add_to_mapqueue
0.04 440565.00 177.00 ascii_hex2bin
0.04 440738.00 173.00 ai_data_phase_init
0.04 440911.00 173.00 real_sanity_check_city
0.04 441083.00 172.00 shared_vision_change_seen
0.04 441253.00 170.00 genlist_unlink_all
0.04 441414.00 161.00 compute_fitness
0.04 441573.00 159.00 city_get_output_tile
0.03 441728.00 155.00 ai_handicap
0.03 441879.00 151.00 create_city_virtual
0.03 442030.00 151.00 sanity_check_size
0.03 442178.00 148.00 base_city_celebrating
0.03 442326.00 148.00 citymap_is_reserved
0.03 442474.00 148.00 sea_overlap_move
0.03 442621.00 147.00 enemies_at
0.03 442767.00 146.00 is_allied_city_tile
0.03 442910.00 143.00 buffer_shared_vision
0.03 443052.00 142.00 last_choice
0.03 443192.00 140.00 is_non_allied_city_tile
0.03 443330.00 138.00 city_map_to_map
0.03 443467.00 137.00 sbuf_strdup
0.03 443599.00 132.00 unbuffer_shared_vision
0.03 443729.00 130.00 tile_type_num_prereqs
0.03 443858.00 129.00 new_entry
0.03 443985.00 127.00 find_the_shortest_path
0.03 444110.00 125.00 hash_maybe_resize
0.03 444235.00 125.00 is_terrain_flag_near_tile
0.03 444359.00 124.00 get_token_eol
0.03 444482.00 123.00 section_file_save
0.03 444602.00 120.00 genlist_size
0.03 444720.00 118.00 is_tech_a_req_for_goal
0.02 444831.00 111.00 city_tile_value
0.02 444942.00 111.00 trade_between_cities
0.02 445052.00 110.00 pplayers_at_war
0.02 445160.00 108.00 citymap_read
0.02 445268.00 108.00 get_from_mapqueue
0.02 445374.00 106.00 map_has_special
0.02 445479.00 105.00 bv_check_mask
0.02 445579.00 100.00 genlist_insert
0.02 445678.00 99.00 city_pollution_types
0.02 445774.00 96.00 reality_check_city
0.02 445867.00 93.00 city_celebrating
0.02 445959.00 92.00 map_activity_time
0.02 446050.00 91.00 get_token_entry_name
0.02 446140.00 90.00 find_city_by_id
0.02 446230.00 90.00 my_isprint
0.02 446320.00 90.00 remove_worker
0.02 446407.00 87.00 load_ruleset_nations
0.02 446493.00 86.00 is_ground_unit
0.02 446577.00 84.00 city_can_work_tile
0.02 446661.00 84.00 map_get_owner
0.02 446744.00 83.00 unit_flag
0.02 446825.00 81.00 get_token_white_char
0.02 446905.00 80.00 astr_minsize
0.02 446985.00 80.00 no_fights_or_unknown
0.02 447063.00 78.00 ai_manage_buildings
0.02 447140.00 77.00 map_get_special
0.02 447215.00 75.00 mystrlcpy
0.02 447289.00 74.00 read_a_line
0.02 447363.00 74.00 update_research
0.02 447436.00 73.00 map_get_seen
0.02 447507.00 71.00 fz_fprintf
0.02 447577.00 70.00 auto_settlers_init
0.02 447646.00 69.00 sbuf_malloc
0.02 447714.00 68.00
build_required_techs_helper
0.01 447781.00 67.00 player_map_free
0.01 447847.00 66.00 reveal_pending_seen
0.01 447912.00 65.00 assign_continent_flood
0.01 447976.00 64.00 find_boat
0.01 448040.00 64.00 happy_copy
0.01 448102.00 62.00 moutstr
0.01 448162.00 60.00 tile_type_lattice_add
0.01 448221.00 59.00 city_unhappy
0.01 448278.00 57.00 get_transporter_capacity
0.01 448335.00 57.00 pf_create_map
0.01 448389.00 54.00 check_units
0.01 448442.00 53.00 base_total_bulbs_required
0.01 448495.00 53.00 citymap_turn_init
0.01 448548.00 53.00 pft_fill_unit_attack_param
0.01 448599.00 51.00 assign_flag_token
0.01 448650.00 51.00 is_overlap_pos_dangerous
0.01 448700.00 50.00 get_city_surplus
0.01 448750.00 50.00 inf_token
0.01 448799.00 49.00 destroy_partial_solution
0.01 448847.00 48.00 num_known_tech_with_flag
0.01 448894.00 47.00 inf_discard_tokens
0.01 448940.00 46.00
can_player_build_unit_direct
0.01 448986.00 46.00 hash_replace
0.01 449031.00 45.00 char2terrain
0.01 449075.00 44.00 add_tax_income
0.01 449119.00 44.00 map_calculate_borders
0.01 449162.00 43.00 government_has_flag
0.01 449205.00 43.00 hash_free_contents
0.01 449248.00 43.00 is_comment
0.01 449291.00 43.00 my_isdigit
0.01 449333.00 42.00 compare_iter_index
0.01 449374.00 41.00
section_file_insert_internal
0.01 449414.00 40.00 base_get_defense_power
0.01 449454.00 40.00 city_specialists
0.01 449493.00 39.00 city_happy
0.01 449532.00 39.00 map_build_irrigation_time
0.01 449569.00 37.00
pft_fill_unit_default_parameter
0.01 449606.00 37.00 player_load
0.01 449642.00 36.00 ai_data_get
0.01 449678.00 36.00 is_barbarian
0.01 449714.00 36.00 secfilehash_hashash
0.01 449749.00 35.00 is_ground_units_transport
0.01 449784.00 35.00 map_build_mine_time
0.01 449819.00 35.00 map_load
0.01 449854.00 35.00 wakeup_neighbor_sentries
0.01 449888.00 34.00 player_map_allocate
0.01 449921.00 33.00 find_city_to_diplomat
0.01 449954.00 33.00 tile_type_better
0.01 449985.00 31.00 get_empty_array
0.01 450015.00 30.00 hash_new_nbuckets
0.01 450045.00 30.00 tech_is_available
0.01 450074.00 29.00
can_unit_continue_current_activity
0.01 450102.00 28.00 can_build_unit_direct
0.01 450130.00 28.00 find_section_by_name
0.01 450158.00 28.00 sbuf_align
0.01 450185.00 27.00 move_unit
0.01 450211.00 26.00 assess_defense_quadratic
0.01 450237.00 26.00 can_step_taken_wrt_to_zoc
0.01 450263.00 26.00 map_transform_time
0.01 450289.00 26.00 pq_create
0.01 450315.00 26.00 really_unfog_area
0.01 450339.00 24.00 compare_tile_type_by_stat
0.01 450362.00 23.00 initialize_move_costs
0.01 450385.00 23.00 update_dumb_city
0.00 450406.00 21.00 can_build_unit
0.00 450427.00 21.00
can_unit_do_activity_targeted_at
0.00 450448.00 21.00
map_vector_to_real_distance
0.00 450468.00 20.00 ai_data_movemap_done
0.00 450488.00 20.00 assign_continent_numbers
0.00 450508.00 20.00 my_has_capability
0.00 450527.00 19.00 fz_fgets
0.00 450546.00 19.00
player_knows_techs_with_flag
0.00 450564.00 18.00 get_city_tithes_bonus
0.00 450582.00 18.00 get_token_comma
0.00 450600.00 18.00 goto_is_sane
0.00 450618.00 18.00 inf_token_required
0.00 450635.00 17.00 ai_hunter_guess_best
0.00 450652.00 17.00 conn_list_do_unbuffer
0.00 450669.00 17.00 get_token_section_name
0.00 450686.00 17.00 hash_fcmp_string
0.00 450703.00 17.00 init_worklist
0.00 450720.00 17.00 map_get_known
0.00 450737.00 17.00 sniff_packets
0.00 450754.00 17.00 unit_has_role
0.00 450770.00 16.00 city_pollution
0.00 450786.00 16.00 cmp
0.00 450802.00 16.00 improvement_upkeep
0.00 450818.00 16.00 map_allocate
0.00 450834.00 16.00 secfile_lookup_int
0.00 450850.00 16.00
update_player_tile_knowledge
0.00 450865.00 15.00 city_building_upkeep
0.00 450880.00 15.00
initialize_infrastructure_cache
0.00 450895.00 15.00 map_build_rail_time
0.00 450910.00 15.00 map_free
0.00 450925.00 15.00 map_tiles_load
0.00 450940.00 15.00 real_map_distance
0.00 450955.00 15.00 secfile_lookup_str
0.00 450969.00 14.00 best_role_unit
0.00 450983.00 14.00
count_terrain_flag_near_tile
0.00 450997.00 14.00 init_queue
0.00 451011.00 14.00 is_military_unit
0.00 451025.00 14.00 main_loop
0.00 451039.00 14.00 tile_type_vector_free_all
0.00 451052.00 13.00 ai_choose_attacker_air
0.00 451065.00 13.00 assess_danger
0.00 451078.00 13.00 base_map_to_city_map
0.00 451091.00 13.00 bounds_check_nation_id
0.00 451104.00 13.00 can_player_see_unit_at
0.00 451117.00 13.00
compare_tile_type_by_lattice_order
0.00 451130.00 13.00 genlist_append
0.00 451143.00 13.00 is_future_tech
0.00 451156.00 13.00 old_impr_type_id
0.00 451169.00 13.00 tile_move_cost_ai
0.00 451182.00 13.00 utype_upkeep_cost
0.00 451194.00 12.00
ai_unit_attack_desirability
0.00 451206.00 12.00 do_unit_goto
0.00 451218.00 12.00 is_ground_unittype
0.00 451230.00 12.00 is_small_wonder
0.00 451242.00 12.00 myrand
0.00 451254.00 12.00 pq_destroy
0.00 451266.00 12.00 req_source_get_values
0.00 451277.00 11.00 is_sailing_unit
0.00 451288.00 11.00 map_to_city_map
0.00 451299.00 11.00 nation_city_names_free
0.00 451310.00 11.00 send_tile_info_always
0.00 451320.00 10.00 ai_choose_bodyguard
0.00 451330.00 10.00 ai_data_movemap_init
0.00 451340.00 10.00 building_has_effect
0.00 451350.00 10.00 get_city_output_bonus
0.00 451360.00 10.00 get_nation_by_idx
0.00 451370.00 10.00 is_air_unit
0.00 451380.00 10.00 is_allied_unit_tile
0.00 451390.00 10.00 send_rulesets
0.00 451400.00 10.00
throw_units_from_illegal_cities
0.00 451410.00 10.00
update_city_tile_status_map
0.00 451419.00 9.00 calc_unit_ordering
0.00 451428.00 9.00 conn_list_do_buffer
0.00 451437.00 9.00 create_unit_virtual
0.00 451446.00 9.00 find_improvement_by_name
0.00 451455.00 9.00 fog_area
0.00 451464.00 9.00 genlist_new
0.00 451473.00 9.00 get_nation_name
0.00 451482.00 9.00 hash_num_buckets
0.00 451491.00 9.00 map_set_owner
0.00 451500.00 9.00 map_unfog_pseudo_city_area
0.00 451509.00 9.00 mystrcasecmp
0.00 451518.00 9.00 secfile_insert_int
0.00 451527.00 9.00 terrain2char
0.00 451535.00 8.00 base_assess_defense_unit
0.00 451543.00 8.00 get_building_bonus
0.00 451551.00 8.00 get_defense_power
0.00 451559.00 8.00 get_output_name
0.00 451567.00 8.00 inf_at_eof
0.00 451575.00 8.00 map_know_and_see_all
0.00 451583.00 8.00 map_set_continent
0.00 451591.00 8.00 secfile_insert_bool
0.00 451599.00 8.00 secfile_lookup_int_default
0.00 451607.00 8.00 unit_def_rating_basic_sq
0.00 451615.00 8.00 unit_goes_out_of_sight
0.00 451623.00 8.00 unit_list_sort_ord_map
0.00 451630.00 7.00 ai_choose_attacker
0.00 451637.00 7.00 base_get_attack_power
0.00 451644.00 7.00 city_got_citywalls
0.00 451651.00 7.00 find_tech_by_name_orig
0.00 451658.00 7.00 is_player_dangerous
0.00 451665.00 7.00 is_sailing_unittype
0.00 451672.00 7.00 my_isalpha
0.00 451679.00 7.00 section_file_lookup
0.00 451686.00 7.00 server_set_tile_city
0.00 451693.00 7.00 set_unit_activity
0.00 451700.00 7.00 stop_timer
0.00 451707.00 7.00 unit_def_rating_basic
0.00 451714.00 7.00 update_city_tile_status
0.00 451720.00 6.00 apply_cmresult_to_city
0.00 451726.00 6.00 auto_arrange_workers
0.00 451732.00 6.00 get_token_table_end
0.00 451738.00 6.00 map_set_known
0.00 451744.00 6.00
military_advisor_choose_build
0.00 451750.00 6.00 package_unit
0.00 451756.00 6.00 secfile_lookup_str_vec
0.00 451762.00 6.00 set_invention
0.00 451768.00 6.00
unit_type_really_ignores_zoc
0.00 451773.00 5.00 UNIT_LOG
0.00 451778.00 5.00 ai_hunter_choice
0.00 451783.00 5.00
can_player_build_improvement_direct
0.00 451788.00 5.00
contemplate_terrain_improvements
0.00 451793.00 5.00 do_make_unit_veteran
0.00 451798.00 5.00 food_starvation
0.00 451803.00 5.00 free_unit_orders
0.00 451808.00 5.00 map_build_road_time
0.00 451813.00 5.00 pft_fill_unit_parameter
0.00 451818.00 5.00 remove_city_virtual
0.00 451823.00 5.00 resolve_stack_conflicts
0.00 451828.00 5.00 secfile_insert_str
0.00 451833.00 5.00
secfile_lookup_bool_default
0.00 451838.00 5.00 set_worker_city
0.00 451843.00 5.00 unit_has_orders
0.00 451847.00 4.00 ai_manage_cities
0.00 451851.00 4.00 best_role_unit_for_player
0.00 451855.00 4.00
can_player_see_units_in_city
0.00 451859.00 4.00 can_unit_exist_at_tile
0.00 451863.00 4.00 check_city
0.00 451867.00 4.00
city_style_has_requirements
0.00 451871.00 4.00 defense_bonus
0.00 451875.00 4.00
find_improvement_by_name_orig
0.00 451879.00 4.00 generate_warmap
0.00 451883.00 4.00 get_req_source_effects
0.00 451887.00 4.00
handle_unit_move_consequences
0.00 451891.00 4.00 initialize_globals
0.00 451895.00 4.00 is_attack_unit
0.00 451899.00 4.00 maybe_make_contact
0.00 451903.00 4.00 old_tech_id
0.00 451907.00 4.00 package_city
0.00 451911.00 4.00 player_find_city_by_id
0.00 451915.00 4.00 precalc_tech_data_helper
0.00 451919.00 4.00
secfile_get_secnames_prefix
0.00 451923.00 4.00 secfile_lookup_str_default
0.00 451927.00 4.00 send_game_info
0.00 451931.00 4.00 send_player_info_c
0.00 451935.00 4.00 tile_move_cost_ptrs
0.00 451939.00 4.00 unit_move_turns
0.00 451943.00 4.00 update_city_activity
0.00 451946.00 3.00 CITY_LOG
0.00 451949.00 3.00 adjust_city_free_cost
0.00 451952.00 3.00 ai_advisor_choose_building
0.00 451955.00 3.00 ai_best_government
0.00 451958.00 3.00 ai_find_source_building
0.00 451961.00 3.00 auto_settler_findwork
0.00 451964.00 3.00 auto_settlers_player
0.00 451967.00 3.00
base_get_direction_for_step
0.00 451970.00 3.00
can_player_see_city_internals
0.00 451973.00 3.00 can_player_see_unit
0.00 451976.00 3.00
can_unit_do_activity_targeted
0.00 451979.00 3.00 city_can_use_specialist
0.00 451982.00 3.00 city_has_terr_spec_gate
0.00 451985.00 3.00 cm_copy_result_from_city
0.00 451988.00 3.00 dir_get_name
0.00 451991.00 3.00 find_tech_by_name
0.00 451994.00 3.00 game_remove_unit
0.00 451997.00 3.00 genlist_sort
0.00 452000.00 3.00 genlist_unlink
0.00 452003.00 3.00 get_activity_text
0.00 452006.00 3.00 get_improvement_name
0.00 452009.00 3.00 is_heli_unit
0.00 452012.00 3.00 is_hiding_unit
0.00 452015.00 3.00 kill_something_with
0.00 452018.00 3.00 my_toupper
0.00 452021.00 3.00 player_init
0.00 452024.00 3.00 player_restore_units
0.00 452027.00 3.00
remove_leading_trailing_spaces
0.00 452030.00 3.00 remove_trailing_spaces
0.00 452033.00 3.00 reveal_hidden_units
0.00 452036.00 3.00 secfile_lookup_vec_dimen
0.00 452039.00 3.00 send_ruleset_cache
0.00 452042.00 3.00 unit_name_orig
0.00 452045.00 3.00 utype_happy_cost
0.00 452047.00 2.00
ai_assess_military_unhappiness
0.00 452049.00 2.00 ai_eval_calc_city
0.00 452051.00 2.00 ai_fuzzy
0.00 452053.00 2.00 ai_manage_tech
0.00 452055.00 2.00 ai_unit_move
0.00 452057.00 2.00 check_strlen
0.00 452059.00 2.00 city_refresh
0.00 452061.00 2.00 cm_copy_parameter
0.00 452063.00 2.00 cm_init_parameter
0.00 452065.00 2.00 cmd_reply_line
0.00 452067.00 2.00 compar_unit_ord_city
0.00 452069.00 2.00
compare_tile_type_by_fitness
0.00 452071.00 2.00 eval_hunter_want
0.00 452073.00 2.00 game_remove_player
0.00 452075.00 2.00 get_nation_name_plural
0.00 452077.00 2.00 get_virtual_defense_power
0.00 452079.00 2.00 gives_shared_vision
0.00 452081.00 2.00 handle_stdin_input
0.00 452083.00 2.00 init_warmap
0.00 452085.00 2.00 is_terrain_near_tile
0.00 452087.00 2.00 is_wet
0.00 452089.00 2.00 load_nation_names
0.00 452091.00 2.00 load_rulesets
0.00 452093.00 2.00 lookup_tech
0.00 452095.00 2.00
lsend_packet_ruleset_building
0.00 452097.00 2.00 lsend_packet_tile_info
0.00 452099.00 2.00
lsend_packet_unit_short_info
0.00 452101.00 2.00 match_prefix
0.00 452103.00 2.00 nations_free
0.00 452105.00 2.00 package_dumb_city
0.00 452107.00 2.00 player_find_unit_by_id
0.00 452109.00 2.00
player_knows_improvement_tech
0.00 452111.00 2.00 player_leading_spacerace
0.00 452113.00 2.00 print_lattice
0.00 452115.00 2.00 real_mystrdup
0.00 452117.00 2.00
remove_obsolete_buildings_city
0.00 452119.00 2.00 req_range_from_str
0.00 452121.00 2.00 req_source_from_str
0.00 452123.00 2.00 ruleset_cache_free
0.00 452125.00 2.00 send_all_known_tiles
0.00 452127.00 2.00 send_city_info
0.00 452129.00 2.00 tech_flag
0.00 452130.00 1.00
ai_choose_diplomat_offensive
0.00 452131.00 1.00 ai_data_analyze_rulesets
0.00 452132.00 1.00 ai_data_init
0.00 452133.00 1.00 ai_do_last_activities
0.00 452134.00 1.00 ai_manage_units
0.00 452135.00 1.00 ai_unit_consider_bodyguard
0.00 452136.00 1.00
ai_unit_defence_desirability
0.00 452137.00 1.00 ai_upgrade_units
0.00 452138.00 1.00 aiferry_find_boat
0.00 452139.00 1.00 alloc_id
0.00 452140.00 1.00 assess_defense_backend
0.00 452141.00 1.00 assess_defense_unit
0.00 452142.00 1.00 astr_free
0.00 452143.00 1.00
can_build_improvement_direct
0.00 452144.00 1.00 can_channel_land
0.00 452145.00 1.00 check_for_full_turn_done
0.00 452146.00 1.00 choose_build_target
0.00 452147.00 1.00 city_population
0.00 452148.00 1.00 city_reduce_size
0.00 452149.00 1.00 city_remove_improvement
0.00 452150.00 1.00 city_styles_free
0.00 452151.00 1.00 citygov_free_happy
0.00 452152.00 1.00 citygov_free_upkeep
0.00 452153.00 1.00 clear_timer
0.00 452154.00 1.00 clear_timer_start
0.00 452155.00 1.00 cm_clear_cache
0.00 452156.00 1.00 con_prompt_on
0.00 452157.00 1.00 con_update_prompt
0.00 452158.00 1.00 contemplate_new_city
0.00 452159.00 1.00 convert_string
0.00 452160.00 1.00 datafilename
0.00 452161.00 1.00 destroy_unit_virtual
0.00 452162.00 1.00 effect_new
0.00 452163.00 1.00 effect_req_append
0.00 452164.00 1.00 find_best_city_placement
0.00 452165.00 1.00 find_government_by_name
0.00 452166.00 1.00 find_nation_by_name_orig
0.00 452167.00 1.00
find_unit_type_by_name_orig
0.00 452168.00 1.00 flush_packets
0.00 452169.00 1.00 freeciv_completion
0.00 452170.00 1.00 fz_from_file
0.00 452171.00 1.00 game_next_year
0.00 452172.00 1.00 genlist_free
0.00 452173.00 1.00 get_data_dirs
0.00 452174.00 1.00 get_entertainers
0.00 452175.00 1.00 get_player_bonus
0.00 452176.00 1.00 get_special_by_name
0.00 452177.00 1.00 get_token_table_start
0.00 452178.00 1.00 great_wonder_was_built
0.00 452179.00 1.00 inf_close
0.00 452180.00 1.00 inf_close_partial
0.00 452181.00 1.00
init_old_improvement_bitvector
0.00 452182.00 1.00 init_zeros
0.00 452183.00 1.00 is_building_replaced
0.00 452184.00 1.00 is_enemy_city_tile
0.00 452185.00 1.00 is_field_unit
0.00 452186.00 1.00 is_player_phase
0.00 452187.00 1.00 is_tiles_adjacent
0.00 452188.00 1.00
is_wet_or_is_wet_cardinal_around
0.00 452189.00 1.00 load_command
0.00 452190.00 1.00
local_to_internal_string_malloc
0.00 452191.00 1.00 log_write
0.00 452192.00 1.00 lookup_building_list
0.00 452193.00 1.00 lookup_req_list
0.00 452194.00 1.00 loud_strlcpy
0.00 452195.00 1.00 main
0.00 452196.00 1.00 map_clear_special
0.00 452197.00 1.00 map_set_city
0.00 452198.00 1.00 map_startpos_load
0.00 452199.00 1.00 naval_bonus
0.00 452200.00 1.00 old_unit_type_id
0.00 452201.00 1.00 openload_ruleset_file
0.00 452202.00 1.00 optname_accessor
0.00 452203.00 1.00 pay_for_units
0.00 452204.00 1.00
pft_fill_unit_overlap_param
0.00 452205.00 1.00
player_has_traderoute_with_city
0.00 452206.00 1.00
player_limit_to_government_rates
0.00 452207.00 1.00 pplayer_can_ally
0.00 452208.00 1.00 precalc_one
0.00 452209.00 1.00 print_performance
0.00 452210.00 1.00 read_timer_seconds
0.00 452211.00 1.00 req_from_str
0.00 452212.00 1.00 secfile_lookup_bool
0.00 452213.00 1.00 section_file_free
0.00 452214.00 1.00 section_file_load
0.00 452215.00 1.00
send_city_turn_notifications
0.00 452216.00 1.00
send_global_city_turn_notifications
0.00 452217.00 1.00
send_server_info_to_metaserver
0.00 452218.00 1.00 send_year_to_clients
0.00 452219.00 1.00 shield_starvation
0.00 452220.00 1.00 skip_leading_spaces
0.00 452221.00 1.00 srv_init
0.00 452222.00 1.00 sync_cities
0.00 452223.00 1.00 team_count_members_alive
0.00 452224.00 1.00 translate_data_names
0.00 452225.00 1.00 unit_att_rating
0.00 452226.00 1.00 unit_being_aggressive
0.00 452227.00 1.00 unit_flag_from_str
0.00 452228.00 1.00 unit_profits_of_watchtower
0.00 452229.00 1.00 update_environmental_upset
0.00 452230.00 1.00 user_home_dir
0.00 452231.00 1.00 vnotify_conn_ex
0.00 452232.00 1.00 worklist_peek_ith
0.00 452233.00 1.00 zero_htable
% 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.
- [Freeciv-Dev] a new freeciv profile,
Jason Dorje Short <=
|
|