Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls us/call us/call name 30.14 0.44 0.44 3818733 0.12 0.12 ft_trig_pseudo_polarize 28.77 0.86 0.42 4999885 0.08 0.08 square_root 9.59 1.00 0.14 51985248 0.00 0.00 FT_MulFix_x86_64 9.59 1.14 0.14 2000000 0.07 0.07 FT_Vector_NormLen 6.17 1.23 0.09 1000000 0.09 1.44 get_min_distance [for conic curves] 4.11 1.29 0.06 1999946 0.03 0.25 cube_root 3.43 1.34 0.05 3999998 0.01 0.13 FT_Vector_Length 2.74 1.38 0.04 11995084 0.00 0.00 FT_DivFix 2.74 1.42 0.04 1000000 0.04 0.65 solve_cubic_equation 1.37 1.44 0.02 3818733 0.01 0.01 ft_trig_prenorm 1.37 1.46 0.02 main 0.00 1.46 0.00 3818733 0.00 0.00 ft_trig_downscale 0.00 1.46 0.00 27 0.00 0.08 solve_quadratic_equation % 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. Copyright (C) 2012-2020 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. Call graph (explanation follows) granularity: each sample hit covers 2 byte(s) for 0.68% of 1.46 seconds index % time self children called name [1] 100.0 0.02 1.44 main [1] 0.09 1.35 1000000/1000000 get_min_distance [2] ----------------------------------------------- 0.09 1.35 1000000/1000000 main [1] [2] 98.6 0.09 1.35 1000000 get_min_distance [2] 0.04 0.61 1000000/1000000 solve_cubic_equation [3] 0.05 0.46 3999998/3999998 FT_Vector_Length [4] 0.14 0.00 2000000/2000000 FT_Vector_NormLen [9] 0.05 0.00 19000013/51985248 FT_MulFix_x86_64 [8] ----------------------------------------------- 0.04 0.61 1000000/1000000 get_min_distance [2] [3] 44.4 0.04 0.61 1000000 solve_cubic_equation [3] 0.06 0.44 1999946/1999946 cube_root [5] 0.08 0.00 999972/4999885 square_root [7] 0.02 0.00 5999838/51985248 FT_MulFix_x86_64 [8] 0.01 0.00 2999919/11995084 FT_DivFix [10] 0.00 0.00 27/27 solve_quadratic_equation [12] ----------------------------------------------- 0.05 0.46 3999998/3999998 get_min_distance [2] [4] 34.9 0.05 0.46 3999998 FT_Vector_Length [4] 0.44 0.00 3818733/3818733 ft_trig_pseudo_polarize [6] 0.02 0.00 3818733/3818733 ft_trig_prenorm [11] 0.00 0.00 3818733/3818733 ft_trig_downscale [13] ----------------------------------------------- 0.06 0.44 1999946/1999946 solve_cubic_equation [3] [5] 34.2 0.06 0.44 1999946 cube_root [5] 0.34 0.00 3999890/4999885 square_root [7] 0.07 0.00 26985351/51985248 FT_MulFix_x86_64 [8] 0.03 0.00 8995117/11995084 FT_DivFix [10] ----------------------------------------------- 0.44 0.00 3818733/3818733 FT_Vector_Length [4] [6] 30.1 0.44 0.00 3818733 ft_trig_pseudo_polarize [6] ----------------------------------------------- 0.00 0.00 23/4999885 solve_quadratic_equation [12] 0.08 0.00 999972/4999885 solve_cubic_equation [3] 0.34 0.00 3999890/4999885 cube_root [5] [7] 28.8 0.42 0.00 4999885 square_root [7] ----------------------------------------------- 0.00 0.00 46/51985248 solve_quadratic_equation [12] 0.02 0.00 5999838/51985248 solve_cubic_equation [3] 0.05 0.00 19000013/51985248 get_min_distance [2] 0.07 0.00 26985351/51985248 cube_root [5] [8] 9.6 0.14 0.00 51985248 FT_MulFix_x86_64 [8] ----------------------------------------------- 0.14 0.00 2000000/2000000 get_min_distance [2] [9] 9.6 0.14 0.00 2000000 FT_Vector_NormLen [9] ----------------------------------------------- 0.00 0.00 48/11995084 solve_quadratic_equation [12] 0.01 0.00 2999919/11995084 solve_cubic_equation [3] 0.03 0.00 8995117/11995084 cube_root [5] [10] 2.7 0.04 0.00 11995084 FT_DivFix [10] ----------------------------------------------- 0.02 0.00 3818733/3818733 FT_Vector_Length [4] [11] 1.4 0.02 0.00 3818733 ft_trig_prenorm [11] ----------------------------------------------- 0.00 0.00 27/27 solve_cubic_equation [3] [12] 0.0 0.00 0.00 27 solve_quadratic_equation [12] 0.00 0.00 23/4999885 square_root [7] 0.00 0.00 48/11995084 FT_DivFix [10] 0.00 0.00 46/51985248 FT_MulFix_x86_64 [8] ----------------------------------------------- 0.00 0.00 3818733/3818733 FT_Vector_Length [4] [13] 0.0 0.00 0.00 3818733 ft_trig_downscale [13] ----------------------------------------------- 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. Copyright (C) 2012-2020 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. Index by function name [10] FT_DivFix [13] ft_trig_downscale (fttrigon.c) [3] solve_cubic_equation [8] FT_MulFix_x86_64 (ftcalc.h) [11] ft_trig_prenorm (fttrigon.c) [12] solve_quadratic_equation [4] FT_Vector_Length [6] ft_trig_pseudo_polarize (fttrigon.c) [7] square_root (ext.h) [9] FT_Vector_NormLen (ftcalc.c) [2] get_min_distance [5] cube_root (ext.h) [1] main