To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
Library
Module
Module type
Parameter
Class
Class type
The magic-trace tool can work with any binary, but using these functions allows you to easily mark places in your code to take a snapshot, and enables additional features like passing a value and marking the start of a duration.
This is the default symbol that the magic-trace command will attach to and use to take a snapshot. Use it if you want to take a snapshot based on custom logic, and it will save you the step of selecting the symbol you want to stop on.
It's an external C function that does nothing and should be very fast to call. It's only a C function to ensure it has a stable and exact symbol.
Passes an integer along that will show up in the resulting trace
val take_snapshot_with_time_and_arg : Time_stamp_counter.t -> int -> unit
Passes both the start tsc for the operation and an argument.
module Min_duration : sig ... end
Intended for use like so:
module Private : sig ... end
Internal details about how to interact with the snapshot function from outside