Lines Matching defs:nm
203 #define PR_UL_NM(str, var) printf("%s."str SQ"%lu\n", nm, (unsigned long)(var));
205 #define PR_UL_SUB(str, nm, var) printf(str".%s"SQ"%lu\n", nm, (unsigned long)(var));
213 static void pr_stats(const char* nm, struct ub_stats_info* s)
240 printf("%s.requestlist.avg"SQ"%g\n", nm,
255 printf("%s.", nm);
257 printf("%s.recursion.time.median"SQ"%g\n", nm, s->mesh_time_median);
322 char nm[16];
328 sldns_wire2str_type_buf((uint16_t)i, nm, sizeof(nm));
329 PR_UL_SUB("num.query.type", nm, s->svr.qtype[i]);
339 sldns_wire2str_class_buf((uint16_t)i, nm, sizeof(nm));
340 PR_UL_SUB("num.query.class", nm, s->svr.qclass[i]);
350 sldns_wire2str_opcode_buf(i, nm, sizeof(nm));
351 PR_UL_SUB("num.query.opcode", nm, s->svr.qopcode[i]);
380 sldns_wire2str_rcode_buf(i, nm, sizeof(nm));
381 PR_UL_SUB("num.answer.rcode", nm, s->svr.ans_rcode[i]);
438 char nm[32];
440 snprintf(nm, sizeof(nm), "thread%d", i);
441 pr_stats(nm, &stats[i+1]);