Searched refs:subscriber (Results 1 – 4 of 4) sorted by relevance
63 [Initialize](https://docs.rs/tracing/latest/tracing/index.html#in-executables) the subscriber67 // Initialize the subscriber, panic if it fails.73 The subscriber defaults to `AtraceTag::App`. Use other tags by creating the subscriber with76 You can combine the subscriber with other77 [layers](https://docs.rs/tracing-subscriber/latest/tracing_subscriber/layer/index.html). In104 [tracing-subscriber](https://docs.rs/tracing-subscriber/latest/tracing_subscriber/index.html)119 ### Tracing subscriber121 The subscriber uses the bindings and adds its own overhead that depends on usage:123 * With tracing disabled and subscriber created `with_filter`, events cost around 30 ns. Not using
30 let subscriber = tracing_subscriber::registry().with(AtraceSubscriber::default()); in bench_with_subscriber() localVariable31 tracing::subscriber::with_default(subscriber, || { in bench_with_subscriber()40 let subscriber = tracing_subscriber::registry().with(AtraceSubscriber::default().with_filter()); in bench_with_filtering_subscriber() localVariable41 tracing::subscriber::with_default(subscriber, || { in bench_with_filtering_subscriber()
19 ### ATrace tracing subscriber benchmark21 There is a benchmark for the tracing crate subscriber - `libatrace_tracing_subscriber_benchmark`.24 Similarly to the wrapper benchmarks, the subscriber is measured with tracing off and on. There are26 `filtered_` measure the subscriber in filtering mode with tracing disabled.79 ### ATrace tracing subscriber81 The tracing subscriber time consists of the underlying `libatrace_rust` call plus the time spent in82 the subscriber itself.
80 ) -> tracing::subscriber::Interest { in register_callsite()86 tracing::subscriber::Interest::sometimes() in register_callsite()89 tracing::subscriber::Interest::always() in register_callsite()361 let _subscriber_guard = tracing::subscriber::set_default( in emits_span_begin()393 let _subscriber_guard = tracing::subscriber::set_default( in emits_span_end()446 let _subscriber_guard = tracing::subscriber::set_default( in span_begin_end_is_ordered()481 let _subscriber_guard = tracing::subscriber::set_default( in emits_instant_event()512 let _subscriber_guard = tracing::subscriber::set_default( in formats_event_without_message_with_fields_disabled()543 let _subscriber_guard = tracing::subscriber::set_default( in formats_event_without_message_with_fields_enabled()588 let _subscriber_guard = tracing::subscriber::set_default( in can_set_tag()[all …]