cpu: Allow PcCountTracker to compile in NULL ISA

While the PcCountTracker isn't necessary in the NULL ISA, the
structure of the standard library requires us to have it built
when running the replacement policy tests, which should fix
these tests failing within the nightlies at the moment.

Change-Id: I225b7923f2a11d351c24bdceba3ded4ed2b3bc87
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/68597
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Melissa Jost
2023-03-02 16:34:22 -08:00
committed by Melissa Jost
parent 7500136392
commit e3f51e595c

View File

@@ -26,12 +26,11 @@
Import("*")
if not env["CONF"]["USE_NULL_ISA"]:
SimObject(
"PcCountTracker.py",
sim_objects=["PcCountTracker", "PcCountTrackerManager"],
)
Source("pc_count_tracker.cc")
Source("pc_count_tracker_manager.cc")
SimObject(
"PcCountTracker.py",
sim_objects=["PcCountTracker", "PcCountTrackerManager"],
)
Source("pc_count_tracker.cc")
Source("pc_count_tracker_manager.cc")
DebugFlag("PcCountTracker")
DebugFlag("PcCountTracker")