summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SConscript1
-rw-r--r--src/sim/main.cc5
2 files changed, 0 insertions, 6 deletions
diff --git a/src/SConscript b/src/SConscript
index 157a911ed..124f88708 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -108,7 +108,6 @@ base_sources = Split('''
sim/main.cc
python/swig/cc_main_wrap.cc
sim/param.cc
- sim/profile.cc
sim/root.cc
sim/serialize.cc
sim/sim_events.cc
diff --git a/src/sim/main.cc b/src/sim/main.cc
index 5a99e15b4..bf844da7f 100644
--- a/src/sim/main.cc
+++ b/src/sim/main.cc
@@ -427,11 +427,6 @@ finalInit()
SimObject::regAllStats();
- // uncomment the following to get PC-based execution-time profile
-#ifdef DO_PROFILE
- init_profile((char *)&_init, (char *)&_fini);
-#endif
-
// Check to make sure that the stats package is properly initialized
Stats::check();