invoke.texi (-fprofile-arcs): Mention -lgcov, locking and fork behaviour.
* doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and fork behaviour. From-SVN: r65813
This commit is contained in:
parent
cb4cfe5dc1
commit
8555daffa5
@ -1,3 +1,8 @@
|
|||||||
|
2003-04-19 Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
|
* doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
|
||||||
|
fork behaviour.
|
||||||
|
|
||||||
2003-04-19 Neil Booth <neil@daikokuya.co.uk>
|
2003-04-19 Neil Booth <neil@daikokuya.co.uk>
|
||||||
|
|
||||||
* cppexp.c (eval_token): Permit true and false even if pedantic.
|
* cppexp.c (eval_token): Permit true and false even if pedantic.
|
||||||
|
@ -3032,11 +3032,16 @@ additional @option{-ftest-coverage} option. You do not need to profile
|
|||||||
every source file in a program.
|
every source file in a program.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Link your object files as normal.
|
Link your object files with @option{-lgcov} or @option{-fprofile-arcs}
|
||||||
|
(the latter implies the former).
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Run the program on a representative workload to generate the arc profile
|
Run the program on a representative workload to generate the arc profile
|
||||||
information. This may be repeated any number of times.
|
information. This may be repeated any number of times. You can run
|
||||||
|
concurrent instances of your program, and provided that the file system
|
||||||
|
supports locking, the data files will be correctly updated. Also
|
||||||
|
@code{fork} calls are detected and correctly handled (double counting
|
||||||
|
will not happen).
|
||||||
|
|
||||||
@item
|
@item
|
||||||
For profile-directed optimizations, compile the source files again with
|
For profile-directed optimizations, compile the source files again with
|
||||||
|
Loading…
x
Reference in New Issue
Block a user