From 1ea972034ee5f93faef30eaae9cf04d5c258a061 Mon Sep 17 00:00:00 2001 From: taoxiangdong Date: Mon, 23 Nov 2020 14:25:54 +0800 Subject: [PATCH] update profilig --- ge/common/profiling/profiling_manager.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ge/common/profiling/profiling_manager.h b/ge/common/profiling/profiling_manager.h index 66cefc32..4af99412 100755 --- a/ge/common/profiling/profiling_manager.h +++ b/ge/common/profiling/profiling_manager.h @@ -135,6 +135,10 @@ class FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY ProfilingManager { map subs_dev_module_; // key: device_id, value: profiling on module uint32_t subscribe_count_; std::mutex mutex_; + struct MsprofCallback { + MsprofCtrlCallback msprofCtrlCallback; + MsprofReporterCallback msprofReporterCallback; + }; }; } // namespace ge #endif // GE_COMMON_PROFILING_PROFILING_MANAGER_H_