/developtools/profiler/device/plugins/gpu_plugin/src/ |
D | gpu_data_plugin.cpp | 27 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/ |
D | diskio_data_plugin.cpp | 52 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/ |
D | cpu_data_plugin.cpp | 74 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/ |
D | memory_data_plugin.cpp | 118 …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/ |
D | process_data_plugin.cpp | 54 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/ |
D | gpu_data_plugin.h | 33 RET_FAIL = -1, enumerator
|
/developtools/profiler/device/plugins/diskio_plugin/include/ |
D | diskio_data_plugin.h | 37 RET_FAIL = -1, enumerator
|
/developtools/profiler/device/plugins/process_plugin/include/ |
D | process_data_plugin.h | 40 RET_FAIL = -1, enumerator
|
/developtools/profiler/device/plugins/cpu_plugin/include/ |
D | cpu_data_plugin.h | 35 RET_FAIL = -1, enumerator
|
/developtools/profiler/device/plugins/gpu_plugin/test/unittest/ |
D | gpu_data_plugin_unittest.cpp | 191 …ECT_EQ(gpuPlugin->callbacks->onPluginSessionStart(configBuffer2.data(), configLength+1), RET_FAIL);
|
/developtools/profiler/device/plugins/diskio_plugin/test/unittest/ |
D | diskio_data_plugin_unittest.cpp | 196 …_EQ(diskioPlugin->callbacks->onPluginSessionStart(configBuffer2.data(), configLength+1), RET_FAIL);
|
/developtools/profiler/device/plugins/process_plugin/test/unittest/ |
D | process_plugin_unittest.cpp | 408 …_EQ(processPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength+1), RET_FAIL);
|
/developtools/profiler/device/plugins/memory_plugin/include/ |
D | memory_data_plugin.h | 250 RET_FAIL = -1, enumerator
|
/developtools/profiler/device/plugins/cpu_plugin/test/unittest/ |
D | cpu_data_plugin_unittest.cpp | 420 …PECT_EQ(cpuPlugin->callbacks->onPluginSessionStart(configBuffer.data(), configLength+1), RET_FAIL);
|