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:
jkh 1996-03-03 09:06:59 +00:00
parent b52f0e7ec2
commit 7e37c839a0

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));