summaryrefslogtreecommitdiff
path: root/src/kern/kernel_stats.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/kern/kernel_stats.cc')
-rw-r--r--src/kern/kernel_stats.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/kern/kernel_stats.cc b/src/kern/kernel_stats.cc
index f0f010748..f7f57af29 100644
--- a/src/kern/kernel_stats.cc
+++ b/src/kern/kernel_stats.cc
@@ -34,9 +34,6 @@
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "kern/kernel_stats.hh"
-#if THE_ISA == ALPHA_ISA
-#include "kern/tru64/tru64_syscalls.hh"
-#endif
#include "sim/system.hh"
using namespace std;
@@ -92,24 +89,6 @@ Statistics::regStats(const string &_name)
;
_iplUsed = _iplGood / _iplCount;
-#if THE_ISA == ALPHA_ISA
- _syscall
- .init(SystemCalls<Tru64>::Number)
- .name(name() + ".syscall")
- .desc("number of syscalls executed")
- .flags(total | pdf | nozero | nonan)
- ;
-#endif
-
- //@todo This needs to get the names of syscalls from an appropriate place.
-#if 0
- for (int i = 0; i < SystemCalls<Tru64>::Number; ++i) {
- const char *str = SystemCalls<Tru64>::name(i);
- if (str) {
- _syscall.subname(i, str);
- }
- }
-#endif
}
void