Home
last modified time | relevance | path

Searched refs:res_sample (Results 1 – 6 of 6) sorted by relevance

/packages/modules/DnsResolver/
Dstats.h29 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);
Dresolv_cache_unit_test.cpp108 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()
Dresolv_cache.h131 const res_sample& sample, int max_samples);
Dres_stats.cpp35 void res_stats_set_sample(res_sample* sample, time_t now, int rcode, int rtt) { in res_stats_set_sample()
Dres_cache.cpp1698 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()
Dres_send.cpp594 res_sample sample; in res_nsend()