Expand description
Internal implementation.
Macros§
- duration
- Convenience macro for the
duration
function that can be used to trace the duration of a scope. If you need finer grained control over when a duration starts and stops, seeduration_begin
andduration_end
. - instant
- Convenience macro for the
instant
function.
Enums§
- Scope
Scope
represents the scope of a trace event.
Traits§
- ArgValue
- A trait for types that can be the values of an argument set.
Functions§
- category_
context - Checks for [
CACHE
] to see if the trace category is enabled. - duration
- Writes a duration event which ends when the current scope exits, or the
end
method is manually called. - instant
- Writes an instant event representing a single moment in time.
The number of
args
must not be greater than 15.