Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 25) sorted by relevance

/tools/perf/util/
Dhweight.c10 unsigned int hweight32(unsigned int w) in hweight32() argument
12 unsigned int res = w - ((w >> 1) & 0x55555555); in hweight32()
19 unsigned long hweight64(__u64 w) in hweight64() argument
22 return hweight32((unsigned int)(w >> 32)) + hweight32((unsigned int)w); in hweight64()
24 __u64 res = w - ((w >> 1) & 0x5555555555555555ul); in hweight64()
Dbitmap.c12 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local
15 w += hweight_long(bitmap[k]); in __bitmap_weight()
18 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight()
20 return w; in __bitmap_weight()
Dlevenshtein.c42 int w, int s, int a, int d) in levenshtein() argument
62 row2[j + 1] > row0[j - 1] + w) in levenshtein()
63 row2[j + 1] = row0[j - 1] + w; in levenshtein()
Dsvghelper.c156 double w = time2pixels(end) - time2pixels(start); in svg_ubox() local
166 w, in svg_ubox()
175 double w = time2pixels(end) - time2pixels(start); in svg_lbox() local
185 w, in svg_lbox()
194 double w = time2pixels(end) - time2pixels(start); in svg_fbox() local
204 w, in svg_fbox()
/tools/perf/util/include/asm/
Dhweight.h5 unsigned int hweight32(unsigned int w);
6 unsigned long hweight64(__u64 w);
/tools/thermal/tmon/
Dtui.c265 WINDOW *w = dialogue_window; in show_dialogue() local
267 if (tui_disabled || !w) in show_dialogue()
270 werase(w); in show_dialogue()
271 box(w, 0, 0); in show_dialogue()
272 mvwprintw(w, 0, maxx/4, DIAG_TITLE); in show_dialogue()
280 mvwprintw(w, y+1, x+1, "%C-%.12s", 'A'+j, "Set Temp"); in show_dialogue()
282 mvwprintw(w, y+1, x+1, "%C-%.10s-%2d", 'A'+j, in show_dialogue()
285 wattron(w, A_BOLD); in show_dialogue()
286 mvwprintw(w, DIAG_DEV_ROWS+1, 1, "Enter Choice [A-Z]?"); in show_dialogue()
287 wattroff(w, A_BOLD); in show_dialogue()
[all …]
/tools/perf/util/include/linux/
Dbitops.h46 static inline unsigned long hweight_long(unsigned long w) in hweight_long() argument
48 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); in hweight_long()
/tools/perf/bench/
Dfutex-hash.c62 struct worker *w = (struct worker *) arg; in workerfn() local
72 for (i = 0; i < nfutexes; i++, w->ops++) { in workerfn()
79 ret = futex_wait(&w->futex[i], 1234, NULL, futex_flag); in workerfn()
Dfutex-wake.c80 static void block_threads(pthread_t *w, in block_threads() argument
96 if (pthread_create(&w[i], &thread_attr, workerfn, NULL)) in block_threads()
Dfutex-requeue.c79 static void block_threads(pthread_t *w, in block_threads() argument
95 if (pthread_create(&w[i], &thread_attr, workerfn, NULL)) in block_threads()
/tools/scripts/
DMakefile.include43 ifneq ($(findstring $(MAKEFLAGS), w),w)
/tools/hv/
Dhv_kvp_daemon.c827 static unsigned int hweight32(unsigned int *w) in hweight32() argument
829 unsigned int res = *w - ((*w >> 1) & 0x55555555); in hweight32()
888 unsigned int *w; in kvp_get_ip_info() local
973 w = addr6->sin6_addr.s6_addr32; in kvp_get_ip_info()
976 weight += hweight32(&w[i]); in kvp_get_ip_info()
/tools/perf/Documentation/
DMakefile140 ifneq ($(findstring $(MAKEFLAGS),w),w)
Dperf-timechart.txt41 -w::
Dperf-script-python.txt340 rw-by-file <comm> r/w activity for a program, by file
341 rw-by-pid system-wide r/w activity
405 rw-by-file <comm> r/w activity for a program, by file
406 rw-by-pid system-wide r/w activity
Dperf-top.txt199 -w::
Dperf-record.txt39 be passed as follows: '\mem:addr[:[r][w][x]]'.
Dperf-report.txt147 -w::
/tools/vm/
Dpage-types.c787 char r, w, x, s; in parse_pid() local
794 &r, &w, &x, &s, in parse_pid()
/tools/power/cpupower/po/
Dfr.po394 " -w, --hwfreq Get frequency the CPU currently runs at, by reading\n"
397 " -w, --hwfreq Obtenir la fr�quence actuelle du CPU directement par\n"
479 " -m, --human human-readable output for the -f, -w, -s and -y "
483 " pour les options -f, -w et -s (MHz, GHz)\n"
Dcs.po399 " -w, --hwfreq Get frequency the CPU currently runs at, by reading\n"
402 " -w, --hwfreq Zjistí aktuální frekvenci, na které CPU běží\n"
477 " -m, --human human-readable output for the -f, -w, -s and -y "
480 " -m, --human Výstup parametrů -f, -w a -s v „lidmi čitelném“ "
Dit.po394 " -w, --hwfreq Get frequency the CPU currently runs at, by reading\n"
397 " -w, --hwfreq Mostra la frequenza attuale della CPU leggendola\n"
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 "
Dpt.po394 " -w, --hwfreq Get frequency the CPU currently runs at, by reading\n"
397 " -w, --hwfreq Obtem a frequência na qual o CPU está operando no "
480 " -m, --human human-readable output for the -f, -w, -s and -y "
483 " -m, --human saída legível para humanos para os parâmetros -f, -w, "
Dde.po398 " -w, --hwfreq Get frequency the CPU currently runs at, by reading\n"
401 " -w, --hwfreq Findet die momentane CPU-Taktfrequenz heraus\n"
484 " -m, --human human-readable output for the -f, -w, -s and -y "
/tools/usb/usbip/
DCOPYING317 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
321 The hypothetical commands `show w' and `show c' should show the appropriate
323 be called something other than `show w' and `show c'; they could even be