cpu: Added correct return type for ROB::countInsts
authorAndrea Mondelli <Andrea.Mondelli@ucf.edu>
Sat, 25 May 2019 19:29:05 +0000 (15:29 -0400)
committerAndrea Mondelli <Andrea.Mondelli@ucf.edu>
Wed, 29 May 2019 14:38:46 +0000 (14:38 +0000)
commitdc338b402f9711c284962a294ba0f6f2532bf410
tree925811963495972cd81a5d4487e5090589521a1f
parent5cbd972689d3a8f92518593de26e8d89754e646d
cpu: Added correct return type for ROB::countInsts

- return size_t (unsigned) according to the .size() return type
- fixed typo in doc (source of warning with some compilers)

Change-Id: I48ee2e317cf41011a6fcb5ca45aef67e75329bfa
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18948
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/base.hh
src/cpu/o3/rob.hh
src/cpu/o3/rob_impl.hh