Searched refs:sample_count (Results 1 – 3 of 3) sorted by relevance
53 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()
2087 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()
44 uint8_t sample_count; member