Lines Matching +full:no +full:- +full:tick +full:- +full:in +full:- +full:suspend
4 .\" Redistribution and use in source and binary forms, with or without
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
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
43 .Fn sched:::tick "struct thread *" "struct proc *"
48 provider allows the tracing of events related to CPU scheduling in the 4BSD and
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.
74 The latter event may occur in several circumstances: the scheduler may be
90 The fourth argument is a boolean value that is non-zero if the thread is
95 .Fn sched:::load-change
99 number of elements in the queue.
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
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
145 .Fn sched:::tick
146 fires before each scheduler clock tick.
147 Its arguments are the currently-running thread and its corresponding process.
156 These structures have many fields and are defined in
158 In a probe body, the currently-running thread can always be obtained with the
164 probe fires in the context of that thread, which can be accessed using
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;
187 computes the time elapsed in microseconds when it is descheduled.
192 provider found in Solaris.
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
202 probes are not available in
206 .Fn sched:::lend-pri
208 .Fn sched:::load-change
220 provider first appeared in