pub fn split_stats_buckets(
buckets: Vec<ClientStatsBucket>,
max_entries: usize,
) -> Vec<Vec<ClientStatsBucket>>Expand description
Split buckets into groups of at most max_entries pb::ClientGroupedStats.
An oversized bucket is split across output buckets sharing its start,
duration and agent_time_shift. Empty buckets are dropped, so all-empty
input yields no groups.