package index
package index
-
index
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Run-time metric tracking for index instances.
type t = {
mutable bytes_read : int;
mutable nb_reads : int;
mutable bytes_written : int;
mutable nb_writes : int;
mutable nb_merge : int;
mutable merge_durations : float list;
mutable nb_replace : int;
mutable replace_durations : float list;
mutable nb_sync : int;
mutable time_sync : float;
mutable lru_hits : int;
mutable lru_misses : int;
}
The type for stats for an index I.
bytes_read
is the number of bytes read from disk;nb_reads
is the number of reads from disk;bytes_written
is the number of bytes written to disk;nb_writes
is the number of writes to disk;nb_merge
is the number of times a merge occurred;merge_durations
lists how much time the last 10 merge operations took (in microseconds);nb_replace
is the number of calls toI.replace
;replace_durations
lists how much time replace operations took. Each element is an average ofn
consecutive replaces, wheren
is thesampling_interval
specified when callingend_replace
.time_sync
is the duration of the latest call to sync.
val get : unit -> t
module Make (_ : Platform.CLOCK) : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>