Message ID | 87h6b3l3gs.fsf@seketeli.org |
---|---|
State | New |
Headers |
Return-Path: <libabigail-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 76DE53858402 for <patchwork@sourceware.org>; Thu, 29 Aug 2024 16:05:19 +0000 (GMT) X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 14BDF3858402 for <libabigail@sourceware.org>; Thu, 29 Aug 2024 16:05:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 14BDF3858402 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 14BDF3858402 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724947514; cv=none; b=ucni41amujZaHOMaG0JToD72CjIGQS2t9kKnn3boQOojEhneZy2RjmCcrpZkdlWfy7r5xbNoAUBg3T9KQbpTiBAS+Mf98iAcONI+EfCw6Uirc+RclWaPtCZXYZ9fnICbZ+pzZSANTfowf/CsDf2MLwLOCFbS+BC8aOvvJrrO0e0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724947514; c=relaxed/simple; bh=Qe8nV59+OR50JDA3nCIEetR2WsTAYPxgZGjdQkphPew=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=vNEVjecVTEkYQ63H7OYxVgF9HHP15QmvU1fwDU0T2i6bK/8WPBcFGMeHhqHxnKDo+Cejw7/4nuxTHvTlEZVZxta6o4IoLDHsj9wRkD3SBrnn7fh+rv1bvI/7R1myQRMvBKTnj40DUyt4ddjGHGkOkIJOIikPVx8V6e9otUu+t+8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1724947512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qqyo7WGooCt74BGuUhImlt9FTbXOYic6ZryOMfRJ5r4=; b=FAMO5girv1h+lV/CIVPPj4L0tAEGE2WjEQebbgb+kutS/MsL8xi447E199oediDlTKimJV YaM3GLITILt0JYz/qriPm5/EuGECKdiL63lWD52cBNP22UR8CEfX4am+Xc349gXPXrR5hX uLEiilSK0O88QdpEzIVkjXol66gSizA= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-56-rJGY8PSIOcqKuHnzy1inkw-1; Thu, 29 Aug 2024 12:05:10 -0400 X-MC-Unique: rJGY8PSIOcqKuHnzy1inkw-1 Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-44fe116bf26so10954441cf.2 for <libabigail@sourceware.org>; Thu, 29 Aug 2024 09:05:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724947510; x=1725552310; h=mime-version:user-agent:message-id:in-reply-to:date:references :organization:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qqyo7WGooCt74BGuUhImlt9FTbXOYic6ZryOMfRJ5r4=; b=bqA5X3JelKT/e4UjCsliMzS3HVJQd7wUOK1aaepij3ode9qsTbx6D4VCDUSMdw951p Srs6zeEdFz5SPFTuSYlBLfihjzvNcDwJjF9UMLOVfXUp7OXcJfpa7T1fH6QO+qE2xwGs c01l+Co1wZDBzb+/aNTJvpzf+swdpFjHsDJvL4paEHKANbKYv+ku8vgzwtTPVHTh2Sz+ UBoGCsFhA1HBiHV1nHPA1L7/OwzcfomB6WcKOcwS6xSdCrsXr9zQO8jIjpnCT+yB+T0M mdSjzxhjlbKnEz5tGvt4Tq39Ir4jtbuVjDeWdMvENgwcvUHp8stbxJxdFLnxOR6F6Ti/ 0npw== X-Gm-Message-State: AOJu0Yx4VV7LrQfVFsEISHsOZQbKKz0jYPe0Tu3M8Znc0Rb9xkTeBz6x PWrcuUzMcWUQkmSpX29TgQC+RQfo4cXmfFYKDeig6n4GqGvPDMUXBbcTXCsD8UYOGeeNWi2xN6b gmW51Hl8hoCps7dysFV94aXkzwFPnCzTHGWJ0tfmqav7mGVje1VUkLqqGtAjHQLOoUQ== X-Received: by 2002:a05:622a:4d4f:b0:445:22e:2cb6 with SMTP id d75a77b69052e-4567f56db0bmr26440371cf.37.1724947509557; Thu, 29 Aug 2024 09:05:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFdDd/l7yJ60HG9KG2/LmIBm4lQioVybADwqdVxmIANjS+aoA8k4aL2BjBA2pOjBoLTpSZOcg== X-Received: by 2002:a05:622a:4d4f:b0:445:22e:2cb6 with SMTP id d75a77b69052e-4567f56db0bmr26439941cf.37.1724947508962; Thu, 29 Aug 2024 09:05:08 -0700 (PDT) Received: from localhost (88-120-130-27.subs.proxad.net. [88.120.130.27]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-45682ce07aasm5982931cf.50.2024.08.29.09.05.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2024 09:05:08 -0700 (PDT) Received: by localhost (Postfix, from userid 1000) id 11C8B503C602; Thu, 29 Aug 2024 18:05:07 +0200 (CEST) From: Dodji Seketeli <dodji@redhat.com> To: dodji@redhat.com Cc: libabigail@sourceware.org Subject: [PATCH 15/27] ir: Improve type logging during type canonicalization Organization: Me, myself and I References: <20240829154711.1883174-1-dodji@redhat.com> X-Operating-System: AlmaLinux 9.4 X-URL: http://www.seketeli.net/~dodji Date: Thu, 29 Aug 2024 18:05:07 +0200 In-Reply-To: <20240829154711.1883174-1-dodji@redhat.com> (dodji@redhat.com's message of "Thu, 29 Aug 2024 17:46:29 +0200") Message-ID: <87h6b3l3gs.fsf@seketeli.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Mailing list of the Libabigail project <libabigail.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libabigail>, <mailto:libabigail-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libabigail/> List-Post: <mailto:libabigail@sourceware.org> List-Help: <mailto:libabigail-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libabigail>, <mailto:libabigail-request@sourceware.org?subject=subscribe> Errors-To: libabigail-bounces~patchwork=sourceware.org@sourceware.org |
Series |
Implement type hashing & fix self-comparing gcc-gnat in fc37
|
|
Commit Message
Dodji Seketeli
Aug. 29, 2024, 4:05 p.m. UTC
Hello,
This patch adds logging to show the time taken by type
canonicalization.
* src/abg-ir-priv.h (canonicalize_types): Log the time taken by
type canonicalization.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
---
src/abg-ir-priv.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/abg-ir-priv.h b/src/abg-ir-priv.h index 0a960885..2d55e68b 100644 --- a/src/abg-ir-priv.h +++ b/src/abg-ir-priv.h @@ -1492,6 +1492,12 @@ canonicalize_types(const input_iterator& begin, env.canonicalization_is_done(true); + if (do_log) + { + tmr.stop(); + std::cerr << "Canonicalizing of types DONE in: " << tmr << "\n\n"; + tmr.start(); + } } /// Hash and canonicalize a sequence of types.