64 lines
6.5 KiB
Plaintext
64 lines
6.5 KiB
Plaintext
Flat profile:
|
||
|
||
Each sample counts as 0.01 seconds.
|
||
% cumulative self self total
|
||
time seconds seconds calls ms/call ms/call name
|
||
54.17 0.39 0.39 10000000 0.00 0.00 find_rank_student
|
||
27.78 0.59 0.20 1 200.00 680.00 sort_students
|
||
6.94 0.64 0.05 15000000 0.00 0.00 sift
|
||
5.56 0.68 0.04 10000 0.00 0.01 heapsort
|
||
4.17 0.71 0.03 1 30.00 30.00 generate_ranks
|
||
1.39 0.72 0.01 1000 0.01 0.01 generate_array
|
||
0.00 0.72 0.00 2 0.00 0.00 free_array
|
||
0.00 0.72 0.00 1 0.00 10.00 generate_grades
|
||
|
||
Call graph
|
||
|
||
|
||
granularity: each sample hit covers 4 byte(s) for 1.39% of 0.72 seconds
|
||
|
||
index % time self children called name
|
||
<spontaneous>
|
||
[1] 100.0 0.00 0.72 main [1]
|
||
0.20 0.48 1/1 sort_students [2]
|
||
0.03 0.00 1/1 generate_ranks [6]
|
||
0.00 0.01 1/1 generate_grades [8]
|
||
0.00 0.00 2/2 free_array [10]
|
||
-----------------------------------------------
|
||
0.20 0.48 1/1 main [1]
|
||
[2] 94.4 0.20 0.48 1 sort_students [2]
|
||
0.39 0.00 10000000/10000000 find_rank_student [3]
|
||
0.04 0.05 10000/10000 heapsort [4]
|
||
-----------------------------------------------
|
||
0.39 0.00 10000000/10000000 sort_students [2]
|
||
[3] 54.2 0.39 0.00 10000000 find_rank_student [3]
|
||
-----------------------------------------------
|
||
0.04 0.05 10000/10000 sort_students [2]
|
||
[4] 12.5 0.04 0.05 10000 heapsort [4]
|
||
0.05 0.00 15000000/15000000 sift [5]
|
||
-----------------------------------------------
|
||
3848199 sift [5]
|
||
0.05 0.00 15000000/15000000 heapsort [4]
|
||
[5] 6.9 0.05 0.00 15000000+3848199 sift [5]
|
||
3848199 sift [5]
|
||
-----------------------------------------------
|
||
0.03 0.00 1/1 main [1]
|
||
[6] 4.2 0.03 0.00 1 generate_ranks [6]
|
||
-----------------------------------------------
|
||
0.01 0.00 1000/1000 generate_grades [8]
|
||
[7] 1.4 0.01 0.00 1000 generate_array [7]
|
||
-----------------------------------------------
|
||
0.00 0.01 1/1 main [1]
|
||
[8] 1.4 0.00 0.01 1 generate_grades [8]
|
||
0.01 0.00 1000/1000 generate_array [7]
|
||
-----------------------------------------------
|
||
0.00 0.00 2/2 main [1]
|
||
[10] 0.0 0.00 0.00 2 free_array [10]
|
||
-----------------------------------------------
|
||
|
||
Index by function name
|
||
|
||
[3] find_rank_student [8] generate_grades [5] sift
|
||
[10] free_array [6] generate_ranks [2] sort_students
|
||
[7] generate_array [4] heapsort
|