diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-05-01 18:14:16 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-05-01 18:14:16 -0400 |
commit | 3f2b039c98e57cdcd22376552d77603e6233c371 (patch) | |
tree | 602cdc359534f9d23c47e125970ca2b52a0efa08 /src/kern/linux/printk.hh | |
parent | 39743d35a3dbe5b46e5051ade5394518cef8de9e (diff) | |
download | gem5-3f2b039c98e57cdcd22376552d77603e6233c371.tar.xz |
change the way dprintf works so the cache accesses required to fulfill the dprintf aren't show in between the Cycle: name:
printing and the actual formatted string being printed
--HG--
extra : convert_revision : 8876ba938ba971f854bab490c9af10db039a2e83
Diffstat (limited to 'src/kern/linux/printk.hh')
-rw-r--r-- | src/kern/linux/printk.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kern/linux/printk.hh b/src/kern/linux/printk.hh index 17d59b765..20dfb430f 100644 --- a/src/kern/linux/printk.hh +++ b/src/kern/linux/printk.hh @@ -34,8 +34,10 @@ #include "arch/isa_specific.hh" +#include <sstream> + class TheISA::Arguments; -void Printk(TheISA::Arguments args); +void Printk(std::stringstream &out, TheISA::Arguments args); #endif // __PRINTK_HH__ |