Move the tty related statistics counters to live with the tty code.

This commit is contained in:
phk 2003-02-16 13:22:15 +00:00
parent 2753d4cfa6
commit 811b1cae1c
2 changed files with 5 additions and 5 deletions

View File

@ -83,11 +83,6 @@ long cp_time[CPUSTATES];
SYSCTL_OPAQUE(_kern, OID_AUTO, cp_time, CTLFLAG_RD, &cp_time, sizeof(cp_time),
"LU", "CPU time statistics");
long tk_cancc;
long tk_nin;
long tk_nout;
long tk_rawcc;
/*
* Clock handling routines.
*

View File

@ -109,6 +109,11 @@
MALLOC_DEFINE(M_TTYS, "ttys", "tty data structures");
long tk_cancc;
long tk_nin;
long tk_nout;
long tk_rawcc;
static int proc_compare(struct proc *p1, struct proc *p2);
static int ttnread(struct tty *tp);
static void ttyecho(int c, struct tty *tp);