summaryrefslogtreecommitdiff
path: root/src/mem/ruby/profiler/Profiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/profiler/Profiler.py')
-rw-r--r--src/mem/ruby/profiler/Profiler.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mem/ruby/profiler/Profiler.py b/src/mem/ruby/profiler/Profiler.py
new file mode 100644
index 000000000..7923f28f1
--- /dev/null
+++ b/src/mem/ruby/profiler/Profiler.py
@@ -0,0 +1,8 @@
+from m5.params import *
+from m5.SimObject import SimObject
+
+class RubyProfiler(SimObject):
+ type = 'RubyProfiler'
+ cxx_class = 'Profiler'
+ hot_lines = Param.Bool(False, "")
+ all_instructions = Param.Bool(False, "")