Home
last modified time | relevance | path

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

/bionic/libc/dns/resolv/
Dres_stats.c52 stats->sample_count = stats->sample_next = 0; in _res_stats_clear_samples()
109 if (stats->sample_next > 0) { in android_net_res_stats_aggregate()
110 last = stats->samples[stats->sample_next - 1].at; in android_net_res_stats_aggregate()
Dres_cache.c2101 cache_info->nsstats[i].sample_next = 0; in _free_nameservers_locked()
2168 stats->sample_next, stats->sample_count); in _res_cache_add_stats_sample_locked()
2169 stats->samples[stats->sample_next] = *sample; in _res_cache_add_stats_sample_locked()
2173 if (++stats->sample_next >= max_samples) { in _res_cache_add_stats_sample_locked()
2174 stats->sample_next = 0; in _res_cache_add_stats_sample_locked()
2182 cache_info->nsstats->sample_count = cache_info->nsstats->sample_next = 0; in _res_cache_clear_stats_locked()
/bionic/libc/dns/include/
Dresolv_stats.h46 uint8_t sample_next; member