Re: [PATCH] MI: new timing command

Nick Roberts
2007-01-01T04:24:48Z

> > And lose user/system/elapse time distinction?
>
> You don't have to lose it. How about if we use getrusage directly if
> it's available, else the libiberty replacement? That way, everybody
> will be as happy as they can expect, I think.

If we adopt this approach can you please explain to me how to interpret the
output of get_run_time when getrusage is not availble so I can add it to the
doc.

> > For me, having all those times
> > on Linux is more valuable than having any time at all on Windows.
>
> You are not the only user of GDB.

-enable-timing would only be used by developers of frontends to GDB using MI.
Currently Vladimir and myself do almost appear to be the only users.

> There's no reason to gratuitously
> confine features to the only platform that you are interested in.

It not gratuitous because generalising it involves extra work in areas
we don't understand.

--
Nick http://www.inet.net.nz/~nickrob