Lines Matching refs:height
141 static double normalize_height(double height) in normalize_height() argument
143 if (height < 0.25) in normalize_height()
145 else if (height < 0.50) in normalize_height()
147 else if (height < 0.75) in normalize_height()
153 void svg_ubox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_ubox() argument
156 height = normalize_height(height); in svg_ubox()
167 SLOT_HALF * height, in svg_ubox()
172 void svg_lbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_lbox() argument
175 height = normalize_height(height); in svg_lbox()
185 Yslot * SLOT_MULT + SLOT_HEIGHT - SLOT_HALF * height, in svg_lbox()
186 SLOT_HALF * height, in svg_lbox()
191 void svg_fbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_fbox() argument
194 height = normalize_height(height); in svg_fbox()
204 Yslot * SLOT_MULT + SLOT_HEIGHT - SLOT_HEIGHT * height, in svg_fbox()
205 SLOT_HEIGHT * height, in svg_fbox()
475 double height = 0; in svg_pstate() local
483 height = freq * 1.0 / max_freq * (SLOT_HEIGHT + SLOT_MULT); in svg_pstate()
484 height = 1 + cpu2y(cpu) + SLOT_MULT + SLOT_HEIGHT - height; in svg_pstate()
486 time2pixels(start), time2pixels(end), height, height); in svg_pstate()
488 time2pixels(start), height+0.9, HzToHuman(freq)); in svg_pstate()
496 double height; in svg_partial_wakeline() local
542 height = row1 * SLOT_MULT; in svg_partial_wakeline()
544 height += SLOT_HEIGHT; in svg_partial_wakeline()
547 time2pixels(start), height); in svg_partial_wakeline()
554 double height; in svg_wakeline() local
572 height = row1 * SLOT_MULT; in svg_wakeline()
574 height += SLOT_HEIGHT; in svg_wakeline()
576 time2pixels(start), height); in svg_wakeline()