proc.h (34924) | proc.h (35029) |
---|---|
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. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)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. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)proc.h 8.15 (Berkeley) 5/19/95 |
39 * $Id: proc.h,v 1.55 1998/03/04 10:26:37 dufault Exp $ | 39 * $Id: proc.h,v 1.56 1998/03/28 10:33:23 bde Exp $ |
40 */ 41 42#ifndef _SYS_PROC_H_ 43#define _SYS_PROC_H_ 44 45#include <machine/proc.h> /* Machine-dependent proc substruct. */ 46#include <sys/callout.h> /* For struct callout_handle. */ 47#include <sys/rtprio.h> /* For struct rtprio. */ --- 82 unchanged lines hidden (view full) --- 130 fixpt_t p_pctcpu; /* %cpu for this process during p_swtime */ 131 void *p_wchan; /* Sleep address. */ 132 const char *p_wmesg; /* Reason for sleep. */ 133 u_int p_swtime; /* Time swapped in or out. */ 134 u_int p_slptime; /* Time since last blocked. */ 135 136 struct itimerval p_realtimer; /* Alarm timer. */ 137 struct timeval p_rtime; /* Real time. */ | 40 */ 41 42#ifndef _SYS_PROC_H_ 43#define _SYS_PROC_H_ 44 45#include <machine/proc.h> /* Machine-dependent proc substruct. */ 46#include <sys/callout.h> /* For struct callout_handle. */ 47#include <sys/rtprio.h> /* For struct rtprio. */ --- 82 unchanged lines hidden (view full) --- 130 fixpt_t p_pctcpu; /* %cpu for this process during p_swtime */ 131 void *p_wchan; /* Sleep address. */ 132 const char *p_wmesg; /* Reason for sleep. */ 133 u_int p_swtime; /* Time swapped in or out. */ 134 u_int p_slptime; /* Time since last blocked. */ 135 136 struct itimerval p_realtimer; /* Alarm timer. */ 137 struct timeval p_rtime; /* Real time. */ |
138 struct timeval p_runtime; /* When last scheduled */ |
|
138 u_quad_t p_uticks; /* Statclock hits in user mode. */ 139 u_quad_t p_sticks; /* Statclock hits in system mode. */ 140 u_quad_t p_iticks; /* Statclock hits processing intr. */ | 139 u_quad_t p_uticks; /* Statclock hits in user mode. */ 140 u_quad_t p_sticks; /* Statclock hits in system mode. */ 141 u_quad_t p_iticks; /* Statclock hits processing intr. */ |
141 struct timeval *p_sleepend; /* Wake time for nanosleep & friends */ | |
142 143 int p_traceflag; /* Kernel trace points. */ 144 struct vnode *p_tracep; /* Trace to vnode. */ 145 146 int p_siglist; /* Signals arrived but not delivered. */ 147 148 struct vnode *p_textvp; /* Vnode of executable. */ 149 --- 205 unchanged lines hidden --- | 142 143 int p_traceflag; /* Kernel trace points. */ 144 struct vnode *p_tracep; /* Trace to vnode. */ 145 146 int p_siglist; /* Signals arrived but not delivered. */ 147 148 struct vnode *p_textvp; /* Vnode of executable. */ 149 --- 205 unchanged lines hidden --- |