package catapult
Tracing system based on the Catapult/TEF format
Install
Dune Dependency
Authors
Maintainers
Sources
v0.1.tar.gz
md5=a7bfa27c3ddd2d29c27173de09293149
sha512=49766ea38c57734918debd6218d95c62f11eb12a6fd3ef5f6a2c60344cea7c274436a46fab1e48abbe0d3f125f31705d2005ab7cae9e56d5f41778c1d2943d65
doc/catapult/Catapult/Tracing/index.html
Module Catapult.Tracing
Source
Profiling probes.
This is the main API. The user can insert probes into their code, and at runtime, these probes will use the Backend
(if present) to emit tracing events to be replayed later. If no backend is present, the probes will do nothing.
Source
type 'a emit_fun_base =
?cat:string list ->
?pid:int ->
?tid:int ->
?args:(string * arg) list ->
string ->
'a
Emitter function, without timestamp. See emit_fun
for more details.
An emitter function. The positional string argument is the name.
Function that can take a stack trace
Represents the beginning of a span, to emit compact spans
Is tracing enabled?
Emit a generic event.
Emit a "X" event with duration computed from the given span start
Emit a "B" event
Emit a "E" event
Emit a "X" event
Depending on the tracing backend, this needs to be called regularly to ensure background work is done.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>