Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B173C433DF for ; Fri, 14 Aug 2020 17:27:25 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0E86920774 for ; Fri, 14 Aug 2020 17:27:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="EgNsuOHe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0E86920774 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=eu.citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1k6dU2-0005Ts-Nr; Fri, 14 Aug 2020 17:27:14 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1k6dRS-00024Q-Ir for xen-devel@lists.xenproject.org; Fri, 14 Aug 2020 17:24:34 +0000 X-Inumbo-ID: c3ed870a-8ef5-4ee6-99e9-a71070530036 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id c3ed870a-8ef5-4ee6-99e9-a71070530036; Fri, 14 Aug 2020 17:22:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1597425759; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=hLH4IlqR4STUHHN+FXp+4qPB6iWG6dzD5c0xFXzYa+s=; b=EgNsuOHeaTlLA3e3m4gjYnk0xcDfD2BB+K6PQ4lpDcVaGeSDZGNqKRz9 0YSOn+sW+kFqnYiXfSz5TfqykYV/+WpQIfFXewMGZtvXDqkmxuPF7/voK mn0CQobm+GcPX/JpgZuvDgSrXI4CUh21zCqhZUhj8RlKSnWwWhQ5wJYVo w=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: rN03X/xWpyNFlP8uKUjQzg7ydkvMigvB9XdODXnIvKmKwA+hYOqXlh3X80p/3EImZMqIx1rHD/ e7+eRc6ok8PCrC84/cgnuGAJWdTZexmGezUF70pcd2lmKfZZtTK3KeKlwve85oylAA2tO9/TPd ykc181jArbFGsi0H/LVHyBzq42BEvZt3YrynPe8RyxeyO0uusxGjE07Mw3WSbwlSmSPtE/QZar Vbzwd4n4D8Wugy/WrK4QFxZbBHJwDM+jN/rp7q3j7qYNpjUUQxpk/EZuLZKoD38m+YYPTd7heV QhM= X-SBRS: 2.7 X-MesageID: 24576916 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.76,313,1592884800"; d="scan'208";a="24576916" From: Ian Jackson To: CC: Ian Jackson Subject: [OSSTEST PATCH 18/60] history reporting (nfc): Remove now-obsolete stats variables Date: Fri, 14 Aug 2020 18:21:23 +0100 Message-ID: <20200814172205.9624-19-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200814172205.9624-1-ian.jackson@eu.citrix.com> References: <20200814172205.9624-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Signed-off-by: Ian Jackson --- sg-report-host-history | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sg-report-host-history b/sg-report-host-history index 9c70b560..1b4566aa 100755 --- a/sg-report-host-history +++ b/sg-report-host-history @@ -94,17 +94,12 @@ sub cache_row_key ($) { return join $; , map { $jr->{$_} } @cache_row_key_cols; } -our $jqcachemisses = 0; -our $jqtotal = 0; - sub cacheable_fn ($$$) { my ($jr, $cachekey, $fn) = @_; - $jqtotal++; $cachekey = '%'.$cachekey; my $cached = $jr->{$cachekey}; $q_count{$cachekey}++; if (!$cached) { - $jqcachemisses++; $q_misses{$cachekey}++; $cached = $fn->(); $jr->{$cachekey} = $cached; -- 2.11.0