oxilean_runtime/profiler/profilerconfig_traits.rs
1//! # ProfilerConfig - Trait Implementations
2//!
3//! This module contains trait implementations for `ProfilerConfig`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::ProfilerConfig;
12
13impl Default for ProfilerConfig {
14 fn default() -> Self {
15 Self {
16 event_profiling: false,
17 sampling_profiling: false,
18 sampling_interval_ns: 1_000_000,
19 max_events: 100_000,
20 track_gc: true,
21 track_allocs: true,
22 }
23 }
24}