mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-27 00:51:47 +00:00
告警清理
Signed-off-by: 15735105038 <chenmeng100@huawei.com>
This commit is contained in:
parent
e6cb1d135e
commit
bdc75797e3
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user