|
|
@@ -66,9 +66,12 @@ const std::string kIdx = "idx"; |
|
|
|
|
|
|
|
namespace ge { |
|
|
|
ProfilingManager::ProfilingManager() |
|
|
|
: is_load_profiling_(false), is_execute_profiling_(false), is_training_trace_(false), subscribe_count_(0) { |
|
|
|
prof_cb_.msprofCtrlCallback = nullptr; |
|
|
|
prof_cb_.msprofReporterCallback = nullptr; |
|
|
|
: is_load_profiling_(false), |
|
|
|
is_execute_profiling_(false), |
|
|
|
is_training_trace_(false), |
|
|
|
subscribe_count_(0), |
|
|
|
prof_cb_({nullptr, nullptr}), |
|
|
|
cur_iter_num_(INT64_MAX) { |
|
|
|
} |
|
|
|
|
|
|
|
ProfilingManager::~ProfilingManager() {} |
|
|
@@ -604,6 +607,7 @@ FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status ProfilingManager::ProfFi |
|
|
|
is_load_profiling_ = false; |
|
|
|
is_training_trace_ = false; |
|
|
|
is_execute_profiling_ = false; |
|
|
|
cur_iter_num_ = INT64_MAX; |
|
|
|
|
|
|
|
// profiling plugin uninit |
|
|
|
PluginUnInit(); |
|
|
|