cpu: Clean up some style issues in pc_event.(hh|cc).
authorGabe Black <gabeblack@google.com>
Tue, 8 Oct 2019 22:44:29 +0000 (15:44 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 17 Oct 2019 22:00:28 +0000 (22:00 +0000)
commit3c642b1c5c95f9c8bae4994ae44ff2a12662f488
treec66e031cbf8988ba4a479132ecc8f59afd8be856
parente86ad367b7cd7ef863542f3848d9233133fbddd9
cpu: Clean up some style issues in pc_event.(hh|cc).

The record_t typedef isn't all that helpful, and is also not consistent
with gem5 style. The map_t style is more useful but is also not
compliant. This change eliminates the first typedef and replaces the
second with a type called Map.

There are some other small style fixups added in as well, like making
the member variable pc_map pcMap.

Change-Id: I8ffea529004fd6d5b42fdc60250804e2e4987e88
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21781
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/pc_event.cc
src/cpu/pc_event.hh