Lines Matching +full:always +full:- +full:running
32 .Fn sched:::change-pri "struct thread *" "struct proc *" "uint8_t"
35 .Fn sched:::lend-pri "struct thread *" "struct proc *" "uint8_t" "struct thread *"
36 .Fn sched:::load-change "int" "int"
37 .Fn sched:::off-cpu "struct thread *" "struct proc *"
38 .Fn sched:::on-cpu
40 .Fn sched:::remain-cpu
52 .Fn sched:::change-pri
58 .Dv args[0]->td_priority .
60 .Fn sched:::lend-pri
61 probe fires when the currently-running thread elevates the priority of another
66 The fourth argument is the currently-running thread.
81 The third argument is currently always
88 The third argument is currently always
90 The fourth argument is a boolean value that is non-zero if the thread is
95 .Fn sched:::load-change
102 .Fn sched:::off-cpu
104 currently-running thread, and the
105 .Fn sched:::on-cpu
109 .Fn sched:::off-cpu
111 currently-running thread.
113 .Fn sched:::remain-cpu
119 a thread running on a different CPU, via an interprocessor interrupt.
122 This probe currently always fires in the context of the interrupted thread.
126 probe will fire immediately before the currently-running thread is preempted.
128 .Fn sched:::off-cpu
130 .Fn sched:::remain-cpu
136 probe fires immediately before the currently-running thread is about to suspend
147 Its arguments are the currently-running thread and its corresponding process.
158 In a probe body, the currently-running thread can always be obtained with the
162 For example, when a running thread is about to sleep, the
168 global variable contains the cpuid of the CPU on which the currently-running
172 .Bd -literal -offset indent
173 sched:::on-cpu
175 self->ts = timestamp;
178 sched:::off-cpu
179 /self->ts != 0/
181 @[execname] = sum((timestamp - self->ts) / 1000);
182 self->ts = 0;
196 .Fn sched:::cpucaps-sleep ,
197 .Fn sched:::cpucaps-wakeup ,
198 .Fn sched:::schedctl-nopreempt ,
199 .Fn sched:::schedctl-preempt ,
201 .Fn sched:::schedctl-yield
206 .Fn sched:::lend-pri
208 .Fn sched:::load-change