Lines Matching defs:height

110 	fprintf(svgfile, "<svg width=\"%i\" height=\"%" PRIu64 "\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n", svg_page_width, total_height);
141 static double normalize_height(double height)
143 if (height < 0.25)
145 else if (height < 0.50)
147 else if (height < 0.75)
153 void svg_ubox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int merges)
156 height = normalize_height(height);
163 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n",
167 SLOT_HALF * height,
172 void svg_lbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int merges)
175 height = normalize_height(height);
182 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n",
185 Yslot * SLOT_MULT + SLOT_HEIGHT - SLOT_HALF * height,
186 SLOT_HALF * height,
191 void svg_fbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int merges)
194 height = normalize_height(height);
201 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n",
204 Yslot * SLOT_MULT + SLOT_HEIGHT - SLOT_HEIGHT * height,
205 SLOT_HEIGHT * height,
215 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n",
252 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"%s\"/>\n",
315 fprintf(svgfile, "<rect x=\"0\" width=\"%.8f\" y=\"0\" height=\"%.1f\" class=\"%s\"/>\n",
367 fprintf(svgfile, "<rect x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\" class=\"cpu\"/>\n",
401 fprintf(svgfile, "<rect x=\"0\" width=\"%.8f\" y=\"0\" height=\"%.1f\" class=\"%s\"/>\n",
431 fprintf(svgfile, "<rect class=\"%s\" x=\"%.8f\" width=\"%.8f\" y=\"%.1f\" height=\"%.1f\"/>\n",
475 double height = 0;
483 height = freq * 1.0 / max_freq * (SLOT_HEIGHT + SLOT_MULT);
484 height = 1 + cpu2y(cpu) + SLOT_MULT + SLOT_HEIGHT - height;
486 time2pixels(start), time2pixels(end), height, height);
488 time2pixels(start), height+0.9, HzToHuman(freq));
496 double height;
542 height = row1 * SLOT_MULT;
544 height += SLOT_HEIGHT;
547 time2pixels(start), height);
554 double height;
572 height = row1 * SLOT_MULT;
574 height += SLOT_HEIGHT;
576 time2pixels(start), height);
615 fprintf(svgfile, "<rect x=\"%i\" width=\"%.8f\" y=\"0\" height=\"%.1f\" class=\"%s\"/>\n",