Home
last modified time | relevance | path

Searched refs:cpuLoad (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/task/
H A Dcpu_collection_task.cpp92 double cpuLoad = processCpuStatInfo.data.cpuLoad; in CheckAndDumpTraceData() local
93 if (!item.hasOverThreshold && cpuLoad >= item.cpuLoadThreshold) { in CheckAndDumpTraceData()
94 HIVIEW_LOGI("over threshold, current cpu load:%{public}f", cpuLoad); in CheckAndDumpTraceData()
100 if (item.hasOverThreshold && cpuLoad < item.cpuLoadThreshold) { in CheckAndDumpTraceData()
H A Dcpu_perf_dump.cpp69 return info1.cpuLoad > info2.cpuLoad; in CompareCpuLoad()
104 sumCpuLoad += info.cpuLoad; in CheckAndDumpPerfData()
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/resource/
H A Dcpu.h59 double cpuLoad = 0; member
71 double cpuLoad = 0; member
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dthread_state_info_collector.cpp198 threadCpuStatInfo.cpuLoad = cpuCalculator_->CalculateCpuLoad(threadCpuItem->cpu_load_time, in CalculateThreadCpuStatInfo()
205 if (threadCpuStatInfo.cpuLoad >= 1) { // 1: max cpu load in CalculateThreadCpuStatInfo()
207 ", curr_load=%{public}" PRIu64, threadCpuStatInfo.cpuLoad, in CalculateThreadCpuStatInfo()
H A Dprocess_state_info_collector.cpp165 processCpuStatInfo.cpuLoad = cpuCalculator_->CalculateCpuLoad(procCpuItem->cpu_load_time, in CalculateProcessCpuStatInfo()
173 if (processCpuStatInfo.cpuLoad >= 1) { // 1: max cpu load in CalculateProcessCpuStatInfo()
175 … ", curr_load=%{public}" PRIu64, processCpuStatInfo.cpuLoad, processCpuStatInfo.procName.c_str(), in CalculateProcessCpuStatInfo()
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/storage/
H A Dcpu_storage.cpp68 return cpuCollectionInfo.cpuLoad >= storeFilteringThresholdOfCpuLoad; in IsValidCpuLoad()
73 return cpuCollectionInfo.cpuLoad == 0; in IsInvalidCpuLoad()
325 bucket.PutDouble(COLUMN_CPU_LOAD, TruncateDecimalWithNBitPrecision(cpuCollectionInfo.cpuLoad)); in StoreProcessData()
342 bucket.PutDouble(COLUMN_CPU_LOAD, TruncateDecimalWithNBitPrecision(cpuCollection.cpuLoad)); in StoreThreadData()
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dtrace_utils.cpp369 HIVIEW_LOGI("first get cpu load %{public}f", collectResult.data.cpuLoad); in CheckCurrentCpuLoad()
371 while (collectResult.data.cpuLoad > CPU_LOAD_THRESHOLD && retryTime < MAX_TRY_COUNT) { in CheckCurrentCpuLoad()
374 HIVIEW_LOGI("retry get cpu load %{public}f", collectResult.data.cpuLoad); in CheckCurrentCpuLoad()
/ohos5.0/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/
H A Dcpu_collector_test.cpp166 std::cout << "proc.cpuLoad=" << collectResult.data.cpuLoad << std::endl;
175 ASSERT_GE(collectResult.data.cpuLoad, 0);