Skip to content
Snippets Groups Projects
Commit d701c5f5 authored by Craig Tiller's avatar Craig Tiller
Browse files

Formatting

parent 76877c3f
No related branches found
No related tags found
No related merge requests found
......@@ -198,7 +198,8 @@ void RunScenario(const ClientConfig& initial_client_config, size_t num_clients,
}
gpr_log(GPR_INFO, "Latencies (50/95/99/99.9%%-ile): %.1f/%.1f/%.1f/%.1f us",
latencies.Percentile(50) / 1e3, latencies.Percentile(95) / 1e3, latencies.Percentile(99) / 1e3, latencies.Percentile(99.9) / 1e3);
latencies.Percentile(50) / 1e3, latencies.Percentile(95) / 1e3,
latencies.Percentile(99) / 1e3, latencies.Percentile(99.9) / 1e3);
}
}
}
......@@ -65,7 +65,9 @@ class Histogram {
p->set_count(gpr_histogram_count(impl_));
}
void MergeProto(const HistogramData& p) {
gpr_histogram_merge_contents(impl_, &*p.bucket().begin(), p.bucket_size(), p.min_seen(), p.max_seen(), p.sum(), p.sum_of_squares(), p.count());
gpr_histogram_merge_contents(impl_, &*p.bucket().begin(), p.bucket_size(),
p.min_seen(), p.max_seen(), p.sum(),
p.sum_of_squares(), p.count());
}
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment