[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 18/60] history reporting (nfc): Remove now-obsolete stats variables
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |