[Bug other/92396] -ftime-trace support

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 7 05:47:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92396

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> -ftime-report gets you some of that information.  But this information is
> only really useful for the compiler developer.

Since GCC already can output json for other stuff (diagnostics, I think?), it
should be possible to combine the -ftime-report option with the json subsystems
to get the -ftime-trace option described...


More information about the Gcc-bugs mailing list