package tracing
Tracing library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=5621f8fd41d64521cc88295417e48174f525a7e6e4f8a72885ba89056d461a72
doc/tracing.tool_output/Tracing_tool_output/index.html
Module Tracing_tool_output
Source
Offers configuration parameters for where to save a file and whether to serve it
Source
val write_and_view :
?num_temp_strs:int ->
t ->
default_name:string ->
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)"
>