Lines Matching refs:stats
21 my $stats = mem_stats($sock);
22 my $evicted = $stats->{evictions};
26 $stats = mem_stats($sock, "settings");
27 my $pre_maxbytes = $stats->{"maxbytes"};
32 $stats = mem_stats($sock, "settings");
33 isnt($stats->{"maxbytes"}, $pre_maxbytes, "stats settings maxbytes updated");
36 $stats = mem_stats($sock, "slabs");
37 my $t_malloc = $stats->{"total_malloced"};
41 $stats = mem_stats($sock, "slabs");
42 cmp_ok($stats->{"total_malloced"}, '>', $t_malloc, "stats slabs total_malloced increased");
44 $stats = mem_stats($sock);
45 my $new_evicted = $stats->{evictions};
57 $stats = mem_stats($sock, "slabs");
58 $t_malloc = $stats->{"total_malloced"};
73 $stats = mem_stats($sock, "slabs");
74 $reduced = $stats->{"total_malloced"} if ($t_malloc > $stats->{"total_malloced"});