Home
last modified time | relevance | path

Searched refs:RET_FAIL (Results 1 – 14 of 14) sorted by relevance

/developtools/profiler/device/plugins/gpu_plugin/src/
Dgpu_data_plugin.cpp27 CHECK_TRUE(protoConfig_.ParseFromArray(configData, configSize) > 0, RET_FAIL, in Start()
37 return RET_FAIL; in Start()
83 return RET_FAIL; in ReadFile()
92 if (ret == RET_FAIL) { in WriteGpuDataInfo()
/developtools/profiler/device/plugins/diskio_plugin/src/
Ddiskio_data_plugin.cpp52 CHECK_NOTNULL(buffer_, RET_FAIL, "%s:malloc buffer_ failed!", __func__); in Start()
54 CHECK_TRUE(protoConfig_.ParseFromArray(configData, configSize) > 0, RET_FAIL, in Start()
121 …TRUE((fileName.length() < PATH_MAX) && (realpath(fileName.c_str(), realPath) != nullptr), RET_FAIL, in ReadFile()
127 return RET_FAIL; in ReadFile()
133 return RET_FAIL; in ReadFile()
140 return RET_FAIL; in ReadFile()
205 if (ret == RET_FAIL) { in WriteDiskioData()
/developtools/profiler/device/plugins/cpu_plugin/src/
Dcpu_data_plugin.cpp74 CHECK_NOTNULL(buffer_, RET_FAIL, "%s:malloc buffer_ failed!", __func__); in Start()
76 CHECK_TRUE(protoConfig_.ParseFromArray(configData, configSize) > 0, RET_FAIL, in Start()
85 return RET_FAIL; in Start()
184 return RET_FAIL; in ReadFile()
191 return RET_FAIL; in ReadFile()
201 return RET_FAIL; in ReadFile()
207 return RET_FAIL; in ReadFile()
214 return RET_FAIL; in ReadFile()
293 if (ret != RET_FAIL) { in GetCpuFrequency()
484 if (ret == RET_FAIL) { in WriteCpuUsageInfo()
[all …]
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp118 …printf_s(fileName, sizeof(fileName), sizeof(fileName) - 1, "%s/meminfo", testpath_) >= 0, RET_FAIL, in InitMemVmemFd()
125 return RET_FAIL; in InitMemVmemFd()
133 return RET_FAIL; in InitMemVmemFd()
140 …nprintf_s(fileName, sizeof(fileName), sizeof(fileName) - 1, "%s/vmstat", testpath_) >= 0, RET_FAIL, in InitMemVmemFd()
147 return RET_FAIL; in InitMemVmemFd()
155 return RET_FAIL; in InitMemVmemFd()
164 CHECK_NOTNULL(buffer_, RET_FAIL, "%s:buffer_ == null", __func__); in Start()
166 CHECK_TRUE(protoConfig_.ParseFromArray(configData, configSize) > 0, RET_FAIL, in Start()
169 CHECK_TRUE(InitMemVmemFd() == RET_SUCC, RET_FAIL, "InitMemVmemFd fail"); in Start()
173 … CHECK_TRUE((size_t)protoConfig_.sys_meminfo_counters(i) < meminfoStrList_.size(), RET_FAIL, in Start()
[all …]
/developtools/profiler/device/plugins/process_plugin/src/
Dprocess_data_plugin.cpp54 CHECK_NOTNULL(buffer_, RET_FAIL, "%s:buffer_ == null", __func__); in Start()
56 CHECK_TRUE(protoConfig_.ParseFromArray(configData, configSize) > 0, RET_FAIL, in Start()
143 return RET_FAIL; in ReadProcPidFile()
149 return RET_FAIL; in ReadProcPidFile()
155 return RET_FAIL; in ReadProcPidFile()
162 return RET_FAIL; in ReadProcPidFile()
264 if (ret == RET_FAIL) { in WriteProcessInfo()
/developtools/profiler/device/plugins/gpu_plugin/include/
Dgpu_data_plugin.h33 RET_FAIL = -1, enumerator
/developtools/profiler/device/plugins/diskio_plugin/include/
Ddiskio_data_plugin.h37 RET_FAIL = -1, enumerator
/developtools/profiler/device/plugins/process_plugin/include/
Dprocess_data_plugin.h40 RET_FAIL = -1, enumerator
/developtools/profiler/device/plugins/cpu_plugin/include/
Dcpu_data_plugin.h35 RET_FAIL = -1, enumerator
/developtools/profiler/device/plugins/gpu_plugin/test/unittest/
Dgpu_data_plugin_unittest.cpp191 …ECT_EQ(gpuPlugin->callbacks->onPluginSessionStart(configBuffer2.data(), configLength+1), RET_FAIL);
/developtools/profiler/device/plugins/diskio_plugin/test/unittest/
Ddiskio_data_plugin_unittest.cpp196 …_EQ(diskioPlugin->callbacks->onPluginSessionStart(configBuffer2.data(), configLength+1), RET_FAIL);
/developtools/profiler/device/plugins/process_plugin/test/unittest/
Dprocess_plugin_unittest.cpp408 …_EQ(processPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength+1), RET_FAIL);
/developtools/profiler/device/plugins/memory_plugin/include/
Dmemory_data_plugin.h250 RET_FAIL = -1, enumerator
/developtools/profiler/device/plugins/cpu_plugin/test/unittest/
Dcpu_data_plugin_unittest.cpp420 …PECT_EQ(cpuPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength+1), RET_FAIL);