From 157d89e255eb2335654964b83abaebb61de3335c Mon Sep 17 00:00:00 2001 From: studyztp Date: Tue, 6 Aug 2024 08:38:45 -0700 Subject: [PATCH] cpu: add basic files for LoopPoint analysis Because the LoopPoint analysis will be done with ATOMIC CPU, so all files related to the LoopPoint analysis object will be under /src/cpu/simple/probes. Change-Id: Icbdb0742b712a23dc8f6a19f4c1c827a1f5bf288 --- src/cpu/simple/probes/LooppointAnalysis.py | 0 src/cpu/simple/probes/SConscript | 7 +++++++ src/cpu/simple/probes/looppoint_analysis.cc | 0 src/cpu/simple/probes/looppoint_analysis.hh | 0 4 files changed, 7 insertions(+) create mode 100644 src/cpu/simple/probes/LooppointAnalysis.py create mode 100644 src/cpu/simple/probes/looppoint_analysis.cc create mode 100644 src/cpu/simple/probes/looppoint_analysis.hh diff --git a/src/cpu/simple/probes/LooppointAnalysis.py b/src/cpu/simple/probes/LooppointAnalysis.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cpu/simple/probes/SConscript b/src/cpu/simple/probes/SConscript index 3af318f76f..b052d256d0 100644 --- a/src/cpu/simple/probes/SConscript +++ b/src/cpu/simple/probes/SConscript @@ -31,3 +31,10 @@ Import('*') if env['CONF']['BUILD_ISA']: SimObject('SimPoint.py', sim_objects=['SimPoint']) Source('simpoint.cc') + + SimObject( + 'LooppointAnalysis.py', + sim_objects=['LooppointAnalysis','LooppointAnalysisManager'] + ) + Source('looppoint_analysis.cc') + DebugFlag("LooppointAnalysis") diff --git a/src/cpu/simple/probes/looppoint_analysis.cc b/src/cpu/simple/probes/looppoint_analysis.cc new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/cpu/simple/probes/looppoint_analysis.hh b/src/cpu/simple/probes/looppoint_analysis.hh new file mode 100644 index 0000000000..e69de29bb2