pub struct ProfilerConfig {
pub level: ProfilingLevel,
pub enable_memory_profiling: bool,
pub enable_gpu_profiling: bool,
pub enable_system_metrics: bool,
pub enable_call_stack: bool,
pub max_session_duration: Option<u64>,
pub metrics_buffer_size: usize,
pub sampling_rate: f64,
pub export_chrome_trace: bool,
pub export_tensorboard: bool,
pub export_json: bool,
}Expand description
Profiler configuration プロファイラー設定
Fields§
§level: ProfilingLevelProfiling level プロファイリングレベル
enable_memory_profiling: boolEnable memory profiling メモリプロファイリングを有効化
enable_gpu_profiling: boolEnable GPU profiling GPUプロファイリングを有効化
enable_system_metrics: boolEnable system metrics システムメトリクスを有効化
enable_call_stack: boolEnable call stack tracking コールスタックトラッキングを有効化
max_session_duration: Option<u64>Maximum profiling session duration (seconds) 最大プロファイリングセッション時間(秒)
metrics_buffer_size: usizeBuffer size for metrics collection メトリクス収集用バッファサイズ
sampling_rate: f64Sampling rate for continuous monitoring (Hz) 連続監視のサンプリングレート(Hz)
export_chrome_trace: boolExport format options エクスポート形式オプション
export_tensorboard: boolExport to TensorBoard format TensorBoard形式にエクスポート
export_json: boolExport to JSON format JSON形式にエクスポート
Trait Implementations§
Source§impl Clone for ProfilerConfig
impl Clone for ProfilerConfig
Source§fn clone(&self) -> ProfilerConfig
fn clone(&self) -> ProfilerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProfilerConfig
impl Debug for ProfilerConfig
Source§impl Default for ProfilerConfig
impl Default for ProfilerConfig
Source§impl From<TrainingConfig> for ProfilerConfig
Convert TrainingConfig to ProfilerConfig for integration
impl From<TrainingConfig> for ProfilerConfig
Convert TrainingConfig to ProfilerConfig for integration
Source§fn from(config: TrainingConfig) -> Self
fn from(config: TrainingConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProfilerConfig
impl RefUnwindSafe for ProfilerConfig
impl Send for ProfilerConfig
impl Sync for ProfilerConfig
impl Unpin for ProfilerConfig
impl UnwindSafe for ProfilerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more