Home
last modified time | relevance | path

Searched refs:totalDeltaTime (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dcpu_dumper.cpp250 …long unsigned totalDeltaTime = (curCPUInfo_->uTime + curCPUInfo_->nTime + curCPUInfo_->sTime + cur… in CreateCPUStatString() local
256 (curSpecProc_->uTime - oldSpecProc_->uTime) * HUNDRED_PERCENT_VALUE / totalDeltaTime; in CreateCPUStatString()
258 (curSpecProc_->sTime - oldSpecProc_->sTime) * HUNDRED_PERCENT_VALUE / totalDeltaTime; in CreateCPUStatString()
268 (curProcs_[i]->uTime - oldProc->uTime) * HUNDRED_PERCENT_VALUE / totalDeltaTime; in CreateCPUStatString()
270 (curProcs_[i]->sTime - oldProc->sTime) * HUNDRED_PERCENT_VALUE / totalDeltaTime; in CreateCPUStatString()
282 / totalDeltaTime; in CreateCPUStatString()
283 …sysSpaceUsage = (curCPUInfo_->sTime - oldCPUInfo_->sTime) * HUNDRED_PERCENT_VALUE / totalDeltaTime; in CreateCPUStatString()
284 … iowUsage = (curCPUInfo_->iowTime - oldCPUInfo_->iowTime) * HUNDRED_PERCENT_VALUE / totalDeltaTime; in CreateCPUStatString()
287 * HUNDRED_PERCENT_VALUE / totalDeltaTime; in CreateCPUStatString()
288 …ned idleUsage = (curCPUInfo_->iTime - oldCPUInfo_->iTime) * HUNDRED_PERCENT_VALUE / totalDeltaTime; in CreateCPUStatString()
/base/hiviewdfx/hidumper/frameworks/native/src/util/
Ddump_cpu_info_util.cpp326 …long unsigned totalDeltaTime = (curCPUInfo->uTime + curCPUInfo->nTime + curCPUInfo->sTime + curCPU… in GetCpuUsage() local
331 if (totalDeltaTime != 0) { in GetCpuUsage()
333 + (curSpecProc->sTime - oldSpecProc->sTime)) / static_cast<float>(totalDeltaTime); in GetCpuUsage()