Re: [PATCH] mt set per-command remote-packets on|off

Tom Tromey
2013-11-28T02:42:58Z

Doug> I'd like having per-remote stats so I kept them in remote_state.
Doug> The per-command stats will just report one target (and get the deltas
Doug> wrong if the target ever switches during the command), but it's a
Doug> pretty rare event at the moment.
Doug> And if/when we start having multiple remote targets be more common I
Doug> was thinking of having a command to allow dumping all the stats
Doug> (should such a need ever arise - it may not).

Doug> I was thinking about at least printing ??? instead of negative values
Doug> for the deltas should they occur.
Doug> I may do that now.

Perhaps the printing ought to zero the stats in the remote_state.
Or perhaps the printing ought to be delegated to remote.c.

Tom