- hdr_lat_1_50 = hdr_lat_1.get_value_at_percentile(50.0)
- hdr_lat_1_90 = hdr_lat_1.get_value_at_percentile(90.0)
- hdr_lat_1_99 = hdr_lat_1.get_value_at_percentile(99.0)
- hdr_lat_2_50 = hdr_lat_2.get_value_at_percentile(50.0)
- hdr_lat_2_90 = hdr_lat_2.get_value_at_percentile(90.0)
- hdr_lat_2_99 = hdr_lat_2.get_value_at_percentile(99.0)
-
- if (hdr_lat_1_50 + hdr_lat_1_90 + hdr_lat_1_99 +
- hdr_lat_2_50 + hdr_lat_2_90 + hdr_lat_2_99):
- return (
- f"{hdr_lat_1_50} {hdr_lat_1_90} {hdr_lat_1_99} "
- f"{hdr_lat_2_50} {hdr_lat_2_90} {hdr_lat_2_99}"
- )
+ hdr_lat = (
+ hdr_lat_1.get_value_at_percentile(50.0),
+ hdr_lat_1.get_value_at_percentile(90.0),
+ hdr_lat_1.get_value_at_percentile(99.0),
+ hdr_lat_2.get_value_at_percentile(50.0),
+ hdr_lat_2.get_value_at_percentile(90.0),
+ hdr_lat_2.get_value_at_percentile(99.0)
+ )