Home
last modified time | relevance | path

Searched refs:ps (Results 1 – 8 of 8) sorted by relevance

/tools/testing/selftests/vm/
Dthuge-gen.c95 void show(unsigned long ps) in show() argument
98 if (ps == getpagesize()) in show()
100 printf("%luMB: ", ps >> 20); in show()
104 ps >> 10); in show()
135 unsigned long read_free(unsigned long ps) in read_free() argument
137 return read_sysfs(ps != getpagesize(), in read_free()
139 ps >> 10); in read_free()
236 unsigned long ps = page_sizes[i]; in main() local
237 int arg = ilog2(ps) << MAP_HUGE_SHIFT; in main()
238 printf("Testing %luMB mmap with shift %x\n", ps >> 20, arg); in main()
[all …]
Dmlock-random-test.c23 #define PAGE_ALIGN(size, ps) (((size) + ((ps) - 1)) & ~((ps) - 1)) argument
/tools/perf/pmu-events/
Djson.c46 unsigned ps = sysconf(_SC_PAGESIZE); in mapfile() local
64 (st.st_size + ps - 1) & ~(ps - 1), in mapfile()
75 unsigned ps = sysconf(_SC_PAGESIZE); in unmapfile() local
76 munmap(map, roundup(size, ps)); in unmapfile()
/tools/perf/util/
Dstat.c73 struct perf_stat_evsel *ps = evsel->priv; in __perf_evsel_stat__is() local
75 return ps->id == id; in __perf_evsel_stat__is()
97 struct perf_stat_evsel *ps = evsel->priv; in perf_stat_evsel_id_init() local
104 ps->id = i; in perf_stat_evsel_id_init()
113 struct perf_stat_evsel *ps = evsel->priv; in perf_evsel__reset_stat_priv() local
116 init_stats(&ps->res_stats[i]); in perf_evsel__reset_stat_priv()
132 struct perf_stat_evsel *ps = evsel->priv; in perf_evsel__free_stat_priv() local
134 if (ps) in perf_evsel__free_stat_priv()
135 free(ps->group_data); in perf_evsel__free_stat_priv()
339 struct perf_stat_evsel *ps = counter->priv; in perf_stat_process_counter() local
[all …]
Devsel.c1402 struct perf_stat_evsel *ps = leader->priv; in perf_evsel__read_group() local
1405 u64 *data = ps->group_data; in perf_evsel__read_group()
1418 ps->group_data = data; in perf_evsel__read_group()
/tools/testing/selftests/rcutorture/bin/
Dkvm-test-1-run.sh217 echo "ps -fp $killpid" >> $resdir/Warnings 2>&1
/tools/perf/
Dbuiltin-stat.c798 struct perf_stat_evsel *ps; in print_noise() local
803 ps = evsel->priv; in print_noise()
804 print_noise_pct(stddev_stats(&ps->res_stats[0]), avg); in print_noise()
1387 struct perf_stat_evsel *ps = counter->priv; in counter_aggr_cb() local
1389 cd->avg += avg_stats(&ps->res_stats[0]); in counter_aggr_cb()
1390 cd->avg_enabled += avg_stats(&ps->res_stats[1]); in counter_aggr_cb()
1391 cd->avg_running += avg_stats(&ps->res_stats[2]); in counter_aggr_cb()
/tools/power/pm-graph/
Danalyze_suspend.py1348 for ps in pslist:
1349 if ps not in proclist:
1350 proclist.append(ps)
1362 for ps in proclist:
1363 c = self.addProcessUsageEvent(ps, tsus)
1365 vprint('%25s (sus): %d' % (ps, c))
1366 c = self.addProcessUsageEvent(ps, tres)
1368 vprint('%25s (res): %d' % (ps, c))
2529 for ps in m.group('ps').split(','):
2530 val = ps.split()
[all …]