This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] MI: new timing command


 > > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]