Searched refs:res_sample (Results 1 – 6 of 6) sorted by relevance
/packages/modules/DnsResolver/ |
D | stats.h | 29 struct res_sample { struct 38 res_sample samples[MAXNSSAMPLES]; argument 63 void res_stats_set_sample(res_sample* sample, time_t now, int rcode, int rtt);
|
D | resolv_cache_unit_test.cpp | 108 bool operator==(const res_sample& a, const res_sample& b) { in operator ==() 210 const res_sample& sample, int max_samples) { in cacheAddStats() 751 res_sample sample = {.at = time(NULL), .rtt = 100, .rcode = ns_r_noerror}; in TEST_F() 852 const res_sample sample1 = {.at = time(nullptr), .rtt = 100, .rcode = ns_r_noerror}; in TEST_F() 853 const res_sample sample2 = {.at = time(nullptr), .rtt = 200, .rcode = ns_r_noerror}; in TEST_F() 854 const res_sample sample3 = {.at = time(nullptr), .rtt = 300, .rcode = ns_r_noerror}; in TEST_F()
|
D | resolv_cache.h | 131 const res_sample& sample, int max_samples);
|
D | res_stats.cpp | 35 void res_stats_set_sample(res_sample* sample, time_t now, int rcode, int rtt) { in res_stats_set_sample()
|
D | res_cache.cpp | 1698 static void res_cache_add_stats_sample_locked(res_stats* stats, const res_sample& sample, in res_cache_add_stats_sample_locked() 1826 const res_sample& sample, int max_samples) { in resolv_cache_add_resolver_stats_sample()
|
D | res_send.cpp | 594 res_sample sample; in res_nsend()
|