summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/pcpu.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-02-22 15:13:34 +0000
committerbde <bde@FreeBSD.org>1999-02-22 15:13:34 +0000
commit80534e76e10c44b535229944b28cd5798ce2142b (patch)
tree71d5ee9a4601a31fa3e8b04e945548d8b5abedcb /sys/i386/include/pcpu.h
parentcbe16adbf842f276a10b8f5d5e192f23640b99df (diff)
downloadFreeBSD-src-80534e76e10c44b535229944b28cd5798ce2142b.zip
FreeBSD-src-80534e76e10c44b535229944b28cd5798ce2142b.tar.gz
Added a per-cpu variable `switchticks' for use in scheduling.
Diffstat (limited to 'sys/i386/include/pcpu.h')
-rw-r--r--sys/i386/include/pcpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/include/pcpu.h b/sys/i386/include/pcpu.h
index e182d0a..ec58799 100644
--- a/sys/i386/include/pcpu.h
+++ b/sys/i386/include/pcpu.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: globaldata.h,v 1.5 1998/05/28 09:30:02 phk Exp $
+ * $Id: globaldata.h,v 1.6 1998/08/18 07:47:12 msmith Exp $
*/
/*
@@ -44,6 +44,7 @@ struct globaldata {
struct pcb *curpcb;
struct i386tss common_tss;
struct timeval switchtime;
+ int switchticks;
#ifdef VM86
struct segment_descriptor common_tssd;
u_int private_tss;
OpenPOWER on IntegriCloud