> I would prefer not to have the .sm DPRINTF calls look exactly like the c++ 
> calls.  In particular, it seems unecessary to specify the trace flag 
> "RubySlicc" at every DPRINTF statement.  I don't think we'll ever need more 
> than one trace flag for the .sm debug statements.  We've never needed more 
> than one in the past.  Also by removing the trace flag, it will be one less 
> thing (though I understand it is relatively minor) for the protocol 
> programmer to worry about.

Famous last words.  First, I'd change RubySlicc to just Slicc (it's
not like there's confusion there), but honestly, once you get used to
having trace flags and start sprinkling them more liberally into the
code, you'll honestly want to have more flags.  For example, when the
protocol interacts with the cache, it might make more sense for that
flag to be tagged with cache, or when you interact with the directory,
etc.

I see little benefit from preventing this and I see a clear downside.


  Nate
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to