From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by sourceware.org (Postfix) with ESMTPS id 98A923858C2C for ; Tue, 4 Jan 2022 23:32:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 98A923858C2C Received: by mail-ed1-x530.google.com with SMTP id m21so155799544edc.0 for ; Tue, 04 Jan 2022 15:32:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vyyFEoPL+kbXu1D40Wh3BJYvoww+5d/qi1W48UyN/L8=; b=pvkvgxW1M+UMAC2wC9V9P0XRhhD2nsvDPD2x3aRmrLMK8+NOk1nCgdyhXx6uUf4KIb YbnYNFlZDfIj5a2glhuEz165YzFPjpXLb1QQT6n7l7VT1PMDDmJGyLayWLuV6qYwlOEn uqnbmRb8iL0y6bXnSK6TC6uPPKp4YQ8UPyuJcoZxGwZ6A3GSm/I2iZmdnm0BBAgfhO5L ka41KcjyKpknCF6BZBVfe/3RVrupCUxqlYlLYLZk2AnLJtZBPKLATDHIbMEsJ46zC1YZ qcOjcki4owZ4BH4FKlQwhDBz73xoZ9Bo8mM57SW3LUrrvlvyH38wpwpd3+Yo3iqHKvsv Lfmg== X-Gm-Message-State: AOAM533zSaoLJ1zxq4d/dnpQWmmHr2FeSkVEzjrWCH5Emsmqzov/GcVr 0aEsNz7iY60SlIadW+1IkqeBiuH6Sr6TMbq0cms= X-Google-Smtp-Source: ABdhPJyjihKSPQxWI8j0ljB1NeuMsqN29gB4f7lew1qdnROwzfZYsXmvb3mKwzRR4s1FHALNC2SOKkzmLiXKly6SlG4= X-Received: by 2002:a17:906:2653:: with SMTP id i19mr40723848ejc.718.1641339164555; Tue, 04 Jan 2022 15:32:44 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Tom Kacvinsky Date: Tue, 4 Jan 2022 18:32:33 -0500 Message-ID: Subject: Re: Interpreting -fmem-report To: Jonathan Wakely Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2022 23:32:46 -0000 On Tue, Jan 4, 2022 at 4:09 PM Jonathan Wakely wrote: > > > > On Tue, 4 Jan 2022, 20:10 Tom Kacvinsky via Gcc-help, wrote: >> >> 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