mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Move the tty related statistics counters to live with the tty code.
This commit is contained in:
parent
6bbe71f3b8
commit
3abd4ccf87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110996
@ -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.
|
||||
*
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user