Yeah, that seems rather tedious.  Let's just use DPRINTFN and maintain the 
current format.  As long as the protocol trace format looks the same as before, 
I'm happy with the change.

Brad


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of nathan binkert
Sent: Wednesday, January 05, 2011 12:30 PM
To: Beckmann, Brad
Cc: M5 Developer List
Subject: Re: [m5-dev] Review Request: ruby: get rid of ruby's Debug.hh

> Is it possible to fix the width of the information prepended by DPRINTF?  I 
> would be great if we could maintain the current fixed width format.

That might be hard (and may argue for DPRINTFN).  In practice, when I want 
that, I usually just ensure that my object names end up not varying in length.

e.g. system0.cpu0.l1_foo0.  If I have more than 10 things, I make the name 
cpu00 or something like that.

  Nate


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

Reply via email to