Odoc_driver_lib.StatsSourceReturns the k commands that took the most time for a given subcommand.
type stats = {mutable total_units : int Atomic.t;mutable total_impls : int Atomic.t;mutable total_mlds : int Atomic.t;mutable total_assets : int Atomic.t;mutable total_indexes : int Atomic.t;mutable compiled_units : int Atomic.t;mutable compiled_impls : int Atomic.t;mutable compiled_mlds : int Atomic.t;mutable compiled_assets : int Atomic.t;mutable linked_units : int Atomic.t;mutable linked_impls : int Atomic.t;mutable linked_mlds : int Atomic.t;mutable generated_indexes : int Atomic.t;mutable generated_units : int Atomic.t;mutable processes : int Atomic.t;mutable process_activity : string Atomic.t Array.t;mutable finished : bool;}val render_stats :
< clock : [> float Eio.Time.clock_ty ] Eio.Time.clock.. > ->
generate_json:bool ->
int ->
unitval compute_metric_int :
string ->
string ->
string ->
float list ->
[> `Assoc of
(string
* [> `Assoc of (string * [> `Int of int ]) list
| `Int of int
| `String of string ])
list ]
listval compute_metric_cmd :
string ->
[> `Assoc of
(string
* [> `Assoc of (string * [> `Float of float ]) list
| `Int of int
| `String of string ])
list ]
listval compute_produced_cmd :
string ->
[> `Assoc of
(string
* [> `Assoc of (string * [> `Int of int ]) list
| `Int of int
| `String of string ])
list ]
listAnalyze the size of files produced by a command.
val compute_produced_tree :
string ->
Fpath.t ->
[> `Assoc of
(string
* [> `Assoc of (string * [> `Int of int ]) list
| `Int of int
| `String of string ])
list ]
listAnalyze the size of files outputed to the given directory.
val compute_longest_cmd :
string ->
[> `Assoc of
(string
* [> `Assoc of (string * [> `Float of float ]) list
| `String of string ])
list ]
listAnalyze the running time of the slowest commands.