Commit c24c5388 authored by Sven Liefgen's avatar Sven Liefgen
Browse files

Add single kind mapper

parent 14b3fe8e
......@@ -200,6 +200,18 @@ macro_rules! map_kind {
}
}
#[macro_export]
macro_rules! kind {
( $kind:expr ) => {
{
#[cfg(feature = "xlap")]
$kind
#[cfg(not(feature = "xlap"))]
$crate::Kind::NoKind
}
}
}
#[cfg(feature = "xlap")]
pub unsafe fn init() {
ZERO = Some(Instant::now());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment