OSDN Git Service

1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Sep 1999 19:16:24 +0000 (19:16 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Sep 1999 19:16:24 +0000 (19:16 +0000)
commita876e5f8753a7cd8e7559925a35f0dac7ef6e7d5
tree5ed113539b3769980b4bdbcc01a315c4cd32951f
parent48f3f15ce26854e1b93654cf6b766e00c6c534c5
1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>

* gcc.c: Include sys/resource.h.
(report_times): New flag.
(execute):  If report_times is set, calculate and report the
CPU time consumed by each subprocess.

(rus, prus): New globals.
(option_map): Add --time.
(display_help): Document -time.
(process_command): Set report_times if -time is given.
Turn off -pipe if -time is given.

* invoke.texi: Document new option -time.

* configure.in: Check for getrusage.  Check if we have to
prototype getrusage.
* acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
* configure: Regenerate.
* config.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29381 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/acconfig.h
gcc/config.in
gcc/configure
gcc/configure.in
gcc/gcc.c
gcc/invoke.texi