all_the_time 0.4.15

Processor time tracking utilities for benchmarks and performance analysis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Platform abstraction layer for processor time tracking.
//!
//! This module provides a platform abstraction that allows switching between
//! real processor time tracking (using the `cpu_time` package) and fake implementations
//! for testing purposes.

mod abstractions;
mod facade;
#[cfg(test)]
mod fake;
mod real;

pub(crate) use abstractions::*;
pub(crate) use facade::*;
#[cfg(test)]
pub(crate) use fake::*;