package magic-trace
Collects and displays high-resolution traces of what a process is doing
Install
Dune Dependency
Authors
Maintainers
Sources
v1.0.1.tar.gz
sha256=77b2e4b3bc769910656d0fdee4839250548aa49486fd3554f6c057f1d64abe99
sha512=1f111db6348673c22a110611182a92c8aa999668dc077c44bc4abcaa72ccb197899ff2577047888627b50fcc9890824de6c82b4fe9f06129190b8b487ec3f716
doc/magic-trace.magic_trace_lib/Magic_trace_lib/Tracing_tool_output/index.html
Module Magic_trace_lib.Tracing_tool_output
Source
Offers configuration parameters for where to save a file and whether to serve it
Source
val write_and_maybe_view :
?num_temp_strs:int ->
t ->
f:(Tracing_zero.Writer.t -> 'a Async.Deferred.Or_error.t) ->
'a Async.Deferred.Or_error.t
After f
writes a trace, either hosts a Perfetto UI server for the resulting file or just saves it and prints a message about how to view the resulting trace.
It is the responsibility of f
to close the writer and Perfetto may fail to load the trace if the writer isn't closed.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>