projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43c7698
)
pseudo: only include kernel stats if FULL_SYSTEM.
author
Nathan Binkert
<nate@binkert.org>
Tue, 21 Apr 2009 22:40:26 +0000
(15:40 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Tue, 21 Apr 2009 22:40:26 +0000
(15:40 -0700)
src/sim/pseudo_inst.cc
patch
|
blob
|
history
diff --git
a/src/sim/pseudo_inst.cc
b/src/sim/pseudo_inst.cc
index 3c2a27f5454034ea6171ff26f7e1fe225a536c2a..b5582578a1df34485275f48e472dbedf96941fa5 100644
(file)
--- a/
src/sim/pseudo_inst.cc
+++ b/
src/sim/pseudo_inst.cc
@@
-35,7
+35,8
@@
#include <fstream>
#include <string>
-#include "arch/kernel_stats.hh"
+#include "config/full_system.hh"
+
#include "arch/vtophys.hh"
#include "base/debug.hh"
#include "cpu/base.hh"
@@
-49,7
+50,9
@@
#include "sim/stat_control.hh"
#include "sim/stats.hh"
#include "sim/system.hh"
+
#if FULL_SYSTEM
+#include "arch/kernel_stats.hh"
#include "sim/vptr.hh"
#endif