diff --git a/Cargo.toml b/Cargo.toml index 4126c1a..1de8585 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bp3d-debug" -version = "1.0.0" +version = "1.0.1" authors = ["Yuri Edward "] edition = "2021" description = "Tracing subscriber implementations for use with BP3D software. Supports traditional logging through bp3d-logger and supports remote profiling through TCP." @@ -11,3 +11,6 @@ keywords = ["bp3d", "tracing"] categories = ["development-tools", "development-tools::debugging", "development-tools::profiling"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +bp3d-os = { version = "2.2.1", features = ["time"] } diff --git a/src/profiler/section.rs b/src/profiler/section.rs index a10baad..4fead04 100644 --- a/src/profiler/section.rs +++ b/src/profiler/section.rs @@ -30,7 +30,7 @@ use crate::field::FieldSet; use crate::util::Location; use std::num::NonZeroU32; use std::sync::OnceLock; -use std::time::Instant; +use bp3d_os::time::Instant; #[repr(u8)] #[derive(Debug, Copy, Clone, Eq, PartialEq)]