This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Data race in PGO profile collection for multi-process program


Thank you very much for the advice. I will try __gcov_dump first.

Yuan

2015-06-02 12:14 GMT+08:00 Xinliang David Li <davidxl@google.com>:
> Using AutoFDO is one way. For PGO, you may want to to try using
> __gcov_dump interface to explicitly control the timing and order of
> the profile dump --- i.e., invoke __gcov_dump in main process after
> work processes exit and before the main process exits.


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