diff --git a/src/SConscript b/src/SConscript index 157a911edb..124f88708a 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 5a99e15b46..bf844da7f3 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();