diff options
Diffstat (limited to 'src/runtime/stats/mock.rs')
-rw-r--r-- | src/runtime/stats/mock.rs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/runtime/stats/mock.rs b/src/runtime/stats/mock.rs deleted file mode 100644 index 3bda8bf..0000000 --- a/src/runtime/stats/mock.rs +++ /dev/null @@ -1,27 +0,0 @@ -//! This file contains mocks of the types in src/runtime/stats/stats.rs - -pub(crate) struct RuntimeStats {} - -impl RuntimeStats { - pub(crate) fn new(_worker_threads: usize) -> Self { - Self {} - } -} - -pub(crate) struct WorkerStatsBatcher {} - -impl WorkerStatsBatcher { - pub(crate) fn new(_my_index: usize) -> Self { - Self {} - } - - pub(crate) fn submit(&mut self, _to: &RuntimeStats) {} - - pub(crate) fn about_to_park(&mut self) {} - pub(crate) fn returned_from_park(&mut self) {} - - #[cfg(feature = "rt-multi-thread")] - pub(crate) fn incr_steal_count(&mut self, _by: u16) {} - - pub(crate) fn incr_poll_count(&mut self) {} -} |