Home
last modified time | relevance | path

Searched refs:y (Results 1 – 24 of 24) sorted by relevance

/tools/perf/ui/tui/
Dutil.c75 int x, y, len, key; in ui_browser__input_window() local
97 y = SLtt_Screen_Rows / 2 - nr_lines / 2; in ui_browser__input_window()
101 SLsmg_draw_box(y, x++, nr_lines, max_len); in ui_browser__input_window()
103 SLsmg_gotorc(y, x + 1); in ui_browser__input_window()
106 SLsmg_gotorc(++y, x); in ui_browser__input_window()
109 SLsmg_write_wrapped_string((unsigned char *)text, y, x, in ui_browser__input_window()
111 y += nr_lines; in ui_browser__input_window()
114 SLsmg_gotorc(y + len - 1, x); in ui_browser__input_window()
117 SLsmg_draw_box(y++, x + 1, 3, max_len - 2); in ui_browser__input_window()
119 SLsmg_gotorc(y + 3, x); in ui_browser__input_window()
[all …]
Dprogress.c9 int bar, y; in tui_progress__update() local
22 y = SLtt_Screen_Rows / 2 - 2; in tui_progress__update()
24 SLsmg_draw_box(y, 0, 3, SLtt_Screen_Cols); in tui_progress__update()
25 SLsmg_gotorc(y++, 1); in tui_progress__update()
29 SLsmg_fill_region(y, 1, 1, bar, ' '); in tui_progress__update()
/tools/perf/util/include/linux/
Dkernel.h34 #define max(x, y) ({ \ argument
36 typeof(y) _max2 = (y); \
42 #define min(x, y) ({ \ argument
44 typeof(y) _min2 = (y); \
50 #define roundup(x, y) ( \ argument
52 const typeof(y) __y = y; \
130 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument
131 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument
132 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DSchedGui.py72 (x, y) = self.scroll.GetViewStart()
73 return (x * self.scroll_scale, y * self.scroll_scale)
76 (x, y) = self.scroll_start()
113 (x, y) = self.scroll_start()
118 def rect_from_ypixel(self, y): argument
119 y -= RootFrame.Y_OFFSET
120 rect = y / (RootFrame.RECT_HEIGHT + RootFrame.RECT_SPACE)
121 height = y % (RootFrame.RECT_HEIGHT + RootFrame.RECT_SPACE)
135 (x, y) = event.GetPositionTuple()
136 rect = self.rect_from_ypixel(y)
[all …]
/tools/lib/traceevent/
Devent-utils.h41 #define min(x, y) ({ \ argument
43 typeof(y) _min2 = (y); \
/tools/perf/util/
Dxyarray.h15 static inline void *xyarray__entry(struct xyarray *xy, int x, int y) in xyarray__entry() argument
17 return &xy->contents[x * xy->row_size + y * xy->entry_size]; in xyarray__entry()
Devlist.c26 #define FD(e, x, y) (*(int *)xyarray__entry(e->fd, x, y)) argument
27 #define SID(e, x, y) xyarray__entry(e->sample_id, x, y) argument
Devsel.c30 #define FD(e, x, y) (*(int *)xyarray__entry(e->fd, x, y)) argument
/tools/virtio/linux/
Dkernel.h106 #define min(x, y) ({ \ argument
108 typeof(y) _min2 = (y); \
/tools/perf/
Dperf.h144 #define min(x, y) ({ \ argument
146 typeof(y) _min2 = (y); \
DMakefile177 …eq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror -fstack-protector-all,-fstack-protector-all),y)
181 ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror -Wstack-protector,-Wstack-protector),y)
185 …$(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror -Wvolatile-register-var,-Wvolatile-register-var),y)
190 ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -D_FORTIFY_SOURCE=2,-D_FORTIFY_SOURCE=2),y)
229 ifeq ($(call try-cc,$(SOURCE_BIONIC),$(CFLAGS),bionic),y)
320 $(OUTPUT)util/parse-events-bison.c: util/parse-events.y
321 …$(QUIET_BISON)$(BISON) -v util/parse-events.y -d $(PARSER_DEBUG_BISON) -o $(OUTPUT)util/parse-even…
326 $(OUTPUT)util/pmu-bison.c: util/pmu.y
327 $(QUIET_BISON)$(BISON) -v util/pmu.y -d -o $(OUTPUT)util/pmu-bison.c -p perf_pmu_
576 ifneq ($(call try-cc,$(SOURCE_LIBELF),$(FLAGS_LIBELF),libelf),y)
[all …]
Dbuiltin-kmem.c573 double x, y; in frag_cmp() local
576 y = fragmentation(r->bytes_req, r->bytes_alloc); in frag_cmp()
578 if (x < y) in frag_cmp()
580 else if (x > y) in frag_cmp()
/tools/perf/ui/
Dbrowser.h19 u16 y, x, width, height; member
40 void ui_browser__gotorc(struct ui_browser *self, int y, int x);
Dbrowser.c44 void ui_browser__gotorc(struct ui_browser *browser, int y, int x) in ui_browser__gotorc() argument
46 SLsmg_gotorc(browser->y + y, browser->x + x); in ui_browser__gotorc()
170 browser->y = 1; in ui_browser__refresh_dimensions()
284 row = browser->y - 1; in ui_browser__scrollbar_set()
315 SLsmg_fill_region(browser->y + row, browser->x, in __ui_browser__refresh()
/tools/power/cpupower/utils/helpers/
Dbitmask.c11 #define howmany(x, y) (((x)+((y)-1))/(y)) argument
/tools/vm/
Dpage-types.c201 #define min_t(type, x, y) ({ \ argument
203 type __min2 = (y); \
206 #define max_t(type, x, y) ({ \ argument
208 type __max2 = (y); \
/tools/perf/config/
Dutilities.mak135 is-absolute = $(shell echo $(shell-sq) | grep ^/ -q && echo y)
156 _is-executable-sh = $(call shell-sq,test -f $(1) -a -x $(1) && echo y)
193 $(CC) -x c - $(2) -o "$$TMP" $(TRY_CC_OUTPUT) && echo y; \
/tools/lguest/
Dlguest.txt37 (CONFIG_PARAVIRT=y, CONFIG_LGUEST_GUEST=y, CONFIG_HIGHMEM64G=n and
/tools/power/cpupower/bench/
DREADME-BENCH112 -y, --sleep-step=<long int> time to be added to sleep time, in us
/tools/power/cpupower/po/
Dpt.po455 " -y, --latency Determines the maximum latency on CPU frequency "
458 " -y, --latency Determina a latência máxima nas trocas de frequência "
480 " -m, --human human-readable output for the -f, -w, -s and -y "
484 "-s e -y\n"
Dit.po451 " -y, --latency Determines the maximum latency on CPU frequency "
454 " -y, --latency Determina la latenza massima durante i cambi di "
476 " -m, --human human-readable output for the -f, -w, -s and -y "
479 " -m, --human formatta l'output delle opzioni -f, -w, -s e -y in "
Dde.po458 " -y, --latency Determines the maximum latency on CPU frequency "
461 " -y, --latency Findet die maximale Dauer eines Taktfrequenzwechsels "
484 " -m, --human human-readable output for the -f, -w, -s and -y "
Dfr.po453 " -y, --latency Determines the maximum latency on CPU frequency "
479 " -m, --human human-readable output for the -f, -w, -s and -y "
Dcs.po453 " -y, --latency Determines the maximum latency on CPU frequency "
477 " -m, --human human-readable output for the -f, -w, -s and -y "