From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id EB5BF20248 for ; Fri, 8 Mar 2019 14:36:12 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :content-type:content-transfer-encoding:mime-version; q=dns; s= default; b=P8qiR7a+Qq+Pl7KiBfmbnViCVvJQ7FYYHYfrdKMt/4wgG/hXn8n6y yDNnYAM3xL96hc/dLduxQygyyLmtS5Evg1ALM9mjH2GRjWCeUVKHl8FmVMSjCWG0 R+01AqAluosj61cUl/aGvsKWCZx3u9m2ymF8PuePA6Po9k6GOmH7ew= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :content-type:content-transfer-encoding:mime-version; s=default; bh=yoaqGLJW0nq4VlVfRSRK+CRq0SE=; b=EYys9HVYfBvCFwYpxl8hDk624zus kNramM3nLRnK2K6JxvYaZX0ilevdF43w6PM82CQrgTH3ToskDvVJl9+1NLc3HX5v 4alNcOw1Q4mNio6m8ZPIqTPTZq6aiAtAyLS8ZZA0tQxpswKoooUA2Cqq5QBiXemV OEeHNonPXyyNJFc= Received: (qmail 127908 invoked by alias); 8 Mar 2019 14:36:10 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 127898 invoked by uid 89); 8 Mar 2019 14:36:09 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: EUR01-VE1-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sJYKISTsUHE4gfy4T1D+4YyqQCNPLRDTYXOEt4lb4p8=; b=ljBPECwA7UMBC6QX49V25YLIxPgMqZhMoVfpPqywfX1+AKh6nchszZi4nzhh8A3SprqT/FWNT/xornNB0BgcfQhIPdEmXUBB9wB9wEKQ8RhPemr7BewOG2Z5u32I1nYjKtxQqM4zhcp4kDPtXNBfcLoF9q9Vuny2db/gSeEbDPI= From: Wilco Dijkstra To: Adhemerval Zanella CC: nd , "libc-alpha@sourceware.org" Subject: Re: [PATCH v2 5/6] Refactor hp-timing rtld usage Date: Fri, 8 Mar 2019 14:36:04 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED Hi Adhemerval, > Changes from previous version: > > - Add rtld_timer_start, rtld_timer_stop, and rtld_timer_accum to simpli= fy > the profiling timer calculation. It allows remove the declaration of > some temporary variables. > > - Simplify print_statistics and refactor HP_TIMING_PRINT to remove 'cyc= le' > print. LGTM. It can likely be cleaned up further to remove the remaining #ifdefs b= ut that can be done as a followup. Wilco=