package b0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha512=00a6868b4dfa34565d0141b335622a81a0e8d5b9e3c6dfad025dabfa3df2db2a1302b492953bbbce30c3a4406c324fcec25250a00b38f6d18a69e15605e3b07e
doc/b0_b00_kit/B00_cli/Memo/Log/index.html
Module Memo.LogSource
B00.Memo log.
A B00.Memo log has all the build operations, the hashed file paths and a few global timings.
Logs
of_memo m is a log for memo m.
file_hashes l has all the files that were hashed through the memo.
hash_dur l is the time span spent hashing.
total_dur l is the time spanning from B00.Memo.create to of_memo.
cpu_dur l is the CPU time spanning from B00.Memo.create to of_memo.
jobs l is the maximal number of concurent spawns given to the build operation executor.
IO
bincode is a binary codec for logs.
write f l writes log l to file f.
read f read a log from file f.
Log formatters
pp_stats sel formats statistics stored in the log using query to select operations that are part of the statistics. If hashed_size the sum of the size of the files in file_hashes is computed (this accesses the file system in a non-fatal way in case of errors).
The type for output format.
val out :
Stdlib.Format.formatter ->
out_format ->
Arg.output_format ->
Op.query ->
path:B0_std.Fpath.t ->
t ->
unitout formats a log on the given formatter. path is used when `Path is requested.
Command line interface
out_format_cli ~docs () are mutually exclusive options to specify alternate output formats. docs is the manual section in which options are documented, defaults to s_output_format_options