From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by sourceware.org (Postfix) with ESMTPS id 583A0385BF9C for ; Fri, 3 Dec 2021 08:38:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 583A0385BF9C Received: by mail-wr1-x42e.google.com with SMTP id u1so4048073wru.13 for ; Fri, 03 Dec 2021 00:38:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OVICnbVTlk73l2Ywn/DlPzxWhALOtouuULHBrU6YLX4=; b=0jT2QPZJN4d9R2Ik64qWXh7LCJLjb2qviKGIquTmr7/gsc3mSEd3BfRElqx1zVrJJY Xdg7ybo732WH3nG04iLXLNcBNAh0wrqiHOygFfX4vIO8yqMHEyZrrLsNEvz3wdlc8zcJ mNOdwGNuBmwA5B+IWxv+WTU+2U9FomPjojJr5ugzaq6XBQUnPqq73v6wOHWqDwk1jHot 9mYRte3djrxdZjpzS4voPDbiarqzO0iUwrIjwD3gOagmij/s87OYL7l6JVUc/NKxwWMe 4Wg+1wjY375IDYkwILikqhvzXdyx45yr0ZbytFDSjY8v9ZU6pBUDxn0VxgAxGcsL910u wZ6g== X-Gm-Message-State: AOAM532LfdKYOw9vXc6ByE6NinXkvJsjsRA8oDGVVngLS81Bxg/4pcFe l+wgY+8b6Tohwr2uhqSIYUM= X-Google-Smtp-Source: ABdhPJxvgcsKlEBtdgmc9INeNWBLwqZwySTJDvSCw62VX1wuGyKh+d+WzdmbfTYfupDOGORKAh98OQ== X-Received: by 2002:a5d:6091:: with SMTP id w17mr20351940wrt.65.1638520694432; Fri, 03 Dec 2021 00:38:14 -0800 (PST) Received: from nbbrfq (91-119-98-250.dsl.dynamic.surfer.at. [91.119.98.250]) by smtp.gmail.com with ESMTPSA id d2sm4650930wmb.24.2021.12.03.00.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 00:38:14 -0800 (PST) Date: Fri, 3 Dec 2021 09:38:08 +0100 From: Bernhard Reutner-Fischer To: Jan Hubicka via Gcc-patches Cc: rep.dot.nop@gmail.com, Jan Hubicka Subject: Re: Compare guessed profile frequencies to actual profile feedback in profile dump file Message-ID: <20211203093808.11498ace@nbbrfq> In-Reply-To: <20211128185208.GL71018@kam.mff.cuni.cz> References: <20211128185208.GL71018@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, 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-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2021 08:38:17 -0000 On Sun, 28 Nov 2021 19:52:08 +0100 Jan Hubicka via Gcc-patches wrote: > Basic block 136 guessed freq: 17.548 cummulative: 0.60% feedback freq: 51.848 cummulative: 1.94% cnt: 101811269914 > diff --git a/gcc/profile.c b/gcc/profile.c > index d07002d265e..dbf42ff7b2b 100644 > --- a/gcc/profile.c > +++ b/gcc/profile.c > + fprintf (dump_file, > + " Basic block %4i guessed freq: %12.3f" > + " cummulative:%6.2f%% " > + " feedback freq: %12.3f cummulative:%7.2f%%" s/cummulative/cumulative/g with just one "m" thanks,