diff options
author | John Sonnenschein <johns@joyent.com> | 2012-01-26 22:45:08 +0000 |
---|---|---|
committer | John Sonnenschein <johns@joyent.com> | 2012-01-26 22:45:08 +0000 |
commit | 92fb61a58dea0e097df79e73d3cda1bef52c4339 (patch) | |
tree | 8a9727b7a3600c29b261de4580520de19ec57e56 /usr/src/uts/common/sys/zone.h | |
parent | d6f90348d6442b80b8e77a4aaf217cbf86c54bdb (diff) | |
parent | 6a5fc1386817167c00f9ee99bebd9ce35d434593 (diff) | |
download | illumos-joyent-gcc4.tar.gz |
Merge branch 'gcc4' of git.joyent.com:illumos-joyent into gcc4gcc4
Diffstat (limited to 'usr/src/uts/common/sys/zone.h')
-rw-r--r-- | usr/src/uts/common/sys/zone.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/zone.h b/usr/src/uts/common/sys/zone.h index 08677a2f65..a2b7217fd4 100644 --- a/usr/src/uts/common/sys/zone.h +++ b/usr/src/uts/common/sys/zone.h @@ -20,7 +20,7 @@ */ /* * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2011, Joyent Inc. All rights reserved. + * Copyright (c) 2011, 2012, Joyent Inc. All rights reserved. */ #ifndef _SYS_ZONE_H @@ -441,6 +441,11 @@ typedef struct { kstat_named_t zm_avenrun1; kstat_named_t zm_avenrun5; kstat_named_t zm_avenrun15; + kstat_named_t zm_run_ticks; + kstat_named_t zm_run_wait; + kstat_named_t zm_fss_shr_pct; + kstat_named_t zm_fss_pri_hi; + kstat_named_t zm_fss_pri_avg; } zone_misc_kstat_t; typedef struct zone { @@ -671,6 +676,20 @@ typedef struct zone { struct loadavg_s zone_loadavg; /* loadavg for this zone */ uint64_t zone_hp_avenrun[3]; /* high-precision avenrun */ int zone_avenrun[3]; /* FSCALED avg. run queue len */ + + /* + * FSS stats updated once per second by fss_decay_usage. + * zone_runq_cntr is an instantaneous accumulation of the number of + * processes in the run queue per project and is not computed over the + * one second interval. + */ + uint32_t zone_fss_gen; /* FSS generation cntr */ + uint32_t zone_proc_cnt; /* FSS process cntr */ + uint64_t zone_run_ticks; /* tot # of ticks running */ + uint64_t zone_runq_cntr; /* tot # of procs in runq */ + uint32_t zone_fss_shr_pct; /* fss active shr % in intvl */ + uint64_t zone_fss_pri_hi; /* fss high pri this interval */ + uint64_t zone_fss_pri_avg; /* fss avg pri this interval */ } zone_t; /* |