Searched refs:aggregate_weighted_avg (Results 1 – 3 of 3) sorted by relevance
/external/grpc-grpc/test/core/iomgr/ |
D | time_averaged_stats_test.cc | 32 EXPECT_DOUBLE_EQ(1000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_1() 37 EXPECT_DOUBLE_EQ(1000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_1() 43 EXPECT_DOUBLE_EQ(2000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_1() 50 EXPECT_DOUBLE_EQ(1000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_2() 54 EXPECT_DOUBLE_EQ(2000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_2() 59 EXPECT_DOUBLE_EQ(3000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_2() 66 EXPECT_DOUBLE_EQ(1000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_3() 70 EXPECT_DOUBLE_EQ(2500, tas.aggregate_weighted_avg); in no_regress_no_persist_test_3() 76 EXPECT_DOUBLE_EQ(4000, tas.aggregate_weighted_avg); in no_regress_no_persist_test_3() 83 EXPECT_DOUBLE_EQ(1000, tas.aggregate_weighted_avg); in some_regress_no_persist_test() [all …]
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | time_averaged_stats.cc | 32 stats->aggregate_weighted_avg = init_avg; in grpc_time_averaged_stats_init() 55 weighted_sum += prev_sample_weight * stats->aggregate_weighted_avg; in grpc_time_averaged_stats_update_average() 58 stats->aggregate_weighted_avg = in grpc_time_averaged_stats_update_average() 63 return stats->aggregate_weighted_avg; in grpc_time_averaged_stats_update_average()
|
D | time_averaged_stats.h | 58 double aggregate_weighted_avg; member
|