Lines Matching refs:nm
192 #define PR_UL_NM(str, var) printf("%s."str SQ"%lu\n", nm, (unsigned long)(var));
194 #define PR_UL_SUB(str, nm, var) printf(str".%s"SQ"%lu\n", nm, (unsigned long)(var));
202 static void pr_stats(const char* nm, struct ub_stats_info* s)
229 printf("%s.requestlist.avg"SQ"%g\n", nm,
244 printf("%s.", nm);
246 printf("%s.recursion.time.median"SQ"%g\n", nm, s->mesh_time_median);
311 char nm[16];
317 sldns_wire2str_type_buf((uint16_t)i, nm, sizeof(nm));
318 PR_UL_SUB("num.query.type", nm, s->svr.qtype[i]);
328 sldns_wire2str_class_buf((uint16_t)i, nm, sizeof(nm));
329 PR_UL_SUB("num.query.class", nm, s->svr.qclass[i]);
339 sldns_wire2str_opcode_buf(i, nm, sizeof(nm));
340 PR_UL_SUB("num.query.opcode", nm, s->svr.qopcode[i]);
369 sldns_wire2str_rcode_buf(i, nm, sizeof(nm));
370 PR_UL_SUB("num.answer.rcode", nm, s->svr.ans_rcode[i]);
427 char nm[32];
429 snprintf(nm, sizeof(nm), "thread%d", i);
430 pr_stats(nm, &stats[i+1]);