On Tue, Jan 4, 2022 at 4:09 PM Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: > > > > On Tue, 4 Jan 2022, 20:10 Tom Kacvinsky via Gcc-help, <gcc-help@xxxxxxxxxxx> wrote: >> <snip> >> So I want to collect total memory usage of GCC during a >> compilation and then sum them over the last 16 or so GCC >> invocations we have. But I am having a hard time figuring >> out the total usage. I see nothing obvious. Any hints? > > > -ftime-report gives a simple total. Great, thanks! Tom