Added build type in trace metadata

This commit is contained in:
emeric
2024-03-15 23:23:12 +01:00
parent e37337a55c
commit fef4a90ce0
+8 -1
View File
@@ -182,7 +182,14 @@ namespace lms::core::tracing
os << std::endl; os << std::endl;
os << "\t]," << std::endl; os << "\t]," << std::endl;
os << "\t\"meta_cpu_count\" : " << std::thread::hardware_concurrency() << std::endl; os << "\t\"meta_cpu_count\" : " << std::thread::hardware_concurrency() << ", " << std::endl;
os << "\t\"meta_build_type\" : ";
#ifndef NDEBUG
os << "\"debug\"";
#else
os << "\"release\"";
#endif
os << std::endl;
os << "}" << std::endl; os << "}" << std::endl;
} }