Lines Matching refs:fprintf
93 fprintf(stderr, "Cannot open %s for output\n", filename); in open_svg()
110 fprintf(svgfile, "<?xml version=\"1.0\" standalone=\"no\"?> \n"); in open_svg()
111 fprintf(svgfile, "<!DOCTYPE svg SYSTEM \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n"); in open_svg()
112 …fprintf(svgfile, "<svg width=\"%i\" height=\"%" PRIu64 "\" version=\"1.1\" xmlns=\"http://www.w3.o… in open_svg()
114 fprintf(svgfile, "<defs>\n <style type=\"text/css\">\n <![CDATA[\n"); in open_svg()
116 fprintf(svgfile, " rect { stroke-width: 1; }\n"); in open_svg()
117 …fprintf(svgfile, " rect.process { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:1; … in open_svg()
118 …fprintf(svgfile, " rect.process2 { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:0; … in open_svg()
119 …fprintf(svgfile, " rect.process3 { fill:rgb(180,180,180); fill-opacity:0.5; stroke-width:0; … in open_svg()
120 …fprintf(svgfile, " rect.sample { fill:rgb( 0, 0,255); fill-opacity:0.8; stroke-width:0; … in open_svg()
121 …fprintf(svgfile, " rect.sample_hi{ fill:rgb(255,128, 0); fill-opacity:0.8; stroke-width:0; … in open_svg()
122 …fprintf(svgfile, " rect.error { fill:rgb(255, 0, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
123 …fprintf(svgfile, " rect.net { fill:rgb( 0,128, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
124 …fprintf(svgfile, " rect.disk { fill:rgb( 0, 0,255); fill-opacity:0.5; stroke-width:0; … in open_svg()
125 …fprintf(svgfile, " rect.sync { fill:rgb(128,128, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
126 …fprintf(svgfile, " rect.poll { fill:rgb( 0,128,128); fill-opacity:0.2; stroke-width:0; … in open_svg()
127 …fprintf(svgfile, " rect.blocked { fill:rgb(255, 0, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
128 …fprintf(svgfile, " rect.waiting { fill:rgb(224,214, 0); fill-opacity:0.8; stroke-width:0; … in open_svg()
129 …fprintf(svgfile, " rect.WAITING { fill:rgb(255,214, 48); fill-opacity:0.6; stroke-width:0; … in open_svg()
130 …fprintf(svgfile, " rect.cpu { fill:rgb(192,192,192); fill-opacity:0.2; stroke-width:0.5;… in open_svg()
131 …fprintf(svgfile, " rect.pstate { fill:rgb(128,128,128); fill-opacity:0.8; stroke-width:0; }… in open_svg()
132 …fprintf(svgfile, " rect.c1 { fill:rgb(255,214,214); fill-opacity:0.5; stroke-width:0; }… in open_svg()
133 …fprintf(svgfile, " rect.c2 { fill:rgb(255,172,172); fill-opacity:0.5; stroke-width:0; }… in open_svg()
134 …fprintf(svgfile, " rect.c3 { fill:rgb(255,130,130); fill-opacity:0.5; stroke-width:0; }… in open_svg()
135 …fprintf(svgfile, " rect.c4 { fill:rgb(255, 88, 88); fill-opacity:0.5; stroke-width:0; }… in open_svg()
136 …fprintf(svgfile, " rect.c5 { fill:rgb(255, 44, 44); fill-opacity:0.5; stroke-width:0; }… in open_svg()
137 …fprintf(svgfile, " rect.c6 { fill:rgb(255, 0, 0); fill-opacity:0.5; stroke-width:0; }… in open_svg()
138 …fprintf(svgfile, " line.pstate { stroke:rgb(255,255, 0); stroke-opacity:0.8; stroke-width:… in open_svg()
140 fprintf(svgfile, " ]]>\n </style>\n</defs>\n"); in open_svg()
163 fprintf(svgfile, "<g>\n"); in svg_ubox()
164 fprintf(svgfile, "<title>fd=%d error=%d merges=%d</title>\n", fd, err, merges); in svg_ubox()
165 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n", in svg_ubox()
171 fprintf(svgfile, "</g>\n"); in svg_ubox()
182 fprintf(svgfile, "<g>\n"); in svg_lbox()
183 fprintf(svgfile, "<title>fd=%d error=%d merges=%d</title>\n", fd, err, merges); in svg_lbox()
184 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n", in svg_lbox()
190 fprintf(svgfile, "</g>\n"); in svg_lbox()
201 fprintf(svgfile, "<g>\n"); in svg_fbox()
202 fprintf(svgfile, "<title>fd=%d error=%d merges=%d</title>\n", fd, err, merges); in svg_fbox()
203 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n", in svg_fbox()
209 fprintf(svgfile, "</g>\n"); in svg_fbox()
217 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n", in svg_box()
227 fprintf(svgfile, "<g>\n"); in svg_blocked()
228 fprintf(svgfile, "<title>#%d blocked %s</title>\n", cpu, in svg_blocked()
231 fprintf(svgfile, "<desc>Blocked on:\n%s</desc>\n", backtrace); in svg_blocked()
233 fprintf(svgfile, "</g>\n"); in svg_blocked()
248 fprintf(svgfile, "<g>\n"); in svg_running()
250 fprintf(svgfile, "<title>#%d running %s</title>\n", in svg_running()
253 fprintf(svgfile, "<desc>Switched because:\n%s</desc>\n", backtrace); in svg_running()
254 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n", in svg_running()
266 fprintf(svgfile, "<text x=\"%.8f\" y=\"%.8f\" font-size=\"%.8fpt\">%i</text>\n", in svg_running()
269 fprintf(svgfile, "</g>\n"); in svg_running()
313 …fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\">\n", time2pixels(start), Yslot * SLOT_MULT… in svg_waiting()
314 fprintf(svgfile, "<title>#%d waiting %s</title>\n", cpu, time_to_string(end - start)); in svg_waiting()
316 fprintf(svgfile, "<desc>Waiting on:\n%s</desc>\n", backtrace); in svg_waiting()
317 fprintf(svgfile, "<rect x=\"0\" width=\"%.8f\" y=\"0\" height=\"%.1f\" class=\"%s\"/>\n", in svg_waiting()
320 fprintf(svgfile, "<text transform=\"rotate(90)\" font-size=\"%.8fpt\"> %s</text>\n", in svg_waiting()
322 fprintf(svgfile, "</g>\n"); in svg_waiting()
367 fprintf(svgfile, "<g>\n"); in svg_cpu_box()
369 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"cpu\"/>\n", in svg_cpu_box()
375 fprintf(svgfile, "<text x=\"%.8f\" y=\"%.8f\">%s</text>\n", in svg_cpu_box()
378 fprintf(svgfile, "<text transform=\"translate(%.8f,%.8f)\" font-size=\"1.25pt\">%s</text>\n", in svg_cpu_box()
381 fprintf(svgfile, "</g>\n"); in svg_cpu_box()
399 fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\">\n", time2pixels(start), cpu2y(cpu)); in svg_process()
400 fprintf(svgfile, "<title>%d %s running %s</title>\n", pid, name, time_to_string(end - start)); in svg_process()
402 fprintf(svgfile, "<desc>Switched because:\n%s</desc>\n", backtrace); in svg_process()
403 fprintf(svgfile, "<rect x=\"0\" width=\"%.8f\" y=\"0\" height=\"%.1f\" class=\"%s\"/>\n", in svg_process()
412 fprintf(svgfile, "<text transform=\"rotate(90)\" font-size=\"%.8fpt\">%s</text>\n", in svg_process()
415 fprintf(svgfile, "</g>\n"); in svg_process()
427 fprintf(svgfile, "<g>\n"); in svg_cstate()
433 fprintf(svgfile, "<rect class=\"%s\" x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\"/>\n", in svg_cstate()
445 fprintf(svgfile, "<text x=\"%.8f\" y=\"%.8f\" font-size=\"%.8fpt\">C%i</text>\n", in svg_cstate()
448 fprintf(svgfile, "</g>\n"); in svg_cstate()
482 fprintf(svgfile, "<g>\n"); in svg_pstate()
487 fprintf(svgfile, "<line x1=\"%.8f\" x2=\"%.8f\" y1=\"%.1f\" y2=\"%.1f\" class=\"pstate\"/>\n", in svg_pstate()
489 fprintf(svgfile, "<text x=\"%.8f\" y=\"%.8f\" font-size=\"0.25pt\">%s</text>\n", in svg_pstate()
492 fprintf(svgfile, "</g>\n"); in svg_pstate()
504 fprintf(svgfile, "<g>\n"); in svg_partial_wakeline()
506 fprintf(svgfile, "<title>%s wakes up %s</title>\n", in svg_partial_wakeline()
511 fprintf(svgfile, "<desc>%s</desc>\n", backtrace); in svg_partial_wakeline()
515 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_partial_wakeline()
518 …fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\"><text transform=\"rotate(90)\" font-size=\… in svg_partial_wakeline()
522 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_partial_wakeline()
525 …fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\"><text transform=\"rotate(90)\" font-size=\… in svg_partial_wakeline()
530 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_partial_wakeline()
533 …fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\"><text transform=\"rotate(90)\" font-size=\… in svg_partial_wakeline()
537 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_partial_wakeline()
540 …fprintf(svgfile, "<g transform=\"translate(%.8f,%.8f)\"><text transform=\"rotate(90)\" font-size=\… in svg_partial_wakeline()
548 …fprintf(svgfile, "<circle cx=\"%.8f\" cy=\"%.2f\" r = \"0.01\" style=\"fill:rgb(32,255,32)\"/>\n… in svg_partial_wakeline()
551 fprintf(svgfile, "</g>\n"); in svg_partial_wakeline()
562 fprintf(svgfile, "<g>\n"); in svg_wakeline()
565 fprintf(svgfile, "<desc>%s</desc>\n", backtrace); in svg_wakeline()
568 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_wakeline()
571 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%.2f\" style=\"stroke:rgb(32,255,… in svg_wakeline()
577 …fprintf(svgfile, "<circle cx=\"%.8f\" cy=\"%.2f\" r = \"0.01\" style=\"fill:rgb(32,255,32)\"/>\n… in svg_wakeline()
580 fprintf(svgfile, "</g>\n"); in svg_wakeline()
588 fprintf(svgfile, "<g>\n"); in svg_interrupt()
590 fprintf(svgfile, "<title>Wakeup from interrupt</title>\n"); in svg_interrupt()
593 fprintf(svgfile, "<desc>%s</desc>\n", backtrace); in svg_interrupt()
595 …fprintf(svgfile, "<circle cx=\"%.8f\" cy=\"%.2f\" r = \"0.01\" style=\"fill:rgb(255,128,128)\"/>… in svg_interrupt()
597 …fprintf(svgfile, "<circle cx=\"%.8f\" cy=\"%.2f\" r = \"0.01\" style=\"fill:rgb(255,128,128)\"/>… in svg_interrupt()
600 fprintf(svgfile, "</g>\n"); in svg_interrupt()
608 fprintf(svgfile, "<text x=\"%.8f\" y=\"%.8f\">%s</text>\n", in svg_text()
617 fprintf(svgfile, "<rect x=\"%i\" width=\"%.8f\" y=\"0\" height=\"%.1f\" class=\"%s\"/>\n", in svg_legenda_box()
619 fprintf(svgfile, "<text transform=\"translate(%.8f, %.8f)\" font-size=\"%.8fpt\">%s</text>\n", in svg_legenda_box()
628 fprintf(svgfile, "<g>\n"); in svg_io_legenda()
634 fprintf(svgfile, "</g>\n"); in svg_io_legenda()
642 fprintf(svgfile, "<g>\n"); in svg_legenda()
650 fprintf(svgfile, "</g>\n"); in svg_legenda()
674 …fprintf(svgfile, "<line x1=\"%.8f\" y1=\"%.2f\" x2=\"%.8f\" y2=\"%" PRIu64 "\" style=\"stroke:rgb(… in svg_time_grid()
685 fprintf(svgfile, "</svg>\n"); in svg_close()
769 fprintf(stderr, "topology: no memory\n"); in svg_build_topology_map()
775 fprintf(stderr, "topology: can't parse siblings map\n"); in svg_build_topology_map()
784 fprintf(stderr, "topology: can't parse siblings map\n"); in svg_build_topology_map()
793 fprintf(stderr, "topology: no memory\n"); in svg_build_topology_map()