parallel_processor/
lib.rs1#![cfg_attr(test, feature(type_alias_impl_trait))]
2#![cfg_attr(debug_assertions, deny(warnings))]
3
4#[macro_use]
5pub extern crate mt_debug_counters;
6
7pub use mt_debug_counters::logging::enable_counters_logging;
8
9#[macro_use]
10pub mod memory_fs;
11pub mod buckets;
12pub mod debug_allocator;
13pub mod execution_manager;
14pub mod fast_smart_bucket_sort;
15#[macro_use]
16mod logging;
17pub mod memory_data_size;
18pub mod phase_times_monitor;
19pub mod scheduler;
20pub mod utils;
21
22pub use logging::{set_logger_function, LogLevel};
23
24#[cfg(feature = "process-stats")]
25pub mod simple_process_stats;
26
27pub struct Utils {}
28
29impl Utils {
30 pub fn multiply_by(val: usize, mult: f64) -> usize {
31 ((val as f64) * mult) as usize
32 }
33}