Searched refs:sample_count (Results 1 – 5 of 5) sorted by relevance
44 stats->sample_count = stats->sample_next = 0; in _res_stats_clear_samples()57 for (int i = 0; i < stats->sample_count; ++i) { in android_net_res_stats_aggregate()98 if (stats->sample_count > 0) { in android_net_res_stats_aggregate()102 last = stats->samples[stats->sample_count - 1].at; in android_net_res_stats_aggregate()
114 if (std::tie(a.sample_count, a.sample_next) != std::tie(b.sample_count, b.sample_next)) { in operator ==()117 for (int i = 0; i < a.sample_count; i++) { in operator ==()245 EXPECT_EQ(0U, stats[ns].sample_count) << msg; in expectCacheStats()
40 uint8_t sample_count; member
1703 << ", count = " << unsigned(stats->sample_count); in res_cache_add_stats_sample_locked()1705 if (stats->sample_count < max_samples) { in res_cache_add_stats_sample_locked()1706 ++stats->sample_count; in res_cache_add_stats_sample_locked()1715 netconfig->nsstats[i].sample_count = 0; in res_cache_clear_stats_locked()
946 int sample_count = 8; in TEST_F() local947 const std::vector<int> params = {300, 25, sample_count, sample_count}; in TEST_F()955 for (int i = 0; i < sample_count; ++i) { in TEST_F()