Home
last modified time | relevance | path

Searched refs:cpuId (Results 1 – 4 of 4) sorted by relevance

/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dcmd_dumper.cpp51 int cpuId = ptrDumpCfg_->args_->GetCpuId(); in PreExecute() local
52 ReplaceCpuIdInCmd(cmd, cpuId); in PreExecute()
176 void CMDDumper::ReplaceCpuIdInCmd(std::string &cmd, int cpuId) in ReplaceCpuIdInCmd() argument
180 cmd = cmd.replace(pos, strlen("%cpuid"), std::to_string(cpuId)); in ReplaceCpuIdInCmd()
/base/hiviewdfx/hitrace/frameworks/native/
Dhitracechainc.c39 uint64_t cpuId : 4; member
49 uint64_t cpuId : 4;
122 static unsigned int cpuId = 0; in HiTraceChainGetCpuId() local
123 cpuId++; in HiTraceChainGetCpuId()
125 return cpuId; in HiTraceChainGetCpuId()
138 chainId.cpuId = HiTraceChainGetCpuId(); in HiTraceChainCreateChainId()
/base/hiviewdfx/hidumper/services/native/src/
Ddump_common_utils.cpp51 std::string cpuId = name.substr(CPU_STR.size()); in GetCpuInfos() local
52 if (cpuId.empty() || (!IsNumericStr(cpuId))) { in GetCpuInfos()
56 StrToInt(cpuId, cpuInfo.id_); in GetCpuInfos()
/base/hiviewdfx/hidumper/frameworks/native/include/executor/
Dcmd_dumper.h36 void ReplaceCpuIdInCmd(std::string &cmd, int cpuId);