type t = {
mutable finds : int; |
mutable cache_misses : int; |
mutable appended_hashes : int; |
mutable appended_offsets : int; |
}
The type for stats for a store S.
finds
is the number of calls toS.find
;cache_misses
is the number of times a cache miss occured during calls toS.find
;appended_hashes
is the number of times a hash was appended, during calls toadd
;appended_offsets
is the number of times an offset was appended, during calls toadd
;
appended_hashes
+ appended_offsets
= the number of calls to add
val get : unit -> t
val get_cache_stats : unit -> cache_stats
val get_offset_stats : unit -> offset_stats