mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +00:00
17 lines
328 B
Rust
17 lines
328 B
Rust
use serde::{Serialize, Deserialize};
|
|
|
|
#[derive(Clone, Debug, Serialize, Deserialize)]
|
|
#[serde(default)]
|
|
pub struct CpuPinningConfig {
|
|
pub active: bool,
|
|
pub offset: usize,
|
|
}
|
|
|
|
impl Default for CpuPinningConfig {
|
|
fn default() -> Self {
|
|
Self {
|
|
active: false,
|
|
offset: 0,
|
|
}
|
|
}
|
|
}
|