Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/KasiaS999/gprof2dot into …
Browse files Browse the repository at this point in the history
…compare_axe_graph
  • Loading branch information
KasiaS999 committed Sep 8, 2024
2 parents ae4fb55 + 6edec70 commit a22b2c0
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 93 deletions.
98 changes: 49 additions & 49 deletions tests/compare/axe/test/test1.txt
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
Index % CPU Time:Total CPU Time:Self CPU Time:Children Name Index
----- ---------------- ------------- ----------------- ------------------------ -----
0.0 25.960 _start [2]
[1] 100.0 0.0 25.960 __libc_start_main_impl [1]
0.0 25.960 main [3]
<spontaneous>
[2] 100.0 0.0 25.960 _start [2]
0.0 25.960 __libc_start_main_impl [1]
0.0 25.960 __libc_start_main_impl [1]
[3] 100.0 0.0 25.960 main [3]
0.020 25.450 matrix_multiply [4]
0.010 0.0 initialize_tables [10]
0.0 0.480 print_matrix [7]
0.020 25.450 main [3]
[4] 98.11 0.020 25.450 matrix_multiply [4]
22.649 2.801 add_elements [5]
22.649 2.801 matrix_multiply [4]
[5] 98.04 22.649 2.801 add_elements [5]
2.801 0.0 elements_multiply [6]
2.801 0.0 add_elements [5]
[6] 10.79 2.801 0.0 elements_multiply [6]
0.0 0.480 main [3]
[7] 1.85 0.0 0.480 print_matrix [7]
0.010 0.470 print_raw [8]
0.010 0.470 print_matrix [7]
[8] 1.85 0.010 0.470 print_raw [8]
0.470 0.0 __printf [9]
0.470 0.0 print_raw [8]
[9] 1.81 0.470 0.0 __printf [9]
0.010 0.0 main [3]
[10] 0.04 0.010 0.0 initialize_tables [10]
0.0 25.960 _start [2]
[1] 100.0 0.0 25.960 __libc_start_main_impl [1]
0.0 25.960 main [3]

<spontaneous>
[2] 100.0 0.0 25.960 _start [2]
0.0 25.960 __libc_start_main_impl [1]

0.0 25.960 __libc_start_main_impl [1]
[3] 100.0 0.0 25.960 main [3]
0.020 25.450 matrix_multiply [4]
0.010 0.0 initialize_tables [10]
0.0 0.480 print_matrix [7]

0.020 25.450 main [3]
[4] 98.11 0.020 25.450 matrix_multiply [4]
22.649 2.801 add_elements [5]

22.649 2.801 matrix_multiply [4]
[5] 98.04 22.649 2.801 add_elements [5]
2.801 0.0 elements_multiply [6]

2.801 0.0 add_elements [5]
[6] 10.79 2.801 0.0 elements_multiply [6]

0.0 0.480 main [3]
[7] 1.85 0.0 0.480 print_matrix [7]
0.010 0.470 print_raw [8]

0.010 0.470 print_matrix [7]
[8] 1.85 0.010 0.470 print_raw [8]
0.470 0.0 __printf [9]

0.470 0.0 print_raw [8]
[9] 1.81 0.470 0.0 __printf [9]

0.010 0.0 main [3]
[10] 0.04 0.010 0.0 initialize_tables [10]



Index by function name

Index Function
Index Function
----- ----------------------
[1] __libc_start_main_impl
[9] __printf
[2] _start
[5] add_elements
[6] elements_multiply
[10] initialize_tables
[3] main
[4] matrix_multiply
[7] print_matrix
[8] print_raw
[9] __printf
[2] _start
[5] add_elements
[6] elements_multiply
[10] initialize_tables
[3] main
[4] matrix_multiply
[7] print_matrix
[8] print_raw
88 changes: 44 additions & 44 deletions tests/compare/axe/test/test2.txt
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
Index % CPU Time:Total CPU Time:Self CPU Time:Children Name Index
----- ---------------- ------------- ----------------- ------------------------ -----
0.0 6.720 _start [2]
[1] 100.0 0.0 6.720 __libc_start_main_impl [1]
0.0 6.720 main [3]
<spontaneous>
[2] 100.0 0.0 6.720 _start [2]
0.0 6.720 __libc_start_main_impl [1]
0.0 6.720 __libc_start_main_impl [1]
[3] 100.0 0.0 6.720 main [3]
0.010 6.190 matrix_multiply [4]
0.010 0.510 print_matrix [7]
0.010 6.190 main [3]
[4] 92.26 0.010 6.190 matrix_multiply [4]
5.280 0.910 add_elements [5]
5.280 0.910 matrix_multiply [4]
[5] 92.11 5.280 0.910 add_elements [5]
0.910 0.0 elements_multiply [6]
0.910 0.0 add_elements [5]
[6] 13.54 0.910 0.0 elements_multiply [6]
0.010 0.510 main [3]
[7] 7.74 0.010 0.510 print_matrix [7]
0.500 0.0 __printf [8]
0.010 0.0 putchar [9]
0.500 0.0 print_matrix [7]
[8] 7.44 0.500 0.0 __printf [8]
0.010 0.0 print_matrix [7]
[9] 0.15 0.010 0.0 putchar [9]
0.0 6.720 _start [2]
[1] 100.0 0.0 6.720 __libc_start_main_impl [1]
0.0 6.720 main [3]

<spontaneous>
[2] 100.0 0.0 6.720 _start [2]
0.0 6.720 __libc_start_main_impl [1]

0.0 6.720 __libc_start_main_impl [1]
[3] 100.0 0.0 6.720 main [3]
0.010 6.190 matrix_multiply [4]
0.010 0.510 print_matrix [7]

0.010 6.190 main [3]
[4] 92.26 0.010 6.190 matrix_multiply [4]
5.280 0.910 add_elements [5]

5.280 0.910 matrix_multiply [4]
[5] 92.11 5.280 0.910 add_elements [5]
0.910 0.0 elements_multiply [6]

0.910 0.0 add_elements [5]
[6] 13.54 0.910 0.0 elements_multiply [6]

0.010 0.510 main [3]
[7] 7.74 0.010 0.510 print_matrix [7]
0.500 0.0 __printf [8]
0.010 0.0 putchar [9]

0.500 0.0 print_matrix [7]
[8] 7.44 0.500 0.0 __printf [8]

0.010 0.0 print_matrix [7]
[9] 0.15 0.010 0.0 putchar [9]



Index by function name

Index Function
Index Function
----- ----------------------
[1] __libc_start_main_impl
[8] __printf
[2] _start
[5] add_elements
[6] elements_multiply
[3] main
[4] matrix_multiply
[7] print_matrix
[9] putchar
[8] __printf
[2] _start
[5] add_elements
[6] elements_multiply
[3] main
[4] matrix_multiply
[7] print_matrix
[9] putchar

0 comments on commit a22b2c0

Please sign in to comment.