1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Print number of second-level cache hits as per-directory, not per-process

(since they're per-directory now).
Learned from: Kirk McKusick's OS internals course.. :-)
This commit is contained in:
Jordan K. Hubbard 1996-03-03 09:06:59 +00:00
parent 7a532e559d
commit 1d66e218f6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14353

View File

@ -575,7 +575,7 @@ dosum()
nchstats.ncs_miss + nchstats.ncs_long;
(void)printf("%9ld total name lookups\n", nchtotal);
(void)printf(
"%9s cache hits (%d%% pos + %d%% neg) system %d%% per-process\n",
"%9s cache hits (%d%% pos + %d%% neg) system %d%% per-directory\n",
"", PCT(nchstats.ncs_goodhits, nchtotal),
PCT(nchstats.ncs_neghits, nchtotal),
PCT(nchstats.ncs_pass2, nchtotal));