From 5bee815f7f9045db667bf9a1b0d5fddd94c704e4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 4 Sep 2019 11:16:53 +0000 Subject: Use stopwatches --- src/clients/s6-dnsq.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/clients/s6-dnsq.c') diff --git a/src/clients/s6-dnsq.c b/src/clients/s6-dnsq.c index 9f36716..3113025 100644 --- a/src/clients/s6-dnsq.c +++ b/src/clients/s6-dnsq.c @@ -75,6 +75,7 @@ int main (int argc, char const *const *argv) } if (debuglevel & 1) dbh.post_recv = &s6dns_debug_dumpdt_post_recv ; if (debuglevel & 2) { dbh.pre_send = &s6dns_debug_dumpdt_pre_send ; dbh.post_send = &s6dns_debug_dumpdt_post_send ; } + tain_now_set_stopwatch() ; tain_now_g() ; tain_add_g(&deadline, &deadline) ; if (!s6dns_engine_init_r_g(&s6dns_engine_here, &servers, 0, d.s, d.len, qtype, &dbh, &deadline)) -- cgit v1.2.3