Home
last modified time | relevance | path

Searched refs:sample_next (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()
110 if (stats->sample_next > 0) { in android_net_res_stats_aggregate()
111 last = stats->samples[stats->sample_next - 1].at; in android_net_res_stats_aggregate()
Dres_cache.c2158 cache_info->nsstats[i].sample_next = 0; in _free_nameservers_locked()
2225 stats->sample_next, stats->sample_count); in _res_cache_add_stats_sample_locked()
2226 stats->samples[stats->sample_next] = *sample; in _res_cache_add_stats_sample_locked()
2230 if (++stats->sample_next >= max_samples) { in _res_cache_add_stats_sample_locked()
2231 stats->sample_next = 0; in _res_cache_add_stats_sample_locked()
2239 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