Deleted Added
full compact
proc.h (200732) proc.h (201790)
1/*-
2 * Copyright (c) 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 18 unchanged lines hidden (view full) ---

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)proc.h 8.15 (Berkeley) 5/19/95
1/*-
2 * Copyright (c) 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 18 unchanged lines hidden (view full) ---

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)proc.h 8.15 (Berkeley) 5/19/95
35 * $FreeBSD: head/sys/sys/proc.h 200732 2009-12-19 18:42:12Z ed $
35 * $FreeBSD: head/sys/sys/proc.h 201790 2010-01-08 14:55:11Z attilio $
36 */
37
38#ifndef _SYS_PROC_H_
39#define _SYS_PROC_H_
40
41#include <sys/callout.h> /* For struct callout. */
42#include <sys/event.h> /* For struct klist. */
43#include <sys/condvar.h>

--- 168 unchanged lines hidden (view full) ---

212 struct turnstile *td_blocked; /* (t) Lock thread is blocked on. */
213 const char *td_lockname; /* (t) Name of lock blocked on. */
214 LIST_HEAD(, turnstile) td_contested; /* (q) Contested locks. */
215 struct lock_list_entry *td_sleeplocks; /* (k) Held sleep locks. */
216 int td_intr_nesting_level; /* (k) Interrupt recursion. */
217 int td_pinned; /* (k) Temporary cpu pin count. */
218 struct ucred *td_ucred; /* (k) Reference to credentials. */
219 u_int td_estcpu; /* (t) estimated cpu utilization */
36 */
37
38#ifndef _SYS_PROC_H_
39#define _SYS_PROC_H_
40
41#include <sys/callout.h> /* For struct callout. */
42#include <sys/event.h> /* For struct klist. */
43#include <sys/condvar.h>

--- 168 unchanged lines hidden (view full) ---

212 struct turnstile *td_blocked; /* (t) Lock thread is blocked on. */
213 const char *td_lockname; /* (t) Name of lock blocked on. */
214 LIST_HEAD(, turnstile) td_contested; /* (q) Contested locks. */
215 struct lock_list_entry *td_sleeplocks; /* (k) Held sleep locks. */
216 int td_intr_nesting_level; /* (k) Interrupt recursion. */
217 int td_pinned; /* (k) Temporary cpu pin count. */
218 struct ucred *td_ucred; /* (k) Reference to credentials. */
219 u_int td_estcpu; /* (t) estimated cpu utilization */
220 u_int td_slptick; /* (t) Time at sleep. */
220 int td_slptick; /* (t) Time at sleep. */
221 struct rusage td_ru; /* (t) rusage information */
222 uint64_t td_incruntime; /* (t) Cpu ticks to transfer to proc. */
223 uint64_t td_runtime; /* (t) How many cpu ticks we've run. */
224 u_int td_pticks; /* (t) Statclock hits for profiling */
225 u_int td_sticks; /* (t) Statclock hits in system mode. */
226 u_int td_iticks; /* (t) Statclock hits in intr mode. */
227 u_int td_uticks; /* (t) Statclock hits in user mode. */
228 int td_intrval; /* (t) Return value for sleepq. */

--- 649 unchanged lines hidden ---
221 struct rusage td_ru; /* (t) rusage information */
222 uint64_t td_incruntime; /* (t) Cpu ticks to transfer to proc. */
223 uint64_t td_runtime; /* (t) How many cpu ticks we've run. */
224 u_int td_pticks; /* (t) Statclock hits for profiling */
225 u_int td_sticks; /* (t) Statclock hits in system mode. */
226 u_int td_iticks; /* (t) Statclock hits in intr mode. */
227 u_int td_uticks; /* (t) Statclock hits in user mode. */
228 int td_intrval; /* (t) Return value for sleepq. */

--- 649 unchanged lines hidden ---