This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: time usage for subprocesses



  In message <199908070600.XAA07912@zack.bitmover.com>you write:
  > The alternatives seem to be getrusage and times, and - as far as I can
  > tell - they will only report *combined* child process times, which
  > defeats the purpose.  I could put the reporting code into the
  > children, but I liked that the change was limited to the driver.
But it's trivial to get deltas given the rusage stats as you wait on
each process in succession.

  > At least initially, are you happy with the feature not working on
  > systems without wait4?
I'd really prefer not to depend on wait4.  It's highly unportable.

jeff


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