Home
last modified time | relevance | path

Searched refs:CommonUtil (Results 1 - 8 of 8) sorted by relevance

/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dgpu_collector_impl.cpp40 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 Dcommon_util.cpp29 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 Dthermal_collector_impl.cpp53 return CommonUtil::ReadNodeWithOnlyNumber(thermalZone + "/temp"); in GetThermalValue()
H A Dprocess_collector_impl.cpp115 filePath = CommonUtil::CreateExportFile(PROCESS_COLLECTOT_DIR, MAX_FILE_NUM, PREFIX, SUFFIX); in ExportMemCgProcesses()
H A Dwm_collector_impl.cpp44 return CommonUtil::CreateExportFile(COLLECTION_WM_PATH, MAX_FILE_NUM, filePrefix, ext); in CreateExportFileName()
H A Dmemory_collector_impl.cpp291 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 Dio_collector_impl.cpp103 if (CommonUtil::ParseTypeAndValue(str, type, value)) { in CollectProcessIo()
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility/
H A Dcommon_util.h36 class CommonUtil { class
38 CommonUtil() = default;
39 ~CommonUtil() = default;
50 }; // CommonUtil

Completed in 5 milliseconds