Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 14 of 14) sorted by relevance

/tools/sched_ext/include/scx/
Dcompat.bpf.h24 #define __COMPAT_scx_bpf_dispatch_from_dsq_set_slice(it, slice) \ argument
26 scx_bpf_dispatch_from_dsq_set_slice((it), (slice)) : (void)0)
Dcommon.bpf.h39 void scx_bpf_dispatch(struct task_struct *p, u64 dsq_id, u64 slice, u64 enq_flags) __ksym;
40 void scx_bpf_dispatch_vtime(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64 enq_flags)…
44 void scx_bpf_dispatch_from_dsq_set_slice(struct bpf_iter_scx_dsq *it__iter, u64 slice) __ksym __wea…
/tools/perf/tests/shell/
Dstat_bpf_counters_cgrp.sh28 if [ -d /sys/fs/cgroup/system.slice ] && [ -d /sys/fs/cgroup/user.slice ]; then
/tools/perf/scripts/python/
Dsched-migration.py234 slice = TimeSlice(ts, TimeSlice(-1, None))
236 slice = self.data[-1].next(ts)
237 return slice
282 def update_rectangle_cpu(self, slice, cpu): argument
283 rq = slice.rqs[cpu]
285 if slice.total_load != 0:
286 load_rate = rq.load() / float(slice.total_load)
295 if cpu in slice.event_cpus:
298 self.root_win.paint_rectangle_zone(cpu, color, top_color, slice.start, slice.end)
/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst141 | **# mkdir /sys/fs/cgroup/test.slice**
143 | **# bpftool cgroup attach /sys/fs/cgroup/test.slice/ device id 1 allow_multi**
145 **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
153 | **# bpftool cgroup detach /sys/fs/cgroup/test.slice/ device id 1**
154 | **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
/tools/testing/selftests/sched_ext/
Dselect_cpu_vtime.bpf.c69 p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
/tools/sched_ext/
Dscx_simple.bpf.c129 p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
Dscx_flatcg.bpf.c559 (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
/tools/testing/selftests/bpf/progs/
Ddynptr_fail.c1369 __u32 *slice; in invalid_data_slices() local
1374 slice = bpf_dynptr_data(&ptr, 0, sizeof(__u32)); in invalid_data_slices()
1375 if (!slice) in invalid_data_slices()
1381 *slice = 1; in invalid_data_slices()
/tools/perf/Documentation/
Dperf-diff.txt134 Select the second 10% time slice to diff:
138 Select from 0% to 10% time slice to diff:
Dperf-script.txt420 Select the second 10% time slice:
423 Select from 0% to 10% time slice:
Dperf-report.txt466 Select the second 10% time slice:
470 Select from 0% to 10% time slice:
Dperf-record.txt628 A possible use case is to, given an external event, slice the perf.data file
/tools/power/pm-graph/
Dsleepgraph.py2582 def slice(self, dev): member in FTraceCallGraph
2669 cg = self.slice(dev)