告警清理

Signed-off-by: 15735105038 <chenmeng100@huawei.com>
This commit is contained in:
15735105038 2024-05-21 14:22:16 +08:00
parent e6cb1d135e
commit bdc75797e3

View File

@ -203,8 +203,8 @@ std::string SmartPerfCommand::ExecCommand()
if (callGpuCounterResult) {
int i = 0;
std::map<std::string, std::string> data = GpuCounter::GetInstance().ItemData();
for (const auto& a = data.begin(); a != data.end(); ++a) {
const std::map<std::string, std::string> data = GpuCounter::GetInstance().ItemData();
for (auto a = data.cbegin(); a != data.cend(); ++a) {
printf("order:%d %s=%s\n", i++, a->first.c_str(), a->second.c_str());
}