diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-11-23 14:31:36 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-11-28 14:15:36 +0000 |
commit | d3ecb5d406a3dc12c53a20c271db3027b8477c39 (patch) | |
tree | d77795322eaf8a7e2df2e04df649d07d51e8d8cc /src | |
parent | 7c1405402c7c53f17e554f584b7e801f1f755034 (diff) | |
download | gem5-d3ecb5d406a3dc12c53a20c271db3027b8477c39.tar.xz |
cpu-o3: Add missing vector stat initializers
All of the O3 vector stats added by 'arch: ISA parser additions of
vector registers' are currently missing their stat initializers. Add
the missing stat initialization to InstructionQueue::regStats.
Change-Id: Idc4b8e2824120a2542d8a604340a1b41bde6aa28
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/6101
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/o3/inst_queue_impl.hh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/cpu/o3/inst_queue_impl.hh b/src/cpu/o3/inst_queue_impl.hh index 3da72fd86..f70f66274 100644 --- a/src/cpu/o3/inst_queue_impl.hh +++ b/src/cpu/o3/inst_queue_impl.hh @@ -369,6 +369,21 @@ InstructionQueue<Impl>::regStats() .desc("Number of floating instruction queue wakeup accesses") .flags(total); + vecInstQueueReads + .name(name() + ".vec_inst_queue_reads") + .desc("Number of vector instruction queue reads") + .flags(total); + + vecInstQueueWrites + .name(name() + ".vec_inst_queue_writes") + .desc("Number of vector instruction queue writes") + .flags(total); + + vecInstQueueWakeupAccesses + .name(name() + ".vec_inst_queue_wakeup_accesses") + .desc("Number of vector instruction queue wakeup accesses") + .flags(total); + intAluAccesses .name(name() + ".int_alu_accesses") .desc("Number of integer alu accesses") @@ -379,6 +394,11 @@ InstructionQueue<Impl>::regStats() .desc("Number of floating point alu accesses") .flags(total); + vecAluAccesses + .name(name() + ".vec_alu_accesses") + .desc("Number of vector alu accesses") + .flags(total); + } template <class Impl> |