Home
last modified time | relevance | path

Searched refs:avg_b (Results 1 – 1 of 1) sorted by relevance

/system/bt/common/
Dmetrics.cc70 static float combine_averages(float avg_a, int64_t ct_a, float avg_b, in combine_averages() argument
73 return (avg_a * ct_a + avg_b * ct_b) / (ct_a + ct_b); in combine_averages()
75 return avg_b; in combine_averages()
81 static int32_t combine_averages(int32_t avg_a, int64_t ct_a, int32_t avg_b, in combine_averages() argument
84 return (avg_a * ct_a + avg_b * ct_b) / (ct_a + ct_b); in combine_averages()
86 return avg_b; in combine_averages()