1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-28 01:06:37 +03:00

stats: fix .size counters showing up as time counters

This commit is contained in:
Wez Furlong 2022-01-10 10:36:33 -07:00
parent 5d52902b4a
commit fc5c435949

View File

@ -127,7 +127,7 @@ impl Inner {
data.clear();
for (key, histogram) in &inner.histograms {
if key.to_string().ends_with(".size") {
if key.name().ends_with(".size") {
let p50 = histogram.value_at_percentile(50.);
let p75 = histogram.value_at_percentile(75.);
let p95 = histogram.value_at_percentile(95.);