Expand description
Macros for convenient chronograph span operations.
These macros provide ergonomic ways to interact with chronograph’s thread-local spans. They wrap the thread-local span functionality to make it easier to use in your code.
Macros§
- end_
span - End the current thread-local span, dropping it from memory.
- record_
instant - Record an instant datapoint in the current thread-local span.
- record_
unix_ time - Record a unix time datapoint in the current thread-local span.
- record_
value - Record a value datapoint in the current thread-local span.
- start_
span - Start a new thread-local span using the global chronograph.
- take_
span - Take the current thread-local span, leaving None in its place.