Searched refs:cpuLoad (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/task/ |
H A D | cpu_collection_task.cpp | 92 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 D | cpu_perf_dump.cpp | 69 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 D | cpu.h | 59 double cpuLoad = 0; member 71 double cpuLoad = 0; member
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
H A D | thread_state_info_collector.cpp | 198 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 D | process_state_info_collector.cpp | 165 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 D | cpu_storage.cpp | 68 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 D | trace_utils.cpp | 369 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 D | cpu_collector_test.cpp | 166 std::cout << "proc.cpuLoad=" << collectResult.data.cpuLoad << std::endl; 175 ASSERT_GE(collectResult.data.cpuLoad, 0);
|