Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare axe graph #96

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 52 additions & 42 deletions tests/compare/axe/test/test1.txt
Original file line number Diff line number Diff line change
@@ -1,47 +1,57 @@
Index % CPU Time:Total CPU Time:Self CPU Time:Children Name Index
----- ---------------- ------------- ----------------- ------------------- -----
0.0 3.120 _start [2]
[1] 100.0 0.0 3.120 __libc_start_main [1]
0.0 3.120 main [3]

<spontaneous>
[2] 100.0 0.0 3.120 _start [2]
0.0 3.120 __libc_start_main [1]

0.0 3.120 __libc_start_main [1]
[3] 100.0 0.0 3.120 main [3]
0.010 0.170 print_matrix [7]
0.0 2.940 matrix_multiply [5]

2.050 0.890 matrix_multiply [5]
[4] 94.23 2.050 0.890 add_elements [4]
0.890 0.0 elements_multiply [6]

0.0 2.940 main [3]
[5] 94.23 0.0 2.940 matrix_multiply [5]
2.050 0.890 add_elements [4]

0.890 0.0 add_elements [4]
[6] 28.53 0.890 0.0 elements_multiply [6]

0.010 0.170 main [3]
[7] 5.77 0.010 0.170 print_matrix [7]
0.170 0.0 printf [8]

0.170 0.0 print_matrix [7]
[8] 5.45 0.170 0.0 printf [8]

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]



Index by function name

Index Function
----- -----------------
[1] __libc_start_main
[2] _start
[4] add_elements
Index Function
----- ----------------------
[1] __libc_start_main_impl
[9] __printf
[2] _start
[5] add_elements
[6] elements_multiply
[3] main
[5] matrix_multiply
[7] print_matrix
[8] printf
[10] initialize_tables
[3] main
[4] matrix_multiply
[7] print_matrix
[8] print_raw
99 changes: 47 additions & 52 deletions tests/compare/axe/test/test2.txt
Original file line number Diff line number Diff line change
@@ -1,57 +1,52 @@
Index % CPU Time:Total CPU Time:Self CPU Time:Children Name Index
----- ---------------- ------------- ----------------- ------------------- -----
0.0 9.890 _start [2]
[1] 100.0 0.0 9.890 __libc_start_main [1]
0.0 9.890 main [3]

<spontaneous>
[2] 100.0 0.0 9.890 _start [2]
0.0 9.890 __libc_start_main [1]

0.0 9.890 __libc_start_main [1]
[3] 100.0 0.0 9.890 main [3]
0.026 0.104 print_matrix [7]
0.0 0.010 free_table_memory [10]
0.0 9.750 matrix_multiply [5]

7.662 2.088 matrix_multiply [5]
[4] 98.58 7.662 2.088 add_elements [4]
2.088 0.0 elements_multiply [6]

0.0 9.750 main [3]
[5] 98.58 0.0 9.750 matrix_multiply [5]
7.662 2.088 add_elements [4]

2.088 0.0 add_elements [4]
[6] 21.11 2.088 0.0 elements_multiply [6]

0.026 0.104 main [3]
[7] 1.31 0.026 0.104 print_matrix [7]
0.104 0.0 printf [8]

0.104 0.0 print_matrix [7]
[8] 1.05 0.104 0.0 printf [8]

0.010 0.0 free_table_memory [10]
[9] 0.1 0.010 0.0 _int_free [9]

0.0 0.010 main [3]
[10] 0.1 0.0 0.010 free_table_memory [10]
0.010 0.0 _int_free [9]

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]



Index by function name

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