let settings = settings::Settings::read(consts::FILE_CONF).expect("Cannot load settings");
println!("Settings: {settings:?}");
- let mut machine: &mut dyn machine::Machine = &mut machine::MachineJiji::new();
+ let machine: &mut dyn machine::Machine = &mut machine::MachineJiji::new();
let mut kernel = [0f32; consts::KERNEL_SIZE_SAMPLES];
let mut current_pos = 0usize;
if completed.load(Ordering::Relaxed) {
break;
}
+
let time_beginning_loop = time::Instant::now();
let temp = (machine.get_cpu_tmp() + machine.get_gpu_tmp()) / 2f32;