]> xenbits.xensource.com Git - osstest.git/commitdiff
history reporting (nfc): Remove now-obsolete stats variables
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 5 Aug 2020 12:04:41 +0000 (13:04 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Wed, 19 Aug 2020 10:41:18 +0000 (11:41 +0100)
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
sg-report-host-history

index 9c70b560dfa6aaacddecb1b9a2c20cb3c7ccad3b..1b4566aa277768465b835133dece7dd565edd9f4 100755 (executable)
@@ -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;