Lines Matching refs:result
30 std::map<std::string, std::string> result;
40 result["gpuFrequency"] = std::to_string(freq);
41 result["gpuLoad"] = std::to_string(load);
42 if (result.find("gpuFrequency") != result.end() && result["gpuFrequency"].empty()) {
43 result["gpuFrequency"] = "NA";
44 result["gpuLoad"] = "NA";
46 LOGI("GPU::ItemData map size(%u)", result.size());
47 return result;
53 CollectResult<GpuFreq> result = collector->CollectGpuFrequency();
54 LOGI("GpuFrequency: %s", std::to_string(result.data.curFeq).c_str());
55 return result.data.curFeq;
61 CollectResult<SysGpuLoad> result = collector->CollectSysGpuLoad();
62 LOGI("SysGpuLoad: %s", std::to_string(result.data.gpuLoad).c_str());
63 return float(result.data.gpuLoad);