Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ms/call ms/call name 59.75 3.28 3.28 18620464 0.00 0.00 v2db_interp_nearest 15.67 4.14 0.86 18620464 0.00 0.00 get_V4 9.29 4.65 0.51 37240928 0.00 0.00 get_norm 6.19 4.99 0.34 37240928 0.00 0.00 point_diff 3.10 5.16 0.17 27803 0.01 0.19 get_Delta_V_of_pi 1.82 5.26 0.10 18620464 0.00 0.00 get_dot 1.09 5.32 0.06 1 60.01 140.02 v2db_from_file 0.91 5.37 0.05 1 50.01 80.01 v2db_alloc 0.73 5.41 0.04 18620464 0.00 0.00 v2db_interp 0.55 5.44 0.03 1335895 0.00 0.00 malloc_or_die 0.36 5.46 0.02 get_norm_squared 0.18 5.47 0.01 1058855 0.00 0.00 get_distance_squared 0.18 5.48 0.01 28000 0.00 0.00 x_to_uniform_y 0.18 5.49 0.01 point_avg 0.00 5.49 0.00 28000 0.00 0.19 get_Delta_H 0.00 5.49 0.00 28000 0.00 0.19 metro_step 0.00 5.49 0.00 1002 0.00 0.00 int_malloc_or_die 0.00 5.49 0.00 65 0.00 0.00 pmt_send_x_to_y_n2_delta 0.00 5.49 0.00 28 0.00 189.64 metro_sweep 0.00 5.49 0.00 27 0.00 0.00 get_rho_L_pi 0.00 5.49 0.00 27 0.00 0.00 pmt_get_cycle_counts_and_lmax 0.00 5.49 0.00 6 0.00 0.00 float_malloc_or_die 0.00 5.49 0.00 6 0.00 0.00 vector_accumulate 0.00 5.49 0.00 2 0.00 0.00 char_malloc_or_die 0.00 5.49 0.00 2 0.00 0.00 pmt_alloc 0.00 5.49 0.00 2 0.00 0.00 pmt_free 0.00 5.49 0.00 2 0.00 0.00 vector_delta 0.00 5.49 0.00 1 0.00 9.45 allocate_metro_windows 0.00 5.49 0.00 1 0.00 0.00 close_file_or_die 0.00 5.49 0.00 1 0.00 0.00 free_metro_windows 0.00 5.49 0.00 1 0.00 0.00 free_points 0.00 5.49 0.00 1 0.00 141.40 get_H_of_pi 0.00 5.49 0.00 1 0.00 0.00 get_cubic_lattice_points 0.00 5.49 0.00 1 0.00 0.00 get_metro_window_radius 0.00 5.49 0.00 1 0.00 0.00 open_file_or_die 0.00 5.49 0.00 1 0.00 0.00 pmt_get_num_two_cycles 0.00 5.49 0.00 1 0.00 0.00 vector_col5_printf_decimated 0.00 5.49 0.00 1 0.00 0.00 vector_scale % 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.18% of 5.49 seconds index % time self children called name [1] 99.5 0.00 5.46 main [1] 0.00 5.31 28/28 metro_sweep [3] 0.00 0.14 1/1 get_H_of_pi [10] 0.00 0.01 1/1 allocate_metro_windows [20] 0.00 0.00 2/2 pmt_alloc [21] 0.00 0.00 1/1 get_cubic_lattice_points [22] 0.00 0.00 27/27 get_rho_L_pi [25] 0.00 0.00 6/6 float_malloc_or_die [27] 0.00 0.00 6/6 vector_accumulate [28] 0.00 0.00 2/2 vector_delta [31] 0.00 0.00 2/2 pmt_free [30] 0.00 0.00 1/1 get_metro_window_radius [35] 0.00 0.00 1/1 pmt_get_num_two_cycles [37] 0.00 0.00 1/1002 int_malloc_or_die [23] 0.00 0.00 1/1 vector_scale [39] 0.00 0.00 1/1 free_points [34] 0.00 0.00 1/1 free_metro_windows [33] 0.00 0.00 1/1 vector_col5_printf_decimated [38] ----------------------------------------------- 0.00 5.31 28000/28000 metro_sweep [3] [2] 96.7 0.00 5.31 28000 metro_step [2] 0.00 5.30 28000/28000 get_Delta_H [4] 0.01 0.00 28000/28000 x_to_uniform_y [18] 0.00 0.00 65/65 pmt_send_x_to_y_n2_delta [24] ----------------------------------------------- 0.00 5.31 28/28 main [1] [3] 96.7 0.00 5.31 28 metro_sweep [3] 0.00 5.31 28000/28000 metro_step [2] ----------------------------------------------- 0.00 5.30 28000/28000 metro_step [2] [4] 96.5 0.00 5.30 28000 get_Delta_H [4] 0.17 5.13 27803/27803 get_Delta_V_of_pi [5] 0.00 0.00 57855/1058855 get_distance_squared [17] ----------------------------------------------- 0.17 5.13 27803/27803 get_Delta_H [4] [5] 96.5 0.17 5.13 27803 get_Delta_V_of_pi [5] 0.84 4.29 18120964/18620464 get_V4 [6] ----------------------------------------------- 0.02 0.12 499500/18620464 get_H_of_pi [10] 0.84 4.29 18120964/18620464 get_Delta_V_of_pi [5] [6] 96.0 0.86 4.41 18620464 get_V4 [6] 3.28 0.00 18620464/18620464 v2db_interp_nearest [7] 0.51 0.00 37240928/37240928 get_norm [8] 0.34 0.00 37240928/37240928 point_diff [9] 0.06 0.08 1/1 v2db_from_file [11] 0.10 0.00 18620464/18620464 get_dot [12] 0.04 0.00 18620464/18620464 v2db_interp [14] ----------------------------------------------- 3.28 0.00 18620464/18620464 get_V4 [6] [7] 59.7 3.28 0.00 18620464 v2db_interp_nearest [7] ----------------------------------------------- 0.51 0.00 37240928/37240928 get_V4 [6] [8] 9.3 0.51 0.00 37240928 get_norm [8] ----------------------------------------------- 0.34 0.00 37240928/37240928 get_V4 [6] [9] 6.2 0.34 0.00 37240928 point_diff [9] ----------------------------------------------- 0.00 0.14 1/1 main [1] [10] 2.6 0.00 0.14 1 get_H_of_pi [10] 0.02 0.12 499500/18620464 get_V4 [6] 0.00 0.00 1000/1058855 get_distance_squared [17] ----------------------------------------------- 0.06 0.08 1/1 get_V4 [6] [11] 2.6 0.06 0.08 1 v2db_from_file [11] 0.05 0.03 1/1 v2db_alloc [13] 0.00 0.00 1/1 open_file_or_die [36] 0.00 0.00 1/1 close_file_or_die [32] ----------------------------------------------- 0.10 0.00 18620464/18620464 get_V4 [6] [12] 1.8 0.10 0.00 18620464 get_dot [12] ----------------------------------------------- 0.05 0.03 1/1 v2db_from_file [11] [13] 1.5 0.05 0.03 1 v2db_alloc [13] 0.03 0.00 1335891/1335895 malloc_or_die [15] ----------------------------------------------- 0.04 0.00 18620464/18620464 get_V4 [6] [14] 0.7 0.04 0.00 18620464 v2db_interp [14] ----------------------------------------------- 0.00 0.00 1/1335895 allocate_metro_windows [20] 0.00 0.00 1/1335895 get_cubic_lattice_points [22] 0.00 0.00 2/1335895 pmt_alloc [21] 0.03 0.00 1335891/1335895 v2db_alloc [13] [15] 0.5 0.03 0.00 1335895 malloc_or_die [15] ----------------------------------------------- [16] 0.4 0.02 0.00 get_norm_squared [16] ----------------------------------------------- 0.00 0.00 1000/1058855 get_H_of_pi [10] 0.00 0.00 57855/1058855 get_Delta_H [4] 0.01 0.00 1000000/1058855 allocate_metro_windows [20] [17] 0.2 0.01 0.00 1058855 get_distance_squared [17] ----------------------------------------------- 0.01 0.00 28000/28000 metro_step [2] [18] 0.2 0.01 0.00 28000 x_to_uniform_y [18] ----------------------------------------------- [19] 0.2 0.01 0.00 point_avg [19] ----------------------------------------------- 0.00 0.01 1/1 main [1] [20] 0.2 0.00 0.01 1 allocate_metro_windows [20] 0.01 0.00 1000000/1058855 get_distance_squared [17] 0.00 0.00 1/1335895 malloc_or_die [15] 0.00 0.00 1001/1002 int_malloc_or_die [23] ----------------------------------------------- 0.00 0.00 2/2 main [1] [21] 0.0 0.00 0.00 2 pmt_alloc [21] 0.00 0.00 2/1335895 malloc_or_die [15] ----------------------------------------------- 0.00 0.00 1/1 main [1] [22] 0.0 0.00 0.00 1 get_cubic_lattice_points [22] 0.00 0.00 1/1335895 malloc_or_die [15] ----------------------------------------------- 0.00 0.00 1/1002 main [1] 0.00 0.00 1001/1002 allocate_metro_windows [20] [23] 0.0 0.00 0.00 1002 int_malloc_or_die [23] ----------------------------------------------- 0.00 0.00 65/65 metro_step [2] [24] 0.0 0.00 0.00 65 pmt_send_x_to_y_n2_delta [24] ----------------------------------------------- 0.00 0.00 27/27 main [1] [25] 0.0 0.00 0.00 27 get_rho_L_pi [25] 0.00 0.00 27/27 pmt_get_cycle_counts_and_lmax [26] ----------------------------------------------- 0.00 0.00 27/27 get_rho_L_pi [25] [26] 0.0 0.00 0.00 27 pmt_get_cycle_counts_and_lmax [26] 0.00 0.00 1/2 char_malloc_or_die [29] ----------------------------------------------- 0.00 0.00 6/6 main [1] [27] 0.0 0.00 0.00 6 float_malloc_or_die [27] ----------------------------------------------- 0.00 0.00 6/6 main [1] [28] 0.0 0.00 0.00 6 vector_accumulate [28] ----------------------------------------------- 0.00 0.00 1/2 pmt_get_num_two_cycles [37] 0.00 0.00 1/2 pmt_get_cycle_counts_and_lmax [26] [29] 0.0 0.00 0.00 2 char_malloc_or_die [29] ----------------------------------------------- 0.00 0.00 2/2 main [1] [30] 0.0 0.00 0.00 2 pmt_free [30] ----------------------------------------------- 0.00 0.00 2/2 main [1] [31] 0.0 0.00 0.00 2 vector_delta [31] ----------------------------------------------- 0.00 0.00 1/1 v2db_from_file [11] [32] 0.0 0.00 0.00 1 close_file_or_die [32] ----------------------------------------------- 0.00 0.00 1/1 main [1] [33] 0.0 0.00 0.00 1 free_metro_windows [33] ----------------------------------------------- 0.00 0.00 1/1 main [1] [34] 0.0 0.00 0.00 1 free_points [34] ----------------------------------------------- 0.00 0.00 1/1 main [1] [35] 0.0 0.00 0.00 1 get_metro_window_radius [35] ----------------------------------------------- 0.00 0.00 1/1 v2db_from_file [11] [36] 0.0 0.00 0.00 1 open_file_or_die [36] ----------------------------------------------- 0.00 0.00 1/1 main [1] [37] 0.0 0.00 0.00 1 pmt_get_num_two_cycles [37] 0.00 0.00 1/2 char_malloc_or_die [29] ----------------------------------------------- 0.00 0.00 1/1 main [1] [38] 0.0 0.00 0.00 1 vector_col5_printf_decimated [38] ----------------------------------------------- 0.00 0.00 1/1 main [1] [39] 0.0 0.00 0.00 1 vector_scale [39] ----------------------------------------------- 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 [20] allocate_metro_windows [35] get_metro_window_radius [24] pmt_send_x_to_y_n2_delta [29] char_malloc_or_die [8] get_norm [19] point_avg [32] close_file_or_die [16] get_norm_squared [9] point_diff [27] float_malloc_or_die [25] get_rho_L_pi [13] v2db_alloc [33] free_metro_windows [23] int_malloc_or_die [11] v2db_from_file [34] free_points [15] malloc_or_die [14] v2db_interp [4] get_Delta_H [2] metro_step [7] v2db_interp_nearest [5] get_Delta_V_of_pi [3] metro_sweep [28] vector_accumulate [10] get_H_of_pi [36] open_file_or_die [38] vector_col5_printf_decimated [6] get_V4 [21] pmt_alloc [31] vector_delta [22] get_cubic_lattice_points [30] pmt_free [39] vector_scale [17] get_distance_squared [26] pmt_get_cycle_counts_and_lmax [18] x_to_uniform_y [12] get_dot [37] pmt_get_num_two_cycles