| /developtools/hiperf/test/unittest/common/native/ |
| D | cpu_usage_test.cpp | 197 float cpuUsage = 0.0; in GetAverageCpuUsage() local 202 cpuUsage += GetCpuUsageRatio(pid); in GetAverageCpuUsage() 209 cpuUsage = HUNDRED * cpuUsage / count; in GetAverageCpuUsage() 210 return cpuUsage; in GetAverageCpuUsage() 225 float cpuUsage = GetAverageCpuUsage(pid, timeOut); variable 226 EXPECT_LE(cpuUsage, F100_FP_CPU_LIMIT_SYSTEM); 241 float cpuUsage = GetAverageCpuUsage(pid, timeOut); variable 242 EXPECT_LE(cpuUsage, F500_FP_CPU_LIMIT_SYSTEM); 257 float cpuUsage = GetAverageCpuUsage(pid, timeOut); variable 258 EXPECT_LE(cpuUsage, F1000_FP_CPU_LIMIT_SYSTEM); [all …]
|
| /developtools/smartperf_host/ide/test/trace/bean/ |
| D | CpuUsage.test.ts | 20 let cpuUsage = new CpuUsage(); variable 24 cpuUsage = { 38 expect(cpuUsage).not.toBeUndefined(); 39 expect(cpuUsage).toMatchInlineSnapshot( 71 cpuUsage = { 78 expect(cpuUsage).toMatchInlineSnapshot(
|
| /developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/ |
| D | htrace_cpu_data_parser.cpp | 44 auto cpuUsage = std::make_unique<TsCpuData>(); in Parse() local 46 cpuUsage->SetCpuUsage(ts); in Parse() 47 cpuUsage->SetExtInfo(cpuData.total_load(), userLoad, sysLoad, process_num); in Parse() 48 cpuData_.push_back(std::move(cpuUsage)); in Parse()
|
| /developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_pbreader_parser/ |
| D | htrace_cpu_data_parser.cpp | 45 auto cpuUsage = std::make_unique<TsCpuData>(); in Parse() local 47 cpuUsage->SetCpuUsage(ts); in Parse() 48 cpuUsage->SetExtInfo(cpuData.total_load(), userLoad, sysLoad, process_num); in Parse() 49 cpuData_.push_back(std::move(cpuUsage)); in Parse()
|
| /developtools/smartperf_host/ide/test/trace/component/trace/ |
| D | TimerShaftElement.test.ts | 74 timerShaftElement.cpuUsage = 'cpuUsage'; 78 timerShaftElement.rangeRuler.cpuUsage = jest.fn(() => true); 79 expect(timerShaftElement.cpuUsage).toBeUndefined(); 200 timerShaftElement.rangeRuler.cpuUsage = jest.fn(() => true); 201 expect(timerShaftElement.cpuUsage).toBe(undefined);
|
| /developtools/smartperf_host/ide/test/trace/database/ui-worker/ |
| D | ProcedureWorkerTimeline.test.ts | 127 rangeRuler.cpuUsage = true; 128 expect(rangeRuler.cpuUsage).toBeUndefined();
|
| /developtools/profiler/device/plugins/process_plugin/test/unittest/ |
| D | process_plugin_unittest.cpp | 55 double cpuUsage; member 165 double cpuUsage = static_cast<double>(cpuTimeMs) / bootTime * PERCENT; in GetCpuData() local 166 cpuDataVec.push_back({cpuUsage, 1, cpuTimeMs}); in GetCpuData() 232 EXPECT_FLOAT_EQ(cpuInfo.cpu_usage(), cpuDataVec[i].cpuUsage); 327 EXPECT_FLOAT_EQ(cpuInfo.cpu_usage(), cpuDataVec[i].cpuUsage);
|
| /developtools/profiler/device/plugins/cpu_plugin/test/unittest/ |
| D | cpu_data_plugin_unittest.cpp | 236 void GetCpuUsage(TestCpuUsage& cpuUsage, int64_t Hz) in GetCpuUsage() argument 243 cpuUsage.userLoad = (static_cast<double>(userTime) / bootTime) * PERCENT; in GetCpuUsage() 244 cpuUsage.sysLoad = (static_cast<double>(sysTime) / bootTime) * PERCENT; in GetCpuUsage() 245 cpuUsage.totalLoad = (static_cast<double>(totalTime) / bootTime) * PERCENT; in GetCpuUsage() 294 TestCpuUsage cpuUsage; variable 300 GetCpuUsage(cpuUsage, Hz); 310 EXPECT_FLOAT_EQ(cpuData.user_load(), cpuUsage.userLoad); 311 EXPECT_FLOAT_EQ(cpuData.sys_load(), cpuUsage.sysLoad); 312 EXPECT_FLOAT_EQ(cpuData.total_load(), cpuUsage.totalLoad);
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/trace/ |
| D | TimerShaftElement.ts | 141 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) { method in TimerShaftElement 145 this.rangeRuler.cpuUsage = this._cpuUsage; 192 this.rangeRuler.cpuUsage = [];
|
| /developtools/smartperf_host/ide/src/trace/component/trace/ |
| D | TimerShaftElement.ts | 141 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) { method in TimerShaftElement 145 this.rangeRuler.cpuUsage = this._cpuUsage; 192 this.rangeRuler.cpuUsage = [];
|
| /developtools/smartperf_host/ide/test/trace/database/logic-worker/ |
| D | ProcedureLogicWorkerSchedulingAnalysis.test.ts | 70 let cpuUsage = new CpuUsage(); variable 71 expect(cpuUsage).not.toBeUndefined();
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/chart/ |
| D | SpChartManager.ts | 196 if (this.trace.timerShaftEL) this.trace.timerShaftEL.cpuUsage = rates;
|
| /developtools/smartperf_host/ide/test/trace/component/trace/timer-shaft/ |
| D | RangeRuler.test.ts | 58 rangeRuler.cpuUsage = [
|
| /developtools/smartperf_host/ide/src/trace/component/chart/ |
| D | SpChartManager.ts | 210 if (this.trace.timerShaftEL) this.trace.timerShaftEL.cpuUsage = rates;
|
| /developtools/profiler/hidebug/interfaces/js/kits/napi/ |
| D | napi_hidebug.cpp | 404 double cpuUsage = double(tmpCpuUsage); in GetCpuUsage() local 405 napi_create_double(env, cpuUsage, &cpuUsageValue); in GetCpuUsage()
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/trace/timer-shaft/ |
| D | RangeRuler.ts | 144 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) { method in RangeRuler
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorkerTimeline.ts | 454 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) {
|
| /developtools/profiler/host/smartperf/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorkerTimeline.ts | 454 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) {
|
| /developtools/profiler/host/smartperf/ide/src/trace/component/ |
| D | SpRecyclerSystemTrace.ts | 347 if (this.timerShaftEL) this.timerShaftEL.cpuUsage = rates;
|
| /developtools/smartperf_host/ide/src/trace/component/ |
| D | SpRecyclerSystemTrace.ts | 347 if (this.timerShaftEL) this.timerShaftEL.cpuUsage = rates;
|
| /developtools/smartperf_host/trace_streamer/test/unittest/ |
| D | table_test.cpp | 707 double cpuUsage = 1; variable 715 … parentProcessID, uid, userName, cpuUsage, pssInfo,
|
| /developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/ |
| D | RangeRuler.ts | 153 set cpuUsage(value: Array<{ cpu: number; ro: number; rate: number }>) { method in RangeRuler
|
| /developtools/profiler/host/smartperf/trace_streamer/src/trace_data/ |
| D | trace_stdtype.cpp | 1225 double cpuUsage, in AppendNewData() argument 1239 cpuUsage_.emplace_back(cpuUsage); in AppendNewData()
|
| D | trace_stdtype.h | 1213 double cpuUsage,
|
| /developtools/smartperf_host/trace_streamer/src/trace_data/ |
| D | trace_stdtype.cpp | 1232 double cpuUsage, in AppendNewData() argument 1246 cpuUsage_.emplace_back(cpuUsage); in AppendNewData()
|