Home
last modified time | relevance | path

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

/bionic/libc/dns/resolv/
Dres_stats.c53 stats->sample_count = stats->sample_next = 0; in _res_stats_clear_samples()
68 for (int i = 0 ; i < stats->sample_count ; ++i) { in android_net_res_stats_aggregate()
109 if (stats->sample_count > 0) { in android_net_res_stats_aggregate()
113 last = stats->samples[stats->sample_count - 1].at; in android_net_res_stats_aggregate()
Dres_cache.c2087 cache_info->nsstats[i].sample_count = in _free_nameservers_locked()
2155 stats->sample_next, stats->sample_count); in _res_cache_add_stats_sample_locked()
2157 if (stats->sample_count < max_samples) { in _res_cache_add_stats_sample_locked()
2158 ++stats->sample_count; in _res_cache_add_stats_sample_locked()
2169 cache_info->nsstats->sample_count = cache_info->nsstats->sample_next = 0; in _res_cache_clear_stats_locked()
/bionic/libc/dns/include/
Dresolv_stats.h44 uint8_t sample_count; member