diff --git a/src/core/src/pass/manager.cpp b/src/core/src/pass/manager.cpp index 793e8b24edcf2e..82445ec39cf4e0 100644 --- a/src/core/src/pass/manager.cpp +++ b/src/core/src/pass/manager.cpp @@ -115,7 +115,7 @@ class Profiler { public: explicit Profiler(std::string manager_name) : m_visualize("OV_ENABLE_VISUALIZE_TRACING"), m_serialize("OV_ENABLE_SERIALIZE_PASS"), - m_profile_pass("OV_ENABLE_PROFILE_PASS", true), + m_profile_pass("OV_ENABLE_PROFILE_PASS"), m_manager_name(std::move(manager_name)) { if (m_profile_pass.is_enabled() && !m_profile_pass.is_bool()) { m_file.open(m_profile_pass.get_str(), std::ios_base::app); @@ -155,11 +155,12 @@ class Profiler { std::cout << name << " " << stopwatch.get_milliseconds() << "ms " << (applied ? "+": "-") << std::endl; } else if (m_file.is_open()){ if (is_pass_manager) { - m_file << "m;"; + m_file << "m;" << name << ";" << stopwatch.get_timer_value().count() + << ";" << (applied ? "1;" : "0;") << std::endl; } else { - m_file << "t;"; - } - m_file << name << ";" << stopwatch.get_timer_value().count() << ";" << (applied ? "1;" : "0;") << std::endl; + m_file << "t;" << name << ";" << m_manager_name << ";" + << stopwatch.get_timer_value().count() << ";" + << (applied ? "1" : "0") << ";" << std::endl; } else { // error? }