#[doc(hidden)]
#[macro_export]
macro_rules! debug_stopwatch {
($($arg:tt)+) => {
local_async_utils::debug_stopwatch!(local_async_utils::millisec!(1), $($arg)+)
};
}
#[doc(hidden)]
#[macro_export]
macro_rules! trace_stopwatch {
($($arg:tt)+) => {
local_async_utils::trace_stopwatch!(std::time::Duration::ZERO, $($arg)+)
};
}
#[doc(hidden)]
#[macro_export]
macro_rules! info_stopwatch {
($($arg:tt)+) => {
local_async_utils::info_stopwatch!(local_async_utils::millisec!(1), $($arg)+)
};
}
#[doc(hidden)]
#[macro_export]
macro_rules! warn_stopwatch {
($($arg:tt)+) => {
local_async_utils::warn_stopwatch!(local_async_utils::sec!(1), $($arg)+)
};
}
#[doc(hidden)]
#[macro_export]
macro_rules! error_stopwatch {
($($arg:tt)+) => {
local_async_utils::error_stopwatch!(local_async_utils::sec!(10), $($arg)+)
};
}