/tools/perf/util/ |
D | values.c | 145 int width; in perf_read_values__display_pretty() local 147 width = snprintf(NULL, 0, "%d", values->pid[i]); in perf_read_values__display_pretty() 148 if (width > pidwidth) in perf_read_values__display_pretty() 149 pidwidth = width; in perf_read_values__display_pretty() 150 width = snprintf(NULL, 0, "%d", values->tid[i]); in perf_read_values__display_pretty() 151 if (width > tidwidth) in perf_read_values__display_pretty() 152 tidwidth = width; in perf_read_values__display_pretty() 154 width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]); in perf_read_values__display_pretty() 155 if (width > counterwidth[j]) in perf_read_values__display_pretty() 156 counterwidth[j] = width; in perf_read_values__display_pretty() [all …]
|
D | sort.c | 78 size_t size, unsigned int width) in hist_entry__thread_snprintf() argument 82 width = max(7U, width) - 8; in hist_entry__thread_snprintf() 84 width, width, comm ?: ""); in hist_entry__thread_snprintf() 128 size_t size, unsigned int width) in hist_entry__comm_snprintf() argument 130 return repsep_snprintf(bf, size, "%-*.*s", width, width, comm__str(he->comm)); in hist_entry__comm_snprintf() 172 size_t size, unsigned int width) in _hist_entry__dso_snprintf() argument 177 return repsep_snprintf(bf, size, "%-*.*s", width, width, dso_name); in _hist_entry__dso_snprintf() 180 return repsep_snprintf(bf, size, "%-*.*s", width, width, "[unknown]"); in _hist_entry__dso_snprintf() 184 size_t size, unsigned int width) in hist_entry__dso_snprintf() argument 186 return _hist_entry__dso_snprintf(he->ms.map, bf, size, width); in hist_entry__dso_snprintf() [all …]
|
D | svghelper.c | 386 double width; in svg_process() local 405 width = time2pixels(end)-time2pixels(start); in svg_process() 406 if (width > 6) in svg_process() 407 width = 6; in svg_process() 409 width = round_text_size(width); in svg_process() 411 if (width > MIN_TEXT_SIZE) in svg_process() 413 width, name); in svg_process() 420 double width; in svg_cstate() local 438 width = (time2pixels(end)-time2pixels(start))/2.0; in svg_cstate() 439 if (width > 6) in svg_cstate() [all …]
|
D | annotate.c | 1053 int width = 8; in disasm_line__print() local 1059 width *= evsel->nr_members; in disasm_line__print() 1062 printf(" %*s:\n", width, " "); in disasm_line__print() 1064 printf(" %*s: %s\n", width, " ", dl->line); in disasm_line__print() 1670 int width = 8; in symbol__annotate_printf() local 1685 width *= evsel->nr_members; in symbol__annotate_printf() 1688 width, width, "Percent", d_filename, evsel_name, h->sum); in symbol__annotate_printf()
|
D | sort.h | 251 unsigned int width);
|
/tools/perf/ui/gtk/ |
D | browser.c | 23 int width; in perf_gtk__resize_window() local 31 width = rect.width * 3 / 4; in perf_gtk__resize_window() 34 gtk_window_resize(GTK_WINDOW(window), width, height); in perf_gtk__resize_window()
|
/tools/perf/ui/browsers/ |
D | map.c | 25 int width; in map_browser__write() local 32 width = browser->width - ((mb->addrlen * 2) + 4); in map_browser__write() 33 if (width > 0) in map_browser__write() 34 ui_browser__write_nstring(browser, sym->name, width); in map_browser__write()
|
D | scripts.c | 84 ui_browser__write_nstring(browser, sline->line, browser->width); in script_browser__write() 165 if (script.b.width < retlen) in script_browse() 166 script.b.width = retlen; in script_browse() 173 if (script.b.width > AVERAGE_LINE_LEN) in script_browse() 174 script.b.width = AVERAGE_LINE_LEN; in script_browse()
|
D | hists.c | 92 browser->width = 3 + (hists__sort_list_width(hb->hists) + sizeof("[k]")); in hist_browser__refresh_dimensions() 683 int color, width; in hist_browser__show_callchain_entry() local 688 width = browser->b.width - (offset + 2); in hist_browser__show_callchain_entry() 700 ui_browser__write_nstring(&browser->b, str, width); in hist_browser__show_callchain_entry() 1174 int width = browser->b.width; in hist_browser__show_entry() local 1224 width -= 2; in hist_browser__show_entry() 1229 width -= 2; in hist_browser__show_entry() 1244 width -= hpp.buf - s; in hist_browser__show_entry() 1249 width += 1; in hist_browser__show_entry() 1251 ui_browser__write_nstring(&browser->b, "", width); in hist_browser__show_entry() [all …]
|
D | annotate.c | 121 int width = browser->width, printed; in annotate_browser__write() local 168 width += 1; in annotate_browser__write() 171 ui_browser__write_nstring(browser, " ", width - pcnt_width); in annotate_browser__write() 180 ui_browser__write_nstring(browser, dl->line, width - printed - pcnt_width + 1); in annotate_browser__write() 237 ui_browser__write_nstring(browser, bf, width - pcnt_width - 3 - printed); in annotate_browser__write() 1070 if (browser.b.width < line_len) in symbol__tui_annotate() 1071 browser.b.width = line_len; in symbol__tui_annotate() 1098 browser.b.width += 18; /* Percentage */ in symbol__tui_annotate()
|
D | header.c | 28 ui_browser__write_nstring(browser, str, browser->width); in ui_browser__argv_write()
|
/tools/vm/ |
D | slabinfo-gnuplot.sh | 34 width=1500 83 if [ $((width / lines)) -gt $min_slab_name_size ]; then 91 set terminal png enhanced size $width,$height large 133 set terminal png enhanced size $width,$height large 198 width=${array[0]}
|
/tools/perf/tests/ |
D | builtin-test.c | 361 int width = 0; in __cmd_test() local 366 if (width < len) in __cmd_test() 367 width = len; in __cmd_test() 376 pr_info("%2d: %-*s:", i, width, t->desc); in __cmd_test() 395 int subw = width > 2 ? width - 2 : width; in __cmd_test()
|
/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 1012 u32 pci_register, u64 *value, u32 width) in acpi_os_read_pci_configuration() argument 1036 u32 pci_register, u64 value, u32 width) in acpi_os_write_pci_configuration() argument 1056 acpi_status acpi_os_read_port(acpi_io_address address, u32 *value, u32 width) in acpi_os_read_port() argument 1059 switch (width) { in acpi_os_read_port() 1097 acpi_status acpi_os_write_port(acpi_io_address address, u32 value, u32 width) in acpi_os_write_port() argument 1119 acpi_os_read_memory(acpi_physical_address address, u64 *value, u32 width) in acpi_os_read_memory() argument 1122 switch (width) { in acpi_os_read_memory() 1153 acpi_os_write_memory(acpi_physical_address address, u64 value, u32 width) in acpi_os_write_memory() argument
|
/tools/perf/ui/stdio/ |
D | hist.c | 543 unsigned width = 0; in hists__fprintf_hierarchy_headers() local 600 width = fmt->width(fmt, hpp, hists); in hists__fprintf_hierarchy_headers() 601 fprintf(fp, "%.*s", width, dots); in hists__fprintf_hierarchy_headers() 607 width = depth * HIERARCHY_INDENT; in hists__fprintf_hierarchy_headers() 614 width++; /* for '+' sign between column header */ in hists__fprintf_hierarchy_headers() 617 width += fmt->width(fmt, hpp, hists); in hists__fprintf_hierarchy_headers() 620 if (width > header_width) in hists__fprintf_hierarchy_headers() 621 header_width = width; in hists__fprintf_hierarchy_headers() 664 unsigned int width; in hists__fprintf_standard_headers() local 695 width = fmt->width(fmt, hpp, hists); in hists__fprintf_standard_headers() [all …]
|
/tools/perf/ui/ |
D | browser.c | 50 unsigned int width) in ui_browser__write_nstring() argument 52 slsmg_write_nstring(msg, width); in ui_browser__write_nstring() 183 browser->width = SLtt_Screen_Cols - 1; in ui_browser__refresh_dimensions() 252 ui_browser__write_nstring(browser, title, browser->width + 1); in __ui_browser__show_title() 299 col = browser->width, in ui_browser__scrollbar_set() 321 int width = browser->width; in __ui_browser__refresh() local 329 width += 1; in __ui_browser__refresh() 332 browser->height - row, width, ' '); in __ui_browser__refresh()
|
D | browser.h | 17 u16 y, x, width, height, rows, columns, horiz_scroll; member 41 unsigned int width);
|
D | hist.c | 394 .width = hpp__width_fn, \ 408 .width = hpp__width_fn, \ 422 .width = hpp__width_fn, \ 648 ret += fmt->width(fmt, &dummy_hpp, hists); in hists__sort_list_width() 673 ret += fmt->width(fmt, &dummy_hpp, hists); in hists__overhead_width()
|
/tools/firewire/ |
D | nosy-dump.c | 329 int width; /* Width of field, 0 means use data_length. */ member 657 get_bits(struct link_packet *packet, int offset, int width) in get_bits() argument 663 shift = 32 - (offset & 31) - width; in get_bits() 664 mask = width == 32 ? ~0 : (1 << width) - 1; in get_bits() 723 bits = get_bits(packet, offset, f->width); in decode_link_packet() 725 } else if (f->width == 0) { in decode_link_packet() 733 if ((offset & ~31) != ((offset + f->width - 1) & ~31)) { in decode_link_packet() 736 low_width = f->width - high_width; in decode_link_packet() 742 bits = get_bits(packet, offset, f->width); in decode_link_packet() 745 printf("%s=0x%0*llx", f->name, (f->width + 3) / 4, bits); in decode_link_packet()
|
D | decode-fcp.c | 50 int width; /* Width of field, 0 means use data_length. */ member
|
/tools/perf/ |
D | builtin-diff.c | 97 int width; member 104 .width = 14, 108 .width = 14, 112 .width = 7, 116 .width = 14, 120 .width = 14, 124 .width = MAX_COL_WIDTH, 1064 int width = 0; in init_header() local 1068 width = columns[dfmt->idx].width; in init_header() 1077 dfmt->header_width = width; in init_header() [all …]
|
/tools/perf/Documentation/ |
D | perf-timechart.txt | 42 --width=:: 43 Select the width of the SVG file (default: 1000)
|
D | perf-top.txt | 201 --column-widths=<width[,width...]>:: 202 Force each column width to the provided list, for large terminal
|
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | SchedGui.py | 112 width = min(self.width_virtual, self.screen_width) 115 end = self.px_to_us(x + width)
|
/tools/perf/ui/tui/ |
D | util.c | 24 ui_browser__write_nstring(browser, *arg, browser->width); in ui_browser__argv_write()
|