version 1.38, 2000/10/25 16:49:32 |
version 1.39, 2000/11/26 02:30:30 |
|
|
{ "_allevents" }, |
{ "_allevents" }, |
#define X_FORKSTAT 13 |
#define X_FORKSTAT 13 |
{ "_forkstat" }, |
{ "_forkstat" }, |
#ifdef notdef |
#define X_NSELCOLL 14 |
#define X_DEFICIT 14 |
{ "_nselcoll" }, |
{ "_deficit" }, |
#define X_END 15 |
#define X_REC 15 |
|
{ "_rectime" }, |
|
#define X_PGIN 16 |
|
{ "_pgintime" }, |
|
#define X_XSTATS 17 |
|
{ "_xstats" }, |
|
#define X_END 28 |
|
#else |
|
#define X_END 14 |
|
#endif |
|
#if defined(__pc532__) |
#if defined(__pc532__) |
#define X_IVT (X_END) |
#define X_IVT (X_END) |
{ "_ivt" }, |
{ "_ivt" }, |
|
|
{ |
{ |
struct nchstats nchstats; |
struct nchstats nchstats; |
long nchtotal; |
long nchtotal; |
|
int nselcoll; |
|
|
#ifdef UVM |
#ifdef UVM |
kread(X_UVMEXP, &uvmexp, sizeof(uvmexp)); |
kread(X_UVMEXP, &uvmexp, sizeof(uvmexp)); |
|
|
PCT(nchstats.ncs_badhits, nchtotal), |
PCT(nchstats.ncs_badhits, nchtotal), |
PCT(nchstats.ncs_falsehits, nchtotal), |
PCT(nchstats.ncs_falsehits, nchtotal), |
PCT(nchstats.ncs_long, nchtotal)); |
PCT(nchstats.ncs_long, nchtotal)); |
|
kread(X_NSELCOLL, &nselcoll, sizeof(nselcoll)); |
|
(void)printf("%11d select collisions\n", nselcoll); |
} |
} |
|
|
void |
void |