TD1_DEV51_Qualite_Algo/gprof3.txt
2024-09-03 12:06:21 +02:00

59 lines
2.9 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls s/call s/call name
80.61 34.07 34.07 10010000 0.00 0.00 bubblesort
18.16 41.74 7.67 10000000 0.00 0.00 find_rank_student
0.92 42.13 0.39 1 0.39 42.13 sort_students
0.33 42.27 0.14 1000 0.00 0.00 generate_array
0.14 42.33 0.06 1 0.06 0.06 generate_ranks
0.00 42.33 0.00 2 0.00 0.00 free_array
0.00 42.33 0.00 1 0.00 0.14 generate_grades
Call graph
granularity: each sample hit covers 2 byte(s) for 0.02% of 42.33 seconds
index % time self children called name
<spontaneous>
[1] 100.0 0.00 42.33 main [1]
0.39 41.74 1/1 sort_students [2]
0.00 0.14 1/1 generate_grades [6]
0.06 0.00 1/1 generate_ranks [7]
0.00 0.00 2/2 free_array [8]
-----------------------------------------------
0.39 41.74 1/1 main [1]
[2] 99.5 0.39 41.74 1 sort_students [2]
7.67 34.03 10000000/10000000 find_rank_student [3]
0.03 0.00 10000/10010000 bubblesort [4]
-----------------------------------------------
7.67 34.03 10000000/10000000 sort_students [2]
[3] 98.5 7.67 34.03 10000000 find_rank_student [3]
34.03 0.00 10000000/10010000 bubblesort [4]
-----------------------------------------------
0.03 0.00 10000/10010000 sort_students [2]
34.03 0.00 10000000/10010000 find_rank_student [3]
[4] 80.5 34.07 0.00 10010000 bubblesort [4]
-----------------------------------------------
0.14 0.00 1000/1000 generate_grades [6]
[5] 0.3 0.14 0.00 1000 generate_array [5]
-----------------------------------------------
0.00 0.14 1/1 main [1]
[6] 0.3 0.00 0.14 1 generate_grades [6]
0.14 0.00 1000/1000 generate_array [5]
-----------------------------------------------
0.06 0.00 1/1 main [1]
[7] 0.1 0.06 0.00 1 generate_ranks [7]
-----------------------------------------------
0.00 0.00 2/2 main [1]
[8] 0.0 0.00 0.00 2 free_array [8]
-----------------------------------------------
Index by function name
[4] bubblesort [5] generate_array [2] sort_students
[3] find_rank_student [6] generate_grades
[8] free_array [7] generate_ranks