diff options
author | Nathan Binkert <nate@binkert.org> | 2008-10-09 22:19:39 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-10-09 22:19:39 -0700 |
commit | 94b08bed07d13106381a0bb692bf0d879c5353d4 (patch) | |
tree | e6edac20c9eaa5cfb6eab25d3e6a4716d4451da9 /src/cpu | |
parent | 4ecc5d53a302c5e494df5853a314a61e8bba3a50 (diff) | |
download | gem5-94b08bed07d13106381a0bb692bf0d879c5353d4.tar.xz |
SimObjects: Clean up handling of C++ namespaces.
Make them easier to express by only having the cxx_type parameter which
has the full namespace name, and drop the cxx_namespace thing.
Add support for multiple levels of namespace.
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/ExeTracer.py | 3 | ||||
-rw-r--r-- | src/cpu/IntelTrace.py | 3 | ||||
-rw-r--r-- | src/cpu/LegionTrace.py | 3 | ||||
-rw-r--r-- | src/cpu/NativeTrace.py | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/src/cpu/ExeTracer.py b/src/cpu/ExeTracer.py index e904f9e7d..5754f5d5b 100644 --- a/src/cpu/ExeTracer.py +++ b/src/cpu/ExeTracer.py @@ -32,5 +32,4 @@ from InstTracer import InstTracer class ExeTracer(InstTracer): type = 'ExeTracer' - cxx_namespace = 'Trace' - cxx_class = 'ExeTracer' + cxx_class = 'Trace::ExeTracer' diff --git a/src/cpu/IntelTrace.py b/src/cpu/IntelTrace.py index 6e8f567b3..3642f3174 100644 --- a/src/cpu/IntelTrace.py +++ b/src/cpu/IntelTrace.py @@ -32,5 +32,4 @@ from InstTracer import InstTracer class IntelTrace(InstTracer): type = 'IntelTrace' - cxx_namespace = 'Trace' - cxx_class = 'IntelTrace' + cxx_class = 'Trace::IntelTrace' diff --git a/src/cpu/LegionTrace.py b/src/cpu/LegionTrace.py index f9b6470a6..d450dd00e 100644 --- a/src/cpu/LegionTrace.py +++ b/src/cpu/LegionTrace.py @@ -32,5 +32,4 @@ from InstTracer import InstTracer class LegionTrace(InstTracer): type = 'LegionTrace' - cxx_namespace = 'Trace' - cxx_class = 'LegionTrace' + cxx_class = 'Trace::LegionTrace' diff --git a/src/cpu/NativeTrace.py b/src/cpu/NativeTrace.py index 96b4e991b..f410b5473 100644 --- a/src/cpu/NativeTrace.py +++ b/src/cpu/NativeTrace.py @@ -32,5 +32,4 @@ from InstTracer import InstTracer class NativeTrace(InstTracer): type = 'NativeTrace' - cxx_namespace = 'Trace' - cxx_class = 'NativeTrace' + cxx_class = 'Trace::NativeTrace' |