|
|
Line 1: |
Line 1: |
− | == McPAT performance Counters ==
| |
| | | |
− | The goal is to interface eSESC performance simulator with McPAT power,area, and timing model. First step is extracting the performance counters from McPAT.
| |
− |
| |
− | {| class="wikitable" style="border:1; width:600pt; height:2pt"
| |
− | |- style="background:lightgray; text-align:left;"
| |
− | ! 1. ICache Counters
| |
− | |}
| |
− |
| |
− | {| class="wikitable" style="text-align:left; border:1px color:lightblue; cellpadding:4 "
| |
− | |- style="background:lightblue; color:black"
| |
− | ! # || Counter Name
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 1
| |
− | | total_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 2
| |
− | | read_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 3
| |
− | | read_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 4
| |
− | | replacements (find an equivalent in the WB from esesc)
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 5
| |
− | | read_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 6
| |
− | | total_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 7
| |
− | | total_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 8
| |
− | | miss_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 9
| |
− | | fill_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 10
| |
− | | prefetch_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 12
| |
− | | prefetch_buffer_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 13
| |
− | | prefetch_buffer_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 14
| |
− | | prefetch_buffer_reads
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="border:0; width:600pt; height:2pt"
| |
− | |- style="background:lightgray; text-align:left;"
| |
− | ! 2. Branch Predictor Counter
| |
− | |}
| |
− |
| |
− | {| class="wikitable" style="text-align:left; border:1 solid lightblue; "
| |
− | |- style="background:lightblue; color:black"
| |
− | ! # || Counter Name
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 1
| |
− | | predictor_accesses
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="border:0; width:600pt; height:2pt"
| |
− | |- style="background:lightgray; text-align:left;"
| |
− | ! 3. i-TLB
| |
− | |}
| |
− |
| |
− | {| class="wikitable" style="text-align:left; border:1 color:lightblue; cellpadding:4 "
| |
− | |- style="background:lightblue; color:black"
| |
− | ! # || Counter Name
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 1
| |
− | | total_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 2
| |
− | | total_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 3
| |
− | | total_misses
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="border:0; width:600pt; height:2pt"
| |
− | |- style="background:lightgray; text-align:left;"
| |
− | ! 4. Data TLB
| |
− | |}
| |
− |
| |
− | {| class="wikitable" style="text-align:left; border:1 color:lightblue; cellpadding:4 "
| |
− | |- style="background:lightblue; color:black"
| |
− | ! # || Counter Name
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 1
| |
− | | total_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 2
| |
− | | read_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 3
| |
− | | write_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 4
| |
− | | write_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 5
| |
− | | read_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 6
| |
− | | total_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 7
| |
− | | read_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 8
| |
− | | write_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 9
| |
− | | total_misses
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="border:0; width:600pt; height:2pt"
| |
− | |- style="background:lightgray; text-align:left;"
| |
− | ! 5. Data Cache
| |
− | |}
| |
− |
| |
− | {| class="wikitable" style="text-align:left; border:1px color:lightblue; cellpadding:4 "
| |
− | |- style="background:lightblue; color:black"
| |
− | ! # || Counter Name
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 1
| |
− | | total_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 2
| |
− | | read_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 3
| |
− | | write_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 4
| |
− | | write_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 5
| |
− | | read_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 6
| |
− | | total_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 7
| |
− | | read_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 8
| |
− | | write_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 9
| |
− | | total_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 10
| |
− | | prefetch_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 12
| |
− | | prefetch_buffer_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 13
| |
− | | prefetch_buffer_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 14
| |
− | | prefetch_buffer_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 15
| |
− | | replacements
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 16
| |
− | | write_backs
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 17
| |
− | | miss_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 18
| |
− | | fill_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 19
| |
− | | wbb_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 20
| |
− | | wbb_reads
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="border:0; width:600pt; height:2pt"
| |
− | |- style="background:lightgray; text-align:left;"
| |
− | ! 6. Branch Target Buffer - BTB
| |
− | |}
| |
− |
| |
− | {| class="wikitable" style="text-align:left; border:1px color:lightblue; cellpadding:4 "
| |
− | |- style="background:lightblue; color:black"
| |
− | ! # || Counter Name
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 1
| |
− | | total_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 2
| |
− | | read_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 3
| |
− | | write_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 4
| |
− | | write_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 5
| |
− | | read_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 6
| |
− | | total_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 7
| |
− | | read_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 8
| |
− | | write_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 9
| |
− | | total_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 10
| |
− | | replacement
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="border:0; width:600pt; height:2pt"
| |
− | |- style="background:lightgray; text-align:left;"
| |
− | ! 7. Core
| |
− | |}
| |
− |
| |
− | {| class="wikitable" style="text-align:left; border:1px color:lightblue; cellpadding:4 "
| |
− | |- style="background:lightblue; color:black"
| |
− | ! # || Counter Name
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 1
| |
− | | instruction_buffer_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 2
| |
− | | instruction_buffer_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 3
| |
− | | ROB_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 4
| |
− | | ROB_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 5
| |
− | | rename_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 6
| |
− | | inst_window_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 7
| |
− | | inst_window_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 8
| |
− | | inst_window_wakeup_access
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 9
| |
− | | inst_window_selections
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 10
| |
− | | archi_int_regfile_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 11
| |
− | | archi_float_regfile_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 12
| |
− | | phy_int_regfile_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 13
| |
− | | phy_float_regfile_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 14
| |
− | | phy_int_regfile_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 15
| |
− | | phy_float_regfile_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 16
| |
− | | archi_int_regfile_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 17
| |
− | | archi_float_regfile_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 18
| |
− | | windowed_reg_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 19
| |
− | | windowed_reg_transports
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 20
| |
− | | ialu_access
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 21
| |
− | | fpu_access
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 22
| |
− | | bypassbus_access
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 23
| |
− | | load_buffer_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 24
| |
− | | load_buffer_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 25
| |
− | | store_buffer_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 26
| |
− | | store_buffer_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 27
| |
− | | store_buffer_forwards
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 28
| |
− | | main_memory_access
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 29
| |
− | | main_memory_write
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="border:0; width:600pt; height:2pt"
| |
− | |- style="background:lightgray; text-align:left;"
| |
− | ! 8. L2 Directory
| |
− | |}
| |
− |
| |
− | {| class="wikitable" style="text-align:left; border:1px color:lightblue; cellpadding:4 "
| |
− | |- style="background:lightblue; color:black"
| |
− | ! # || Counter Name
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 1
| |
− | | total_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 2
| |
− | | read_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 3
| |
− | | write_accesses
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="border:0; width:600pt; height:2pt"
| |
− | |- style="background:lightgray; text-align:left;"
| |
− | ! 9. L2
| |
− | |}
| |
− | {| class="wikitable" style="text-align:left; border:1px color:lightblue; cellpadding:4 "
| |
− | |- style="background:lightblue; color:black"
| |
− | ! # || Counter Name
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 1
| |
− | | total_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 2
| |
− | | read_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 3
| |
− | | write_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 4
| |
− | | total_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 5
| |
− | | total_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 6
| |
− | | read_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 7
| |
− | | write_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 8
| |
− | | read_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 9
| |
− | | write_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 10
| |
− | | replacement
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 11
| |
− | | write_backs
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 12
| |
− | | miss_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 13
| |
− | | fill_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 14
| |
− | | prefetch_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 15
| |
− | | prefetch_buffer_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 16
| |
− | | prefetch_buffer_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 17
| |
− | | prefetch_buffer_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 18
| |
− | | wbb_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 19
| |
− | | wbb_reads
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="border:0; width:600pt; height:2pt"
| |
− | |- style="background:lightgray; text-align:left;"
| |
− | ! 10. L3
| |
− | |}
| |
− |
| |
− | {| class="wikitable" style="text-align:left; border:1px color:lightblue; cellpadding:4 "
| |
− | |- style="background:lightblue; color:black"
| |
− | ! # || Counter Name
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 1
| |
− | | total_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 2
| |
− | | read_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 3
| |
− | | write_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 4
| |
− | | total_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 5
| |
− | | total_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 6
| |
− | | read_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 7
| |
− | | write_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 8
| |
− | | read_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 9
| |
− | | write_misses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 10
| |
− | | replacement
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 11
| |
− | | write_backs
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 12
| |
− | | miss_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 13
| |
− | | fill_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 14
| |
− | | prefetch_buffer_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 15
| |
− | | prefetch_buffer_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 16
| |
− | | prefetch_buffer_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 17
| |
− | | prefetch_buffer_hits
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 18
| |
− | | wbb_writes
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 19
| |
− | | wbb_reads
| |
− | |}
| |
− |
| |
− |
| |
− | {| class="wikitable" style="border:0; width:600pt; height:2pt"
| |
− | |- style="background:lightgray; text-align:left;"
| |
− | ! 11. Memory
| |
− | |}
| |
− |
| |
− | {| class="wikitable" style="text-align:left; border:1px color:lightblue; cellpadding:4 "
| |
− | |- style="background:lightblue; color:black"
| |
− | ! # || Counter Name
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 1
| |
− | | memory_accesses
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 2
| |
− | | memory_reads
| |
− | |- style="background:aliceblue; color:black"
| |
− | ! 3
| |
− | | memory_writes
| |
− | |}
| |