Searched refs:CommonUtil (Results 1 - 8 of 8) sorted by relevance
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
H A D | gpu_collector_impl.cpp | 40 gpuFreq.curFeq = CommonUtil::ReadNodeWithOnlyNumber(GPU_CUR_FREQ);
in CollectGpuFrequency() 41 gpuFreq.maxFeq = CommonUtil::ReadNodeWithOnlyNumber(GPU_MAX_FREQ);
in CollectGpuFrequency() 42 gpuFreq.minFeq = CommonUtil::ReadNodeWithOnlyNumber(GPU_MIN_FREQ);
in CollectGpuFrequency() 53 sysGpuLoad.gpuLoad = CommonUtil::ReadNodeWithOnlyNumber(GPU_LOAD);
in CollectSysGpuLoad()
|
H A D | common_util.cpp | 29 DEFINE_LOG_TAG("UCollectUtil-CommonUtil");
33 template <typename T> bool CommonUtil::StrToNum(const std::string &sString, T &tX)
in StrToNum() 39 bool CommonUtil::ParseTypeAndValue(const std::string &str, std::string &type, int32_t &value)
in ParseTypeAndValue() 61 void CommonUtil::GetDirRegexFiles(const std::string& path, const std::string& pattern,
in GetDirRegexFiles() 82 int CommonUtil::GetFileNameNum(const std::string& fileName, const std::string& ext)
in GetFileNameNum() 99 std::string CommonUtil::CreateExportFile(const std::string& path, int32_t maxFileNum, const std::string& prefix,
in CreateExportFile() 133 int32_t CommonUtil::ReadNodeWithOnlyNumber(const std::string& fileName)
in ReadNodeWithOnlyNumber()
|
H A D | thermal_collector_impl.cpp | 53 return CommonUtil::ReadNodeWithOnlyNumber(thermalZone + "/temp"); in GetThermalValue()
|
H A D | process_collector_impl.cpp | 115 filePath = CommonUtil::CreateExportFile(PROCESS_COLLECTOT_DIR, MAX_FILE_NUM, PREFIX, SUFFIX); in ExportMemCgProcesses()
|
H A D | wm_collector_impl.cpp | 44 return CommonUtil::CreateExportFile(COLLECTION_WM_PATH, MAX_FILE_NUM, filePrefix, ext); in CreateExportFileName()
|
H A D | memory_collector_impl.cpp | 291 if (CommonUtil::ParseTypeAndValue(str, attrName, value)) {
in InitSmapsOfProcessMemory() 305 if (!CommonUtil::StrToNum(content, memory.adj)) {
in InitAdjOfProcessMemory() 386 if (CommonUtil::ParseTypeAndValue(str, attrName, value)) {
in CollectSysMemory()
|
H A D | io_collector_impl.cpp | 103 if (CommonUtil::ParseTypeAndValue(str, type, value)) {
in CollectProcessIo()
|
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility/ |
H A D | common_util.h | 36 class CommonUtil {
class 38 CommonUtil() = default;
39 ~CommonUtil() = default;
50 }; // CommonUtil
|
Completed in 5 milliseconds