Lines Matching refs:fprintf
91 fprintf(stderr, "Cannot open %s for output\n", filename); in open_svg()
108 fprintf(svgfile, "<?xml version=\"1.0\" standalone=\"no\"?> \n"); in open_svg()
109 fprintf(svgfile, "<!DOCTYPE svg SYSTEM \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n"); in open_svg()
110 …fprintf(svgfile, "<svg width=\"%i\" height=\"%" PRIu64 "\" version=\"1.1\" xmlns=\"http://www.w3.o… in open_svg()
112 fprintf(svgfile, "<defs>\n <style type=\"text/css\">\n <![CDATA[\n"); in open_svg()
114 fprintf(svgfile, " rect { stroke-width: 1; }\n"); in open_svg()
115 …fprintf(svgfile, " rect.process { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:1; … in open_svg()
116 …fprintf(svgfile, " rect.process2 { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:0; … in open_svg()
117 …fprintf(svgfile, " rect.process3 { fill:rgb(180,180,180); fill-opacity:0.5; stroke-width:0; … in open_svg()
118 …fprintf(svgfile, " rect.sample { fill:rgb( 0, 0,255); fill-opacity:0.8; stroke-width:0; … in open_svg()
119 …fprintf(svgfile, " rect.sample_hi{ fill:rgb(255,128, 0); fill-opacity:0.8; stroke-width:0; … in open_svg()
120 …fprintf(svgfile, " rect.error { fill:rgb(255, 0, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
121 …fprintf(svgfile, " rect.net { fill:rgb( 0,128, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
122 …fprintf(svgfile, " rect.disk { fill:rgb( 0, 0,255); fill-opacity:0.5; stroke-width:0; … in open_svg()
123 …fprintf(svgfile, " rect.sync { fill:rgb(128,128, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
124 …fprintf(svgfile, " rect.poll { fill:rgb( 0,128,128); fill-opacity:0.2; stroke-width:0; … in open_svg()
125 …fprintf(svgfile, " rect.blocked { fill:rgb(255, 0, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
126 …fprintf(svgfile, " rect.waiting { fill:rgb(224,214, 0); fill-opacity:0.8; stroke-width:0; … in open_svg()
127 …fprintf(svgfile, " rect.WAITING { fill:rgb(255,214, 48); fill-opacity:0.6; stroke-width:0; … in open_svg()
128 …fprintf(svgfile, " rect.cpu { fill:rgb(192,192,192); fill-opacity:0.2; stroke-width:0.5;… in open_svg()
129 …fprintf(svgfile, " rect.pstate { fill:rgb(128,128,128); fill-opacity:0.8; stroke-width:0; }… in open_svg()
130 …fprintf(svgfile, " rect.c1 { fill:rgb(255,214,214); fill-opacity:0.5; stroke-width:0; }… in open_svg()
131 …fprintf(svgfile, " rect.c2 { fill:rgb(255,172,172); fill-opacity:0.5; stroke-width:0; }… in open_svg()
132 …fprintf(svgfile, " rect.c3 { fill:rgb(255,130,130); fill-opacity:0.5; stroke-width:0; }… in open_svg()
133 …fprintf(svgfile, " rect.c4 { fill:rgb(255, 88, 88); fill-opacity:0.5; stroke-width:0; }… in open_svg()
134 …fprintf(svgfile, " rect.c5 { fill:rgb(255, 44, 44); fill-opacity:0.5; stroke-width:0; }… in open_svg()
135 …fprintf(svgfile, " rect.c6 { fill:rgb(255, 0, 0); fill-opacity:0.5; stroke-width:0; }… in open_svg()
136 …fprintf(svgfile, " line.pstate { stroke:rgb(255,255, 0); stroke-opacity:0.8; stroke-width:… in open_svg()
138 fprintf(svgfile, " ]]>\n </style>\n</defs>\n"); in open_svg()
161 fprintf(svgfile, "<g>\n"); in svg_ubox()
162 fprintf(svgfile, "<title>fd=%d error=%d merges=%d</title>\n", fd, err, merges); in svg_ubox()
163 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n", in svg_ubox()
169 fprintf(svgfile, "</g>\n"); in svg_ubox()
180 fprintf(svgfile, "<g>\n"); in svg_lbox()
181 fprintf(svgfile, "<title>fd=%d error=%d merges=%d</title>\n", fd, err, merges); in svg_lbox()
182 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n", in svg_lbox()
188 fprintf(svgfile, "</g>\n"); in svg_lbox()
199 fprintf(svgfile, "<g>\n"); in svg_fbox()
200 fprintf(svgfile, "<title>fd=%d error=%d merges=%d</title>\n", fd, err, merges); in svg_fbox()
201 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n", in svg_fbox()
207 fprintf(svgfile, "</g>\n"); in svg_fbox()
215 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n", in svg_box()
225 fprintf(svgfile, "<g>\n"); in svg_blocked()
226 fprintf(svgfile, "<title>#%d blocked %s</title>\n", cpu, in svg_blocked()
229 fprintf(svgfile, "<desc>Blocked on:\n%s</desc>\n", backtrace); in svg_blocked()
231 fprintf(svgfile, "</g>\n"); in svg_blocked()
246 fprintf(svgfile, "<g>\n"); in svg_running()
248 fprintf(svgfile, "<title>#%d running %s</title>\n", in svg_running()
251 fprintf(svgfile, "<desc>Switched because:\n%s</desc>\n", backtrace); in svg_running()
252 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n", in svg_running()
264 fprintf(svgfile, "<text x=\"%.8f\" y=\"%.8f\" font-size=\"%.8fpt\">%i</text>\n", in svg_running()
267 fprintf(svgfile, "</g>\n"); in svg_running()
311 …fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\">\n", time2pixels(start), Yslot * SLOT_MULT… in svg_waiting()
312 fprintf(svgfile, "<title>#%d waiting %s</title>\n", cpu, time_to_string(end - start)); in svg_waiting()
314 fprintf(svgfile, "<desc>Waiting on:\n%s</desc>\n", backtrace); in svg_waiting()
315 fprintf(svgfile, "<rect x=\"0\" width=\"%.8f\" y=\"0\" height=\"%.1f\" class=\"%s\"/>\n", in svg_waiting()
318 fprintf(svgfile, "<text transform=\"rotate(90)\" font-size=\"%.8fpt\"> %s</text>\n", in svg_waiting()
320 fprintf(svgfile, "</g>\n"); in svg_waiting()
365 fprintf(svgfile, "<g>\n"); in svg_cpu_box()
367 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"cpu\"/>\n", in svg_cpu_box()
373 fprintf(svgfile, "<text x=\"%.8f\" y=\"%.8f\">%s</text>\n", in svg_cpu_box()
376 fprintf(svgfile, "<text transform=\"translate(%.8f,%.8f)\" font-size=\"1.25pt\">%s</text>\n", in svg_cpu_box()
379 fprintf(svgfile, "</g>\n"); in svg_cpu_box()
397 fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\">\n", time2pixels(start), cpu2y(cpu)); in svg_process()
398 fprintf(svgfile, "<title>%d %s running %s</title>\n", pid, name, time_to_string(end - start)); in svg_process()
400 fprintf(svgfile, "<desc>Switched because:\n%s</desc>\n", backtrace); in svg_process()
401 fprintf(svgfile, "<rect x=\"0\" width=\"%.8f\" y=\"0\" height=\"%.1f\" class=\"%s\"/>\n", in svg_process()
410 fprintf(svgfile, "<text transform=\"rotate(90)\" font-size=\"%.8fpt\">%s</text>\n", in svg_process()
413 fprintf(svgfile, "</g>\n"); in svg_process()
425 fprintf(svgfile, "<g>\n"); in svg_cstate()
431 fprintf(svgfile, "<rect class=\"%s\" x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\"/>\n", in svg_cstate()
443 fprintf(svgfile, "<text x=\"%.8f\" y=\"%.8f\" font-size=\"%.8fpt\">C%i</text>\n", in svg_cstate()
446 fprintf(svgfile, "</g>\n"); in svg_cstate()
480 fprintf(svgfile, "<g>\n"); in svg_pstate()
485 fprintf(svgfile, "<line x1=\"%.8f\" x2=\"%.8f\" y1=\"%.1f\" y2=\"%.1f\" class=\"pstate\"/>\n", in svg_pstate()
487 fprintf(svgfile, "<text x=\"%.8f\" y=\"%.8f\" font-size=\"0.25pt\">%s</text>\n", in svg_pstate()
490 fprintf(svgfile, "</g>\n"); in svg_pstate()
502 fprintf(svgfile, "<g>\n"); in svg_partial_wakeline()
504 fprintf(svgfile, "<title>%s wakes up %s</title>\n", in svg_partial_wakeline()
509 fprintf(svgfile, "<desc>%s</desc>\n", backtrace); in svg_partial_wakeline()
513 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_partial_wakeline()
516 …fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\"><text transform=\"rotate(90)\" font-size=\… in svg_partial_wakeline()
520 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_partial_wakeline()
523 …fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\"><text transform=\"rotate(90)\" font-size=\… in svg_partial_wakeline()
528 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_partial_wakeline()
531 …fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\"><text transform=\"rotate(90)\" font-size=\… in svg_partial_wakeline()
535 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_partial_wakeline()
538 …fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\"><text transform=\"rotate(90)\" font-size=\… in svg_partial_wakeline()
546 …fprintf(svgfile, "<circle cx=\"%.8f\" cy=\"%.2f\" r = \"0.01\" style=\"fill:rgb(32,255,32)\"/>\n… in svg_partial_wakeline()
549 fprintf(svgfile, "</g>\n"); in svg_partial_wakeline()
560 fprintf(svgfile, "<g>\n"); in svg_wakeline()
563 fprintf(svgfile, "<desc>%s</desc>\n", backtrace); in svg_wakeline()
566 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_wakeline()
569 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_wakeline()
575 …fprintf(svgfile, "<circle cx=\"%.8f\" cy=\"%.2f\" r = \"0.01\" style=\"fill:rgb(32,255,32)\"/>\n… in svg_wakeline()
578 fprintf(svgfile, "</g>\n"); in svg_wakeline()
586 fprintf(svgfile, "<g>\n"); in svg_interrupt()
588 fprintf(svgfile, "<title>Wakeup from interrupt</title>\n"); in svg_interrupt()
591 fprintf(svgfile, "<desc>%s</desc>\n", backtrace); in svg_interrupt()
593 …fprintf(svgfile, "<circle cx=\"%.8f\" cy=\"%.2f\" r = \"0.01\" style=\"fill:rgb(255,128,128)\"/>… in svg_interrupt()
595 …fprintf(svgfile, "<circle cx=\"%.8f\" cy=\"%.2f\" r = \"0.01\" style=\"fill:rgb(255,128,128)\"/>… in svg_interrupt()
598 fprintf(svgfile, "</g>\n"); in svg_interrupt()
606 fprintf(svgfile, "<text x=\"%.8f\" y=\"%.8f\">%s</text>\n", in svg_text()
615 fprintf(svgfile, "<rect x=\"%i\" width=\"%.8f\" y=\"0\" height=\"%.1f\" class=\"%s\"/>\n", in svg_legenda_box()
617 fprintf(svgfile, "<text transform=\"translate(%.8f, %.8f)\" font-size=\"%.8fpt\">%s</text>\n", in svg_legenda_box()
626 fprintf(svgfile, "<g>\n"); in svg_io_legenda()
632 fprintf(svgfile, "</g>\n"); in svg_io_legenda()
640 fprintf(svgfile, "<g>\n"); in svg_legenda()
648 fprintf(svgfile, "</g>\n"); in svg_legenda()
672 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%" PRIu64 "\" style=\"stroke:rgb(… in svg_time_grid()
683 fprintf(svgfile, "</svg>\n"); in svg_close()
768 fprintf(stderr, "topology: no memory\n"); in svg_build_topology_map()
774 fprintf(stderr, "topology: can't parse siblings map\n"); in svg_build_topology_map()
783 fprintf(stderr, "topology: can't parse siblings map\n"); in svg_build_topology_map()
792 fprintf(stderr, "topology: no memory\n"); in svg_build_topology_map()