Searched refs:sec_w (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/ |
| H A D | draw.py | 201 def draw_sec_labels(ctx, options, rect, sec_w, nsecs): argument 204 for i in range(0, rect[2] + 1, sec_w): 205 if ((i / sec_w) % nsecs == 0) : 207 label = "%.1f" % (i / sec_w / 60.0) 209 label = "%d" % (i / sec_w) 216 def draw_box_ticks(ctx, rect, sec_w): argument 221 for i in range(sec_w, rect[2] + 1, sec_w): 222 if ((i / sec_w) % 10 == 0) : 224 elif sec_w < 5 : 228 if ((i / sec_w) % 30 == 0) : [all …]
|