Updated everything and output a trace.

This commit is contained in:
Nicolas Patry
2023-11-07 21:06:20 +01:00
parent 76d3116f5d
commit 0c24a885a6
8 changed files with 249 additions and 88 deletions

View File

@ -238,13 +238,16 @@ fn main() -> anyhow::Result<()> {
} else {
Some(args.temperature)
};
let _guard = if args.tracing {
let (chrome_layer, guard) = ChromeLayerBuilder::new().build();
tracing_subscriber::registry().with(chrome_layer).init();
Some(guard)
} else {
None
};
tracing_subscriber::fmt::init();
// let _guard = if args.tracing {
// // let (chrome_layer, guard) = ChromeLayerBuilder::new().build();
// // tracing_subscriber::registry().with(chrome_layer).init();
// tracing_subscriber::fmt::init();
// None
// // Some(guard)
// } else {
// None
// };
println!(
"avx: {}, neon: {}, simd128: {}, f16c: {}",