This commit introduces a PcCountPair type that stores a Program Counter address and an integer of counts for the Program Counter address. The PcCountPair can be used in the same way and hashable in both C++ and Python. Change-Id: I66d93e2c6a1d286cb9dd795ba97f8d887f67d503 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/67193 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu> Maintainer: Bobby Bruce <bbruce@ucdavis.edu>