Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ms/call ms/call name 99.12 100.25 100.25 2964136 0.03 0.03 salamic_lookup_table_get_hash_slot_index 0.25 100.50 0.25 3811050 0.00 0.00 salamic_utils_round 0.24 100.75 0.25 2964136 0.00 0.00 salamic_utils_hash_bytes 0.10 100.85 0.10 2752414 0.00 0.00 salamic_mesh_get_face_address 0.06 100.91 0.06 2964136 0.00 0.00 salamic_lookup_table_hash_start 0.04 100.95 0.04 2964137 0.00 0.00 salamic_mesh_read_STL 0.04 100.99 0.04 2964136 0.00 0.00 salamic_lookup_table_add 0.04 101.03 0.04 423450 0.00 0.00 salamic_STL_binary_read_face 0.03 101.06 0.03 1 30.00 50.01 salamic_mesh_set_links 0.02 101.08 0.02 1905516 0.00 0.00 salamic_mesh_find_edge_in_face 0.02 101.10 0.02 1905516 0.00 0.00 salamic_mesh_get_edge_address 0.02 101.12 0.02 1270350 0.00 0.00 salamic_mesh_round_point 0.01 101.13 0.01 635172 0.00 0.00 salamic_mesh_edge_degree 0.01 101.14 0.01 3 3.33 3.33 salamic_lookup_table_alloc_hash 0.01 101.15 0.01 i3_eq 0.00 101.15 0.01 salamic_mesh_view_paint_quad 0.00 101.15 0.00 2962592 0.00 0.00 salamic_lookup_table_hash_step 0.00 101.15 0.00 3 0.00 0.00 salamic_lookup_table_alloc_entries 0.00 101.15 0.00 3 0.00 0.00 salamic_lookup_table_close 0.00 101.15 0.00 3 0.00 3.33 salamic_lookup_table_new 0.00 101.15 0.00 2 0.00 0.00 salamic_STL_write_triangle 0.00 101.15 0.00 1 0.00 0.00 salamic_STL_binary_read_header 0.00 101.15 0.00 1 0.00 40.00 salamic_STL_read 0.00 101.15 0.00 1 0.00 0.00 salamic_mesh_check_edge_degrees 0.00 101.15 0.00 1 0.00 0.00 salamic_mesh_recompute_box 0.00 101.15 0.00 1 0.00 0.00 salamic_mesh_view_GL_initialize_libraries 0.00 101.15 0.00 1 0.00 0.00 salamic_mesh_view_parse_options % 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 2 byte(s) for 0.01% of 101.15 seconds index % time self children called name [1] 100.0 100.47 0.67 1+12279997 [1] 100.25 0.06 2964136 salamic_lookup_table_get_hash_slot_index [3] 0.10 0.27 2752414 salamic_mesh_get_face_address [4] 0.04 0.26 2964137 salamic_mesh_read_STL [5] 0.03 0.02 1 salamic_mesh_set_links [10] 0.04 0.00 2964136 salamic_lookup_table_add [11] 0.00 0.04 1 salamic_STL_read [13] 0.01 0.02 635172 salamic_mesh_edge_degree [14] 0.00 0.00 1 salamic_mesh_check_edge_degrees [26] ----------------------------------------------- [2] 100.0 0.00 101.14 main [2] 100.47 0.67 1/1 salamic_mesh_read_STL [5] 0.00 0.00 1/1 salamic_mesh_view_GL_initialize_libraries [28] 0.00 0.00 1/1 salamic_mesh_view_parse_options [29] ----------------------------------------------- 2964136 salamic_lookup_table_add [11] [3] 99.2 100.25 0.06 2964136 salamic_lookup_table_get_hash_slot_index [3] 0.06 0.00 2964136/2964136 salamic_lookup_table_hash_start [9] 0.00 0.00 2962592/2962592 salamic_lookup_table_hash_step [21] 2964136 salamic_mesh_read_STL [5] ----------------------------------------------- 423450 salamic_STL_read [13] 1058620 salamic_mesh_set_links [10] 1270344 salamic_mesh_edge_degree [14] [4] 0.4 0.10 0.27 2752414 salamic_mesh_get_face_address [4] 0.02 0.25 1270350/1270350 salamic_mesh_round_point [6] 0.00 0.00 2/2 salamic_STL_write_triangle [24] 2964136 salamic_lookup_table_add [11] ----------------------------------------------- 2964136 salamic_lookup_table_get_hash_slot_index [3] 100.47 0.67 1/1 main [2] [5] 0.3 0.04 0.26 2964137 salamic_mesh_read_STL [5] 0.25 0.00 2964136/2964136 salamic_utils_hash_bytes [8] 0.00 0.01 3/3 salamic_lookup_table_new [18] 0.00 0.00 3/3 salamic_lookup_table_close [23] 0.00 0.00 1/1 salamic_mesh_recompute_box [27] 1 salamic_STL_read [13] 1 salamic_mesh_set_links [10] 1 salamic_mesh_check_edge_degrees [26] ----------------------------------------------- 0.02 0.25 1270350/1270350 salamic_mesh_get_face_address [4] [6] 0.3 0.02 0.25 1270350 salamic_mesh_round_point [6] 0.25 0.00 3811050/3811050 salamic_utils_round [7] ----------------------------------------------- 0.25 0.00 3811050/3811050 salamic_mesh_round_point [6] [7] 0.2 0.25 0.00 3811050 salamic_utils_round [7] ----------------------------------------------- 0.25 0.00 2964136/2964136 salamic_mesh_read_STL [5] [8] 0.2 0.25 0.00 2964136 salamic_utils_hash_bytes [8] ----------------------------------------------- 0.06 0.00 2964136/2964136 salamic_lookup_table_get_hash_slot_index [3] [9] 0.1 0.06 0.00 2964136 salamic_lookup_table_hash_start [9] ----------------------------------------------- 1 salamic_mesh_read_STL [5] [10] 0.0 0.03 0.02 1 salamic_mesh_set_links [10] 0.01 0.00 1270344/1905516 salamic_mesh_get_edge_address [16] 0.01 0.00 635172/1905516 salamic_mesh_find_edge_in_face [15] 1058620 salamic_mesh_get_face_address [4] ----------------------------------------------- 2964136 salamic_mesh_get_face_address [4] [11] 0.0 0.04 0.00 2964136 salamic_lookup_table_add [11] 2964136 salamic_lookup_table_get_hash_slot_index [3] ----------------------------------------------- 0.04 0.00 423450/423450 salamic_STL_read [13] [12] 0.0 0.04 0.00 423450 salamic_STL_binary_read_face [12] ----------------------------------------------- 1 salamic_mesh_read_STL [5] [13] 0.0 0.00 0.04 1 salamic_STL_read [13] 0.04 0.00 423450/423450 salamic_STL_binary_read_face [12] 0.00 0.00 1/1 salamic_STL_binary_read_header [25] 423450 salamic_mesh_get_face_address [4] ----------------------------------------------- 635172 salamic_mesh_check_edge_degrees [26] [14] 0.0 0.01 0.02 635172 salamic_mesh_edge_degree [14] 0.01 0.00 1270344/1905516 salamic_mesh_find_edge_in_face [15] 0.01 0.00 635172/1905516 salamic_mesh_get_edge_address [16] 1270344 salamic_mesh_get_face_address [4] ----------------------------------------------- 0.01 0.00 635172/1905516 salamic_mesh_set_links [10] 0.01 0.00 1270344/1905516 salamic_mesh_edge_degree [14] [15] 0.0 0.02 0.00 1905516 salamic_mesh_find_edge_in_face [15] ----------------------------------------------- 0.01 0.00 635172/1905516 salamic_mesh_edge_degree [14] 0.01 0.00 1270344/1905516 salamic_mesh_set_links [10] [16] 0.0 0.02 0.00 1905516 salamic_mesh_get_edge_address [16] ----------------------------------------------- 0.01 0.00 3/3 salamic_lookup_table_new [18] [17] 0.0 0.01 0.00 3 salamic_lookup_table_alloc_hash [17] ----------------------------------------------- 0.00 0.01 3/3 salamic_mesh_read_STL [5] [18] 0.0 0.00 0.01 3 salamic_lookup_table_new [18] 0.01 0.00 3/3 salamic_lookup_table_alloc_hash [17] 0.00 0.00 3/3 salamic_lookup_table_alloc_entries [22] ----------------------------------------------- [19] 0.0 0.01 0.00 i3_eq [19] ----------------------------------------------- [20] 0.0 0.01 0.00 salamic_mesh_view_paint_quad [20] ----------------------------------------------- 0.00 0.00 2962592/2962592 salamic_lookup_table_get_hash_slot_index [3] [21] 0.0 0.00 0.00 2962592 salamic_lookup_table_hash_step [21] ----------------------------------------------- 0.00 0.00 3/3 salamic_lookup_table_new [18] [22] 0.0 0.00 0.00 3 salamic_lookup_table_alloc_entries [22] ----------------------------------------------- 0.00 0.00 3/3 salamic_mesh_read_STL [5] [23] 0.0 0.00 0.00 3 salamic_lookup_table_close [23] ----------------------------------------------- 0.00 0.00 2/2 salamic_mesh_get_face_address [4] [24] 0.0 0.00 0.00 2 salamic_STL_write_triangle [24] ----------------------------------------------- 0.00 0.00 1/1 salamic_STL_read [13] [25] 0.0 0.00 0.00 1 salamic_STL_binary_read_header [25] ----------------------------------------------- 1 salamic_mesh_read_STL [5] [26] 0.0 0.00 0.00 1 salamic_mesh_check_edge_degrees [26] 635172 salamic_mesh_edge_degree [14] ----------------------------------------------- 0.00 0.00 1/1 salamic_mesh_read_STL [5] [27] 0.0 0.00 0.00 1 salamic_mesh_recompute_box [27] ----------------------------------------------- 0.00 0.00 1/1 main [2] [28] 0.0 0.00 0.00 1 salamic_mesh_view_GL_initialize_libraries [28] ----------------------------------------------- 0.00 0.00 1/1 main [2] [29] 0.0 0.00 0.00 1 salamic_mesh_view_parse_options [29] ----------------------------------------------- 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 `' 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 [19] i3_eq [9] salamic_lookup_table_hash_start [6] salamic_mesh_round_point [12] salamic_STL_binary_read_face [21] salamic_lookup_table_hash_step [10] salamic_mesh_set_links [25] salamic_STL_binary_read_header [18] salamic_lookup_table_new [28] salamic_mesh_view_GL_initialize_libraries [13] salamic_STL_read [26] salamic_mesh_check_edge_degrees [20] salamic_mesh_view_paint_quad [24] salamic_STL_write_triangle [14] salamic_mesh_edge_degree [29] salamic_mesh_view_parse_options [11] salamic_lookup_table_add [15] salamic_mesh_find_edge_in_face [8] salamic_utils_hash_bytes [22] salamic_lookup_table_alloc_entries [16] salamic_mesh_get_edge_address [7] salamic_utils_round [17] salamic_lookup_table_alloc_hash [4] salamic_mesh_get_face_address [1] [23] salamic_lookup_table_close [5] salamic_mesh_read_STL [3] salamic_lookup_table_get_hash_slot_index [27] salamic_mesh_recompute_box