Module File_cache.Stats
Cache statistics.
Key statistics
val keys_count : keys -> int
keys_count s
is the number of keys in the set of keys.
val keys_file_count : keys -> int
keys_file_count s
is the nubmer of files in the set of keys.
val keys_byte_size : keys -> int
keys_count s
is the total byte size of the files in the set of keys.
val keys_zero : keys
keys_zero
are zeros.
val pp_keys : keys B0_std.Fmt.t
pp_keys
formats key statistics.
val of_keys : t -> key list -> (keys, string) Stdlib.result
of_keys ks
are statistics forks
.
Cache statistics
val unused_keys : cache -> keys
unused_keys s
are statistics about unused keys in the cache. Warning Only relevant ifis_unused
is.
val pp : cache B0_std.Fmt.t
pp
formats cache statistics.
val of_cache : t -> (cache, string) Stdlib.result
of_cache c
are satistics ofc
.