Lines Matching refs:fout

309 		FILE *fout;  in run_bpf_prog()  local
315 fout = fopen(fname, "w"); in run_bpf_prog()
316 fprintf(fout, "id:%d\n", cg_id); in run_bpf_prog()
317 fprintf(fout, "ERROR: Could not lookup queue_stats\n"); in run_bpf_prog()
327 FILE *fout; in run_bpf_prog() local
342 fout = fopen(fname, "w"); in run_bpf_prog()
343 fprintf(fout, "id:%d\n", cg_id); in run_bpf_prog()
344 fprintf(fout, "rate_mbps:%d\n", rate_mbps); in run_bpf_prog()
345 fprintf(fout, "duration:%.1f secs\n", in run_bpf_prog()
348 fprintf(fout, "packets:%d\n", (int)qstats.pkts_total); in run_bpf_prog()
349 fprintf(fout, "bytes_MB:%d\n", (int)(qstats.bytes_total / in run_bpf_prog()
351 fprintf(fout, "pkts_dropped:%d\n", (int)qstats.pkts_dropped); in run_bpf_prog()
352 fprintf(fout, "bytes_dropped_MB:%d\n", in run_bpf_prog()
360 fprintf(fout, "pkts_marked_percent:%6.2f\n", percent_pkts); in run_bpf_prog()
361 fprintf(fout, "bytes_marked_percent:%6.2f\n", percent_bytes); in run_bpf_prog()
368 fprintf(fout, "pkts_dropped_percent:%6.2f\n", percent_pkts); in run_bpf_prog()
369 fprintf(fout, "bytes_dropped_percent:%6.2f\n", percent_bytes); in run_bpf_prog()
374 fprintf(fout, "pkts_ecn_ce:%6.2f (%d)\n", percent_pkts, in run_bpf_prog()
378 fprintf(fout, "avg cwnd:%d\n", in run_bpf_prog()
381 fprintf(fout, "avg rtt:%d\n", in run_bpf_prog()
385 fprintf(fout, "avg credit_ms:%.03f\n", in run_bpf_prog()
389 fprintf(fout, "avg credit:%d\n", in run_bpf_prog()
397 fprintf(fout, "%s:%6.2f (%d)\n", returnValNames[k], in run_bpf_prog()
400 fclose(fout); in run_bpf_prog()