Home
last modified time | relevance | path

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

/system/bt/common/
Dmetrics.cc71 static float combine_averages(float avg_a, int64_t ct_a, float avg_b, in combine_averages() argument
74 return (avg_a * ct_a + avg_b * ct_b) / (ct_a + ct_b); in combine_averages()
76 return avg_b; in combine_averages()
82 static int32_t combine_averages(int32_t avg_a, int64_t ct_a, int32_t avg_b, in combine_averages() argument
85 return (avg_a * ct_a + avg_b * ct_b) / (ct_a + ct_b); in combine_averages()
87 return avg_b; in combine_averages()