type t = {mutable bytes_read : int; |
mutable nb_reads : int; |
mutable bytes_written : int; |
mutable nb_writes : int; |
mutable nb_merge : int; |
mutable nb_replace : int; |
mutable replace_times : float list; |
}The type for stats for an index I.
bytes_readis the number of bytes read from disk;nb_readsis the number of reads from disk;bytes_writtenis the number of bytes written to disk;nb_writesis the number of writes to disk;nb_mergeis the number of times a merge occurred;nb_replaceis the number of calls toI.replace;replace_timeslists how much time replace operations took. Each element is an average ofnconsecutive replaces, wherenis thesampling_intervalspecified when callingend_replace.
val get : unit -> t